[llvm] Add support for verifying .debug_names in split DWARF for CUs and TUs. (PR #101775)
Pavel Labath via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 5 04:30:07 PDT 2024
labath wrote:
When I've needed to do that, I just created wrote the dwp section in assembly, the format is pretty simple, so you could probably just take an existing asm output from clang and slap a debug_[ct]u_index section at the back. You can use an existing DWP test as a template (e.g. test/DebugInfo/X86/dwp-v5-tu.s)
Generally I'd recommend assembly instead of yaml as test sources, because they're easier to read in a code review (i.e., without running the input through `yaml2obj|dwarfdump`)
https://github.com/llvm/llvm-project/pull/101775
More information about the llvm-commits
mailing list