[PATCH] D42937: [DWARF] Make llvm-dwp handle DWARF v5 string offsets tables and indexed strings.
Wolfgang Pieb via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 14 18:15:42 PST 2018
wolfgangp updated this revision to Diff 134350.
wolfgangp added a comment.
Changed the test (string_offsets.test) to perform the 2 tests independently (instead of the second test depending on the result of the first). Added a hand-constructed dwp file to serve as input to test case 2. It has a mix of v5 and v4 units, type units to make sure the reference strings correctly and has the string offsets table contributions in a different order than the order in which the CUs appear in the index table.
I'm still producing the dwo files from IR, I could turn those into assembly files as well, if that's preferable.
https://reviews.llvm.org/D42937
Files:
test/tools/llvm-dwp/Inputs/string_offsets/a.ll
test/tools/llvm-dwp/Inputs/string_offsets/b.ll
test/tools/llvm-dwp/Inputs/string_offsets/c.ll
test/tools/llvm-dwp/Inputs/string_offsets/mixed_dwp.s
test/tools/llvm-dwp/X86/dwp-string-offsets-invalid-1.s
test/tools/llvm-dwp/X86/dwp-string-offsets-invalid-2.s
test/tools/llvm-dwp/X86/dwp-string-offsets-invalid-3.s
test/tools/llvm-dwp/X86/dwp-string-offsets-invalid-4.s
test/tools/llvm-dwp/X86/invalid_string_form.test
test/tools/llvm-dwp/X86/string_offsets.test
tools/llvm-dwp/llvm-dwp.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42937.134350.patch
Type: text/x-patch
Size: 46827 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180215/5c781e70/attachment.bin>
More information about the llvm-commits
mailing list