]> granicus.if.org Git - llvm/commit
[dwarfdump] Add -lookup option
authorJonas Devlieghere <jonas@devlieghere.com>
Tue, 3 Oct 2017 17:10:21 +0000 (17:10 +0000)
committerJonas Devlieghere <jonas@devlieghere.com>
Tue, 3 Oct 2017 17:10:21 +0000 (17:10 +0000)
commit05dde13ff85757cf4f986422626f1446cf503437
tree830d00e493069df723a1f2afb87b26d40eb080ca
parent87aa3050e6e6c9bc9bb75006676bd2a7f34cb6b4
[dwarfdump] Add -lookup option

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

Differential revision: https://reviews.llvm.org/D38409

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@314817 91177308-0d34-0410-b5e6-96231b3b80d8
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 [new file with mode: 0644]
test/tools/llvm-dwarfdump/cmdline.test
tools/llvm-dwarfdump/llvm-dwarfdump.cpp