Skip to content

IRGen: do not use WeakImport on PE/COFF #24263

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
Apr 25, 2019
Merged

Conversation

compnerd
Copy link
Member

PE/COFF does not provide weak import semantics. Fallback to strong
import semantics on PE/COFF.

Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.

Resolves SR-NNNN.

PE/COFF does not provide weak import semantics.  Fallback to strong
import semantics on PE/COFF.
@compnerd
Copy link
Member Author

CC: @bob-wilson @jrose-apple

@compnerd
Copy link
Member Author

@swift-ci please test

@compnerd compnerd merged commit bad5b58 into swiftlang:master Apr 25, 2019
@compnerd compnerd deleted the weakness branch April 25, 2019 14:46
@jrose-apple
Copy link
Contributor

I guess we're not planning to use that sort of backwards-deployment model for PE/COFF anyway, but we might need an alternative at some point. (Or maybe we'll be able to eliminate -autolink-force-load.)

@bob-wilson
Copy link
Contributor

Thanks, @compnerd. I'll pull this over to the 5.1 and 5.1-04-24 branches, too.

@bob-wilson
Copy link
Contributor

5.1: #24273
5.1-04-24: My PR isn't merged yet, so I included this change in #24259

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