[PATCH] D68271: DWARFDebugLoclists: Make it possible to read relocated addresses
Pavel Labath via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 1 07:28:42 PDT 2019
labath created this revision.
labath added reviewers: JDevlieghere, dblaikie, probinson.
Herald added a subscriber: aprantl.
Herald added a project: LLVM.
Handling relocations was not needed when the loclists section was a
DWO-only thing. But since DWARF5, it is possible to use it in regular
objects too, and the standard permits embedding addresses into the
section directly. These addresses need to be relocated in unlinked
files.
Repository:
rL LLVM
https://reviews.llvm.org/D68271
Files:
include/llvm/DebugInfo/DWARF/DWARFDebugLoc.h
lib/DebugInfo/DWARF/DWARFContext.cpp
lib/DebugInfo/DWARF/DWARFDebugLoc.cpp
lib/DebugInfo/DWARF/DWARFDie.cpp
test/tools/llvm-dwarfdump/X86/debug_loclists.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68271.222608.patch
Type: text/x-patch
Size: 5995 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191001/c9baeeb0/attachment-0001.bin>
More information about the llvm-commits
mailing list