Skip to content

Define SWIFT_INLINE_NAMESPACE for swiftDemangling inclusions. (master-next) #1024

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

allevato
Copy link
Member

@allevato allevato commented Apr 3, 2020

(Cherry-pick of #1023 from swift/master.)

swiftlang/swift#30733 will begin requiring
this in a change that allows the swiftDemangling symbols to be
conditionally renamed using an inline namespace so that compiler
and runtime symbols don't collide if statically linked in the
same binary.

The namespace compiler was chosen for lldb since that's what
would have been used if its build was properly inheriting the
public definition from the Swift CMake target.

swiftlang/swift#30733 will begin requiring
this in a change that allows the swiftDemangling symbols to be
conditionally renamed using an inline namespace so that compiler
and runtime symbols don't collide if statically linked in the
same binary.

The namespace `compiler` was chosen for lldb since that's what
would have been used if its build was properly inheriting the
public definition from the Swift CMake target.
@allevato
Copy link
Member Author

allevato commented Apr 3, 2020

cc @comperd @JDevlieghere @adrian-prantl

@compnerd
Copy link
Member

compnerd commented Apr 3, 2020

@swift-ci please test

@compnerd
Copy link
Member

compnerd commented Apr 3, 2020

@swift-ci please clean test

@compnerd
Copy link
Member

compnerd commented Apr 9, 2020

@swift-ci please test

@JDevlieghere JDevlieghere merged commit 38572b9 into swiftlang:swift/master-next May 29, 2020
@allevato allevato deleted the swift-demangling-dep-master-next branch May 29, 2020 19:37
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.

3 participants