Skip to content

Conversation

@aelovikov-intel
Copy link
Contributor

@aelovikov-intel aelovikov-intel commented Nov 25, 2024

These are used internally in the DSO and don't need to be exposed outside.

OSUtil::getDirName will become static inside single TU under the -fpreview-breaking-changes flag and private for the time being without the flag (to make sure no new uses will be added outside the TU).

OSUtil::getCurrentDSODir is used in several TUs, so simply make it __SYCL_DLL_LOCAL to remove from exported symbols during the next ABI-breaking window.

…ng-changes`

These are used internally in the DSO and don't need to be exposed
outside.

`OSUtil::getDirName` can be `static` will become static inside single TU
under the `-fprivew-...` flag and `private` for the time being without
the flag (to make sure no new uses will be added outside the TU).

`OSUtil::getCurrentDSODir` is used in several TUs, so simply make it
`__SYCL_DLL_LOCAL` to remove from exported symbols during the next
ABI-breaking window.
@maarquitos14
Copy link
Contributor

PR looks good. Can we just update the description to have -fpreview-breaking-changes instead of -fprivew-...? If I remember correctly, the PR description will be the commit message after merge.

@aelovikov-intel aelovikov-intel merged commit 8255502 into intel:sycl Nov 26, 2024
13 checks passed
@aelovikov-intel aelovikov-intel deleted the cxx11abi-osutil branch November 26, 2024 19:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants