-
Notifications
You must be signed in to change notification settings - Fork 10.5k
[build] hide some symbols in LLVMSupport #31951
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
Reintroduce some changes done in swiftlang#23131 to hide some weak symbols generated when compiling as part of libswiftDemangle.dylib, which may introduce a performance regression. Addresses rdar://63454568
@swift-ci please test |
Can you explain why this is suddenly an issue? These did not change their annotation across the version, so why did they suddenly become an issue? I think that using the |
I think that a different change will be better using CMake to handle the problem. But it still doesn't explain why this wasn't an issue before. |
#31953 should accomplish this in a more stable and platform agnostic manner. Could you please help answer the question of why its needed and what performance regression you believe that this is causing? |
Sorry, replied at the same time you asked your questions. We have some internal checks that ensure we have no weak symbol exports on dylibs, since they can cause launch time regression in applications. To the best of my understanding, before #31665 Thanks a lot for #31953 -- I will study and experiment with this change. |
Oh! Thank you, now it all makes sense. It didn't cause a performance regression, just triggered a test case failure - one that Id argue should just be in tree. |
Build failed |
Build failed |
Reintroduce some changes done in #23131 to hide some weak symbols
generated when compiling as part of libswiftDemangle.dylib -- doing so will avoid a performance regression.
Addresses rdar://63454568