[PATCH] D36313: [llvm-dwarfdump] - Print section name and index when dumping .debug_info ranges

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 9 02:35:30 PDT 2017


grimar updated this revision to Diff 110338.
grimar added a comment.

Changed inplementation.

- Do not print section/index when -brief=true
- Do not print section index when name is unique.

I am not sure last one worth all the code complication it requires, 
I would probably just pring section index always. Though
such approach has its own benefits, so I think I am fine with it.


https://reviews.llvm.org/D36313

Files:
  include/llvm/DebugInfo/DWARF/DWARFObject.h
  lib/DebugInfo/DWARF/DWARFContext.cpp
  lib/DebugInfo/DWARF/DWARFDebugRangeList.cpp
  lib/DebugInfo/DWARF/DWARFDie.cpp
  test/DebugInfo/X86/dwarfdump-ranges-unrelocated.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D36313.110338.patch
Type: text/x-patch
Size: 8168 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170809/df266372/attachment.bin>


More information about the llvm-commits mailing list