[PATCH] D43366: [DWARF v5] Supporting verbose dumping of .dbg_rnglist entries

Wolfgang Pieb via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 28 16:31:32 PST 2018


wolfgangp updated this revision to Diff 136425.
wolfgangp marked 6 inline comments as done.
wolfgangp added a comment.

Addressing review comments: The dump routine(s) are using DIDumpOptions more consistently. Added a "DisplayRawContents" flag to DIDumpOptions and using it to inform DWARFAddressRange to either display a range as an interval or print its contents as is.

Removed the constructor for RangeListEntry and used brace-initializer syntax instead.

Aligned the printed range entries for better readability.


https://reviews.llvm.org/D43366

Files:
  include/llvm/BinaryFormat/Dwarf.h
  include/llvm/DebugInfo/DIContext.h
  include/llvm/DebugInfo/DWARF/DWARFAddressRange.h
  include/llvm/DebugInfo/DWARF/DWARFDebugRnglists.h
  lib/BinaryFormat/Dwarf.cpp
  lib/DebugInfo/DWARF/DWARFAddressRange.cpp
  lib/DebugInfo/DWARF/DWARFContext.cpp
  lib/DebugInfo/DWARF/DWARFDebugRnglists.cpp
  test/tools/llvm-dwarfdump/X86/Inputs/debug_rnglists_DWARF64.s
  test/tools/llvm-dwarfdump/X86/debug_rnglists.s
  test/tools/llvm-dwarfdump/X86/debug_rnglists_invalid.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43366.136425.patch
Type: text/x-patch
Size: 21405 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180301/52642761/attachment-0001.bin>


More information about the llvm-commits mailing list