-
Notifications
You must be signed in to change notification settings - Fork 13.4k
[DebugInfo] Declarations show up in debug-names when TUs are used #78367
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
Comments
cc @dwblaikie @clayborg @ayermolo for visibility |
@llvm/issue-subscribers-debuginfo Author: Felipe de Azevedo Piovezan (felipepiovezan)
We are adding _declarations_ of types to debug-names when type units are involved:
For example:
Compiling with:
We see:
I can't explain why this second entry is added. Looking at the debug-info section, the offset
But declarations are not supposed to show up in debug-names... Originally posted by @felipepiovezan in #77457 (comment) |
Duplicate of #77696 |
We are adding declarations of types to debug-names when type units are involved:
For example:
Compiling with:
We see:
I can't explain why this second entry is added. Looking at the debug-info section, the offset
0x34
is an offset to the declaration inside the CU:But declarations are not supposed to show up in debug-names...
Originally posted by @felipepiovezan in #77457 (comment)
The text was updated successfully, but these errors were encountered: