Skip to content

Conversation

artemcm
Copy link
Contributor

@artemcm artemcm commented Apr 6, 2023

Cherry-pick of: #1325

Unless we are building a static library, we need to propagate -fsanitizer= flag to the clang linker driver, otherwise sanitizers libraries will not be found at link-time.

Resolves rdar://107733898

…for dynamic libraries

Unless we are building a static library, we need to propagate `-fsanitizer=` flag to the clang linker driver, otherwise sanitizers libraries will not be found at link-time.

Resolves rdar://107733898
@artemcm artemcm requested a review from nkcsgexi April 6, 2023 23:58
@artemcm
Copy link
Contributor Author

artemcm commented Apr 6, 2023

@swift-ci test

@artemcm artemcm merged commit f602d24 into swiftlang:release/5.9 Apr 7, 2023
@artemcm artemcm deleted the 59SanitizersForAll_dylibs branch April 7, 2023 19:21
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