Skip to content

IRGen: rework linking against CxxStdlib #67776

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
Aug 8, 2023

Conversation

compnerd
Copy link
Member

@compnerd compnerd commented Aug 7, 2023

Rewrite the handling for the CxxStdlib implicit linking to use a slightly more functional style for filtering. Additionally, add Windows to the list providing the overlay. The Windows linking scenario is a slightly more complicated as the library names differ between static and dynamic variants to disambiguate between import libraries and static libraries. Take this into account when embedding the library name so that the linker can find the appropriate content.

@compnerd
Copy link
Member Author

compnerd commented Aug 7, 2023

CC: @egorzhdan @hyp

@compnerd
Copy link
Member Author

compnerd commented Aug 7, 2023

@swift-ci please test

@compnerd
Copy link
Member Author

compnerd commented Aug 7, 2023

@swift-ci please test

@compnerd compnerd requested a review from zoecarver as a code owner August 8, 2023 13:55
@compnerd
Copy link
Member Author

compnerd commented Aug 8, 2023

@swift-ci please test Windows platform

Rewrite the handling for the `CxxStdlib` implicit linking to use a
slightly more functional style for filtering.  Additionally, add Windows
to the list providing the overlay.  The Windows linking scenario is a
slightly more complicated as the library names differ between static and
dynamic variants to disambiguate between import libraries and static
libraries.  Take this into account when embedding the library name so
that the linker can find the appropriate content.
@compnerd
Copy link
Member Author

compnerd commented Aug 8, 2023

@swift-ci please test Windows platform

@compnerd
Copy link
Member Author

compnerd commented Aug 8, 2023

@swift-ci please smoke test macOS platform

@compnerd
Copy link
Member Author

compnerd commented Aug 8, 2023

@swift-ci please smoke test Linux platform

@compnerd compnerd merged commit d1b63d6 into swiftlang:main Aug 8, 2023
@compnerd compnerd deleted the the-missing-link branch August 8, 2023 22:08
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