[PATCH] D39854: [DWARFv5] Support FORM_strp in .debug_line.dwo
Paul Robinson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 14 14:50:01 PST 2017
probinson updated this revision to Diff 122917.
probinson added a comment.
Use address-size zero for the DWARFDataExtractor, in the .dwo section.
This required relaxing an assertion in the line-table parser. If there's no line-number program, the address size isn't needed, and if there is one, attempting to retrieve an address will assert farther down.
Technically we can derive the address size from the line-number program, but I wanted to leave that for the next patch.
https://reviews.llvm.org/D39854
Files:
llvm/lib/DebugInfo/DWARF/DWARFContext.cpp
llvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp
llvm/test/DebugInfo/X86/dwarfdump-header.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39854.122917.patch
Type: text/x-patch
Size: 11207 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171114/f01febde/attachment.bin>
More information about the llvm-commits
mailing list