[PATCH] D38282: llvm-dwarfdump: implement --find=<name>

Adrian Prantl via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 26 15:31:19 PDT 2017


aprantl created this revision.

This patch implements the dwarfdump option --find=<name>.
This option looks for a DIE in the accelerator tables and dumps it if found.
This initial patch only adds support for .apple_names to keep the review small, adding the other sections and pubnames support should be trivial though.


https://reviews.llvm.org/D38282

Files:
  include/llvm/BinaryFormat/Dwarf.h
  include/llvm/DebugInfo/DWARF/DWARFAcceleratorTable.h
  include/llvm/DebugInfo/DWARF/DWARFContext.h
  lib/BinaryFormat/Dwarf.cpp
  lib/CodeGen/AsmPrinter/DwarfAccelTable.h
  lib/DebugInfo/DWARF/DWARFAcceleratorTable.cpp
  lib/DebugInfo/DWARF/DWARFContext.cpp
  test/tools/llvm-dwarfdump/X86/find.test
  test/tools/llvm-dwarfdump/cmdline.test
  tools/llvm-dwarfdump/llvm-dwarfdump.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D38282.116679.patch
Type: text/x-patch
Size: 14152 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170926/04e1a3f7/attachment-0001.bin>


More information about the llvm-commits mailing list