Skip to content

[5.0] KeyPaths: Don't relative-reference selector refs. #21776

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

Conversation

jckarter
Copy link
Contributor

ld64 doesn't like this. Instead, generate a stub function to grab the instantiated selector. Fixes rdar://problem/47184763.

Reviewed by @slavapestov. This is an additive ABI break—it will require a new Swift runtime to work with code compiled by a new compiler with this change; however, existing Swift binaries will continue to work and interoperate with new binaries built after this change (assuming they didn't fall prey to the linker bugs we're working around here).

ld64 doesn't like this. Instead, generate a stub function to grab the instantiated selector. Fixes rdar://problem/47184763.
@jckarter jckarter requested a review from a team as a code owner January 10, 2019 23:04
@jckarter
Copy link
Contributor Author

@swift-ci Please test

@jckarter
Copy link
Contributor Author

@swift-ci Please test source compatibility

@AnnaZaks AnnaZaks merged commit cf15027 into swiftlang:swift-5.0-branch Jan 11, 2019
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