Skip to content

Fix wrong -Xlinker propagation to Clang with WebAssembly #1538

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

Conversation

kateinoigakukun
Copy link
Member

The -Xlinker values should be passed to Clang with -Xlinker but it was not done for WebAssembly. This patch fixes it by factoring out the common logic for processing -Xlinker and -Xclang-linker options and using it in all toolchains.

The `-Xlinker` values should be passed to Clang with `-Xlinker` but it
was not done for WebAssembly. This patch fixes it by factoring out the
common logic for processing `-Xlinker` and `-Xclang-linker` options and
using it in all toolchains.
@kateinoigakukun
Copy link
Member Author

@swift-ci Please test

Copy link
Contributor

@artemcm artemcm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@kateinoigakukun kateinoigakukun merged commit f902c2a into swiftlang:main Feb 2, 2024
@kateinoigakukun kateinoigakukun deleted the yt/fix-wasm-clang-linker branch February 2, 2024 21:01
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