[llvm] [llvm][tools] Add debug map support llvm-dwarfdump (PR #199133)
Dave Lee via llvm-commits
llvm-commits at lists.llvm.org
Fri May 22 10:11:18 PDT 2026
kastiglione wrote:
@JDevlieghere it's been a while since I've looked at dsymutil code, and I don't know if I've spent any time with its debug map functionality, but my initial opinion is that it isn't a good candidate for reuse for this change.
The `DebugMap` seems architected to dsymutil's needs which are of course different (more?) than dwarfdump. For example it provides mapping between the symbol addresses in the object file to their linked address in the linked binary. This seems unnecessary for dwarfdump. Looking at `MachODebugMapParser`, contains a lot of state.
Having said that, I know you've spent much more time with dsymutil, so I'm guessing you might have been prompting me to a direction you'd like to see taken.
https://github.com/llvm/llvm-project/pull/199133
More information about the llvm-commits
mailing list