Skip to content
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

[6.1] SIL: Revert public linkage for @_silgen_name forward declarations #78245

Merged

Conversation

tshortli
Copy link
Contributor

@tshortli tshortli commented Dec 17, 2024

It turns out that the stdlib build depends on `internal` functions with
`@_silgen_name` getting hidden linkage in some configurations. Instead of
messing with the linkage computation, just fix the `stdlib/Error.swift` test by
making `setWillThrowHandler` `public` to give it the right linkage.

Resolves rdar://141590619.
@tshortli tshortli requested a review from a team as a code owner December 17, 2024 16:43
@tshortli tshortli changed the title SIL: Revert public linkage for @_silgen_name forward declarations. [6.1] SIL: Revert public linkage for @_silgen_name forward declarations Dec 17, 2024
@tshortli
Copy link
Contributor Author

@swift-ci please test

@tshortli tshortli enabled auto-merge December 17, 2024 18:14
@tshortli tshortli merged commit 89619f4 into swiftlang:release/6.1 Dec 17, 2024
5 checks passed
@tshortli tshortli deleted the revert-silgen-name-public-linkage-6.1 branch December 18, 2024 18: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.

2 participants