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.
Paths
| Differential D55109
[LLD][ELF] - Improve the DWARF v5 suport for building .gdb_index. ClosedPublic Authored by grimar on Nov 30 2018, 2:09 AM.
Details Summary Now LLD might build the broken/incomplete .gdb_index when some DWARF v5 Particularly, for the case above, we emit an empty address area.
Diff Detail Event TimelineHerald added subscribers: arphaman, JDevlieghere, arichardson and 2 others. · View Herald Transcript This revision is now accepted and ready to land.Nov 30 2018, 9:13 AM Closed by commit rL348119: [LLD][ELF] - Improve the DWARF v5 suport for building .gdb_index. (authored by grimar). · Explain WhyDec 3 2018, 2:52 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 176058 ELF/DWARF.h
ELF/DWARF.cpp
test/ELF/gdb-index-rng-lists.s
|