[PATCH] D53364: [llvm-dwarfdump] - Add the support of parsing .debug_loclists.

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 17 03:59:15 PDT 2018


grimar created this revision.
grimar added reviewers: dblaikie, aprantl, echristo, probinson.
Herald added a subscriber: JDevlieghere.
grimar added a dependent revision: D53365: [Codegen] - Implement basic .debug_loclists section emission (DWARF5)..

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.


https://reviews.llvm.org/D53364

Files:
  include/llvm/BinaryFormat/Dwarf.def
  include/llvm/DebugInfo/DWARF/DWARFContext.h
  include/llvm/DebugInfo/DWARF/DWARFDebugLoc.h
  include/llvm/DebugInfo/DWARF/DWARFObject.h
  lib/DebugInfo/DWARF/DWARFContext.cpp
  lib/DebugInfo/DWARF/DWARFDebugLoc.cpp
  lib/DebugInfo/DWARF/DWARFDie.cpp
  test/DebugInfo/X86/dwarfdump-debug-loclists.test

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53364.169985.patch
Type: text/x-patch
Size: 18665 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181017/f62525f4/attachment.bin>


More information about the llvm-commits mailing list