Skip to content

[DebugInfo] Emit alternative module name in debug info #9563

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

Open
wants to merge 3 commits into
base: stable/20240723
Choose a base branch
from

Conversation

augusto2112
Copy link

To support Swift types defined with @_originallyDefinedIn, we need to encode the ABI module name in debug info somehow. This patch adds a new alternative_module_name to LLVM IR and DWARF to encode that information.

To support Swift types defined with @_originallyDefinedIn, we need to
encode the ABI module name in debug info somehow. This patch adds a new
alternative_module_name to LLVM IR and DWARF to encode that
information.
…vm#113007)

Swift types have mangled type names. This adds functionality to look up
those types through the FindTypes API by searching for the mangled type
name instead of the regular name.
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