[PATCH] D38409: [dwarfdump] Add -lookup option

Jonas Devlieghere via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 29 09:55:24 PDT 2017


JDevlieghere created this revision.

Add the option to lookup an address in the debug information and print
out the file, function, block and line table details, as well as the relevant 
DIEs.

This mirrors the functionality from dwarfdump classic.


Repository:
  rL LLVM

https://reviews.llvm.org/D38409

Files:
  include/llvm/DebugInfo/DIContext.h
  include/llvm/DebugInfo/DWARF/DWARFContext.h
  include/llvm/DebugInfo/DWARF/DWARFUnit.h
  lib/DebugInfo/DWARF/DWARFContext.cpp
  lib/DebugInfo/DWARF/DWARFUnit.cpp
  test/tools/llvm-dwarfdump/X86/lookup.s
  tools/llvm-dwarfdump/llvm-dwarfdump.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D38409.117169.patch
Type: text/x-patch
Size: 20480 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170929/84acd50d/attachment.bin>


More information about the llvm-commits mailing list