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

Account for different module ABI name when reconstructing a type #73291

Merged
merged 1 commit into from Apr 29, 2024

Conversation

augusto2112
Copy link
Contributor

(cherry picked from commit 04034d5)

Explanation: A type's mangled name will store the module's ABI name, not the module's regular name. When reconstructing a type from a mangled name, the demangler needs to take that into account, and look up the module by both it's ABI name and regular name, otherwise type reconstruction will fail for types defined outside of the current module.
Scope: Small.
Issue: rdar://126953614
Original PRs: #73264
Risk: Low, affects type reconstruction of modules that use the -module-abi-name flag.

A type's mangled name will store the module's ABI name, not the module's
regular name. When reconstructing a type from a mangled name, the
demangler needs to take that into account.

rdar://126953614
(cherry picked from commit 04034d5)
@augusto2112 augusto2112 requested a review from a team as a code owner April 26, 2024 16:59
@augusto2112
Copy link
Contributor Author

@swift-ci test

@augusto2112 augusto2112 merged commit 763421c into apple:release/6.0 Apr 29, 2024
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.

None yet

2 participants