[PATCH] D118521: [GSYM] Add Split Dwarf Support to DwarfTransformer
Greg Clayton via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 31 13:48:45 PST 2022
clayborg added a comment.
So we need a test for this. All we need to do is to create a .o file with .dwo sections inlined into it and then test that we can successfully run llvm-gsymutil on it. So if we can get a .o file with .dwo inlined, then we run obj2yaml and verify that yaml2obj successfully reconstructs the .o file intact (hoping that obj2yaml handles all DWARF sections including the ones for .dwo), then we can make a test case very similar to this one:
llvm/test/tools/llvm-gsymutil/X86/elf-dwarf.yaml
This test has the yaml inlined into it and then runs FileCheck on the resulting llvm-gsymutil invocations.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D118521/new/
https://reviews.llvm.org/D118521
More information about the llvm-commits
mailing list