[Lldb-commits] [PATCH] D40539: Allow using the object file name for debug symbol resolution
Adrian Prantl via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Tue Nov 28 09:01:44 PST 2017
aprantl added a comment.
yaml2obj sounds generally like a good solution. I should note that right now yaml2obj is only used/tested for the (narrow) use-case of testing the linker. For creating debug-info-related testcases, I found it both to high and too low an abstraction. Too low, because it currently forces you to manually specify details such as Mach-O load commands, and cannot calculate offsets itself (you really want some kind of label support), too high, because it can for example only synthesize DWARF4 headers in debug info sections. For this reason we often went with assembler instead of yaml for llvm-dwarfdump tests. None of the problems I mentioned should be unsurmountable, but the tool needs some love in order to make it useful for each specific use-case.
https://reviews.llvm.org/D40539
More information about the lldb-commits
mailing list