Skip to content

Sema: Lift restriction preventing use of #_hasSymbol on non-Darwin-platforms #62329

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

Merged
merged 1 commit into from
Dec 1, 2022

Conversation

tshortli
Copy link
Contributor

An early approach to codegen for #_hasSymbol relied on the Darwin platfom SDK, but now that the feature lowers directly to NULL checks in LLVM IR a platform restriction is no longer needed.

However, the tests for #_hasSymbol remain unsupported on Windows since that OS does not support weak linking.

…platforms.

An early approach to codegen for `#_hasSymbol` relied on the Darwin platfom SDK, but now that the feature lowers directly to NULL checks in LLVM IR a platform restriction is no longer needed.

However, the tests for `#_hasSymbol` remain unsupported on Windows since that OS does not support weak linking.
@tshortli
Copy link
Contributor Author

@swift-ci please test

@tshortli tshortli merged commit 0aa39e3 into swiftlang:main Dec 1, 2022
@tshortli tshortli deleted the allow-has-symbol-on-linux branch December 1, 2022 06:39
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.

1 participant