[PATCH] D55109: [LLD][ELF] - Improve the DWARF v5 suport for building .gdb_index.
George Rimar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 30 02:09:55 PST 2018
grimar created this revision.
grimar added a reviewer: ruiu.
Herald added subscribers: arphaman, JDevlieghere, arichardson, aprantl, emaste.
Herald added a reviewer: espindola.
Now LLD might build the broken/incomplete .gdb_index when some DWARF v5
sections (like .debug_rnglists and .debug_addr) are used.
Particularly, for the case above, we emit an empty address area.
A test case is provided and patch fixes the issue.
https://reviews.llvm.org/D55109
Files:
ELF/DWARF.cpp
ELF/DWARF.h
test/ELF/gdb-index-rng-lists.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D55109.176058.patch
Type: text/x-patch
Size: 10775 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181130/058da0e9/attachment.bin>
More information about the llvm-commits
mailing list