-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Support a package SILLinkage #71083
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
Support a package SILLinkage #71083
Conversation
@swift-ci smoke test |
1 similar comment
@swift-ci smoke test |
@swift-ci smoke test |
1 similar comment
@swift-ci smoke test |
@swift-ci smoke test |
fd29f75
to
005d1ba
Compare
@swift-ci test source compatibility |
1 similar comment
@swift-ci test source compatibility |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The SIL part LGTM!
@swift-ci test source compatibility |
Decls with a package access level are currently set to public SIL linkages. This limits the ability to have more fine-grained control and optimize around resilience and serialization. This PR introduces a separate SIL linkage and FormalLinkage for package decls, pipes them down to IRGen, and updates linkage checks at call sites to include package linkage. Resolves rdar://121409846
@swift-ci test source compatibility |
1 similar comment
@swift-ci test source compatibility |
@swift-ci smoke test |
CI source compat suite failure below is a known issue on main branch (#71423) / rdar://122427719 and is unrelated to this PR.
https://ci.swift.org/job/swift-PR-source-compat-suite-debug-macos/1378/console |
Decls with a package access level are currently set to public SIL linkages. This limits the ability to have more fine-grained control and optimize around resilience and serialization.
This PR introduces a separate SIL linkage and FormalLinkage for package decls, pipes them down to IRGen, and updates linkage checks to include package linkage.
Resolves rdar://121409846