[llvm-dwarfdump] - Add the support of parsing .debug_loclists.
authorGeorge Rimar <grimar@accesssoftek.com>
Mon, 22 Oct 2018 11:30:54 +0000 (11:30 +0000)
committerGeorge Rimar <grimar@accesssoftek.com>
Mon, 22 Oct 2018 11:30:54 +0000 (11:30 +0000)
commit4c7dd9cf0ad5d4de0281205c3e1017d21dbb6ba1
tree719ad1ae6ab2a3cb7da279518aea4669494ae8a8
parent674581afbbd180745474adf0dcfebfd97e62dde7
[llvm-dwarfdump] - Add the support of parsing .debug_loclists.

This teaches llvm-dwarfdump to dump the content of .debug_loclists sections.

It converts the DWARFDebugLocDWO class to DWARFDebugLoclists,
teaches llvm-dwarfdump about .debug_loclists section and
adds the implementation for parsing the DW_LLE_offset_pair entries.

Differential revision: https://reviews.llvm.org/D53364

llvm-svn: 344895
llvm/include/llvm/BinaryFormat/Dwarf.def
llvm/include/llvm/DebugInfo/DWARF/DWARFContext.h
llvm/include/llvm/DebugInfo/DWARF/DWARFDebugLoc.h
llvm/include/llvm/DebugInfo/DWARF/DWARFObject.h
llvm/lib/DebugInfo/DWARF/DWARFContext.cpp
llvm/lib/DebugInfo/DWARF/DWARFDebugLoc.cpp
llvm/lib/DebugInfo/DWARF/DWARFDie.cpp
llvm/test/DebugInfo/X86/dwarfdump-debug-loclists.test [new file with mode: 0644]