Skip to content

[embedded] Don't emit extensions to API descriptor under Embedded Swift, avoid compiler crash #78986

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 2 commits into from
Jan 31, 2025

Conversation

kubamracek
Copy link
Contributor

The attached test case shows a crash of the compiler when using -emit-api-descriptor / -emit-api-descriptor-path under Embedded Swift. Fix is to avoid adding protocol witness tables or protocol conformance descriptors into the symbol list when compiling under Embedded Swift.

@kubamracek
Copy link
Contributor Author

@swift-ci please test

@kubamracek
Copy link
Contributor Author

@swift-ci please test

@kubamracek kubamracek requested a review from tshortli January 30, 2025 17:51
@kubamracek kubamracek merged commit fd9777e into swiftlang:main Jan 31, 2025
5 checks passed
@kubamracek
Copy link
Contributor Author

Accidentally clicked "merge" -- my apologies! :)

Reverting here: #79082

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.

1 participant