[llvm] [DebugInfo] Emit linkage name into DWARF for types for Swift (PR #112802)
Augusto Noronha via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 18 11:07:52 PDT 2024
augusto2112 wrote:
> Out of curiosity: what's the need/use case?
To expand a bit on this: the Swift compiler emits _only_ the type mangled name in debug information, and LLDB uses those mangled names as keys to look up size, alignment, fields, etc from either reflection metadata or Swift modules.
The compiler also have a separate mode where it emits more full debug information so LLDB doesn't need to rely on in reflection metadata/Swift modules existing (that's related to my other "number of extra inhabitants" patch).
https://github.com/llvm/llvm-project/pull/112802
More information about the llvm-commits
mailing list