Skip to content

IRGen: apply IR linkage to trivial property descriptors #21720

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
Jan 9, 2019

Conversation

compnerd
Copy link
Member

@compnerd compnerd commented Jan 8, 2019

This ensures that the trivial property descriptors is externally
accessible on targets like Windows which does not export symbols by
default. Thanks to Joe Groff for the pointer about the global aliases
for trivial property descriptors!

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

Resolves SR-NNNN.

@compnerd
Copy link
Member Author

compnerd commented Jan 8, 2019

CC: @jckarter

@compnerd
Copy link
Member Author

compnerd commented Jan 8, 2019

@swift-ci please test

Copy link
Contributor

@jckarter jckarter left a comment

Choose a reason for hiding this comment

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

Looks good, thanks!

@swift-ci
Copy link
Contributor

swift-ci commented Jan 8, 2019

Build failed
Swift Test Linux Platform
Git Sha - 800bec551d580cfeec2a6f165769299e8cf2d5fb

@compnerd
Copy link
Member Author

compnerd commented Jan 9, 2019

@swift-ci please test Linux platform

@slavapestov
Copy link
Contributor

This needs a testcase

@compnerd
Copy link
Member Author

compnerd commented Jan 9, 2019

@slavapestov hmm, I can add a separate test case for this, but the existing test cases cover this.

This ensures that the trivial property descriptors is externally
accessible on targets like Windows which does not export symbols by
default.  Thanks to Joe Groff for the pointer about the global aliases
for trivial property descriptors!
@compnerd compnerd force-pushed the trivial-property-descriptors branch from 800bec5 to fc86d09 Compare January 9, 2019 20:55
@compnerd
Copy link
Member Author

compnerd commented Jan 9, 2019

@swift-ci please test and merge

@swift-ci swift-ci merged commit a779f9b into swiftlang:master Jan 9, 2019
@compnerd compnerd deleted the trivial-property-descriptors branch January 10, 2019 01:36
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.

4 participants