llvm-dwarfdump: Support multiple debug_loclists contributions
authorDavid Blaikie <dblaikie@gmail.com>
Wed, 9 Oct 2019 21:25:28 +0000 (21:25 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Wed, 9 Oct 2019 21:25:28 +0000 (21:25 +0000)
commit411497c6c714d43f30c6942ca0e98ecc0e800744
tree6d26285a6b6ba61b09de045f956ebebe8133eb71
parent745e57c5939e289789b9171e118b09c3c59c572a
llvm-dwarfdump: Support multiple debug_loclists contributions

Also fixing the incorrect "offset" field being computed/printed for each
location list.

llvm-svn: 374232
llvm/include/llvm/DebugInfo/DWARF/DWARFDebugLoc.h
llvm/lib/DebugInfo/DWARF/DWARFContext.cpp
llvm/lib/DebugInfo/DWARF/DWARFDebugLoc.cpp
llvm/test/CodeGen/X86/debug-loclists.ll
llvm/test/DebugInfo/X86/dwarfdump-debug-loclists.test
llvm/test/tools/llvm-dwarfdump/X86/debug_loclists_multiple.s [new file with mode: 0644]
llvm/test/tools/llvm-dwarfdump/X86/debug_loclists_startx_length.s