Skip to content

[Mangling] Fix Runtime Attribute mangling #63396

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
Feb 4, 2023

Conversation

Azoy
Copy link
Contributor

@Azoy Azoy commented Feb 2, 2023

Instead of unconditionally appending "vp" (which means a variable), use the correct mangling for all entities that can be represented by this attribute. Also, while we're here let's shift some things around to better match current other manglings.

@Azoy Azoy requested a review from xedin February 2, 2023 22:59
@Azoy
Copy link
Contributor Author

Azoy commented Feb 2, 2023

@swift-ci please smoke test

@Azoy Azoy force-pushed the fix-runtime-attrs-mangling branch from c78bd08 to c2f8223 Compare February 2, 2023 23:03
@Azoy
Copy link
Contributor Author

Azoy commented Feb 2, 2023

@swift-ci please smoke test

Copy link
Contributor

@xedin xedin left a comment

Choose a reason for hiding this comment

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

LGTM! You'll also have to change all the IRGen/SIL tests because they use old manglings in a lot of places.

@Azoy
Copy link
Contributor Author

Azoy commented Feb 3, 2023

Argh, you're right. Thanks!

@ktoso
Copy link
Contributor

ktoso commented Feb 3, 2023

Would you mind giving me a ping when you merge so I can update #63364? :-)

@Azoy Azoy force-pushed the fix-runtime-attrs-mangling branch from c2f8223 to 1535f30 Compare February 3, 2023 21:27
@Azoy
Copy link
Contributor Author

Azoy commented Feb 3, 2023

@swift-ci please smoke test and merge

@swift-ci swift-ci merged commit 07ad2b6 into swiftlang:main Feb 4, 2023
@Azoy Azoy deleted the fix-runtime-attrs-mangling branch February 4, 2023 00:48
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