Skip to content

[Test] Fix assertion failure building demangleToMetadata.swift. #77444

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
Nov 7, 2024

Conversation

mikeash
Copy link
Contributor

@mikeash mikeash commented Nov 7, 2024

The direct call to _getTypeByMangledName made the compiler angry when doing an optimizd simulator build. Instead, use _typeByName with a string that has an embedded NUL to achieve the same effect.

rdar://139264622

The direct call to _getTypeByMangledName made the compiler angry when doing an optimizd simulator build. Instead, use _typeByName with a string that has an embedded NUL to achieve the same effect.

rdar://139264622
@mikeash mikeash requested a review from rjmccall as a code owner November 7, 2024 01:50
@mikeash
Copy link
Contributor Author

mikeash commented Nov 7, 2024

@swift-ci please test

@mikeash mikeash enabled auto-merge November 7, 2024 01:51
@mikeash mikeash merged commit cd79938 into swiftlang:main Nov 7, 2024
4 of 5 checks passed
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