[llvm] [llvm][dsymutil] Use the DW_AT_name of the uniqued DIE for insertion into .debug_names (PR #168513)

Michael Buch via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 18 05:11:47 PST 2025


Michael137 wrote:

FYI, @dwblaikie, this is the issue that originally motivated us to look into https://github.com/llvm/llvm-project/pull/159592

dsymutil uses the linkage name for uniquing, so we end up with a DW_AT_name mismatch due to anonymous lambdas having the file/column location in their names. If we continue only uniquing by linkage name, then we'll have to make sure dsymutil updates debug_names appropriately (which I try to do in this patch). Though would still be good to remove the file/column info from names anyway. But from what I can tell, the real issue lies in dsymutil.

https://github.com/llvm/llvm-project/pull/168513


More information about the llvm-commits mailing list