]> granicus.if.org Git - llvm/commit
llvm-dwarfdump: implement --recurse-depth=<N>
authorAdrian Prantl <aprantl@apple.com>
Wed, 20 Sep 2017 17:44:00 +0000 (17:44 +0000)
committerAdrian Prantl <aprantl@apple.com>
Wed, 20 Sep 2017 17:44:00 +0000 (17:44 +0000)
commitae599aa1b471a80318e552069f3e49807f2c8f96
tree15336fd1159757d4fdc9f0260ee4f8d8a1776af8
parentcf0cb494bee0e348f9277eafb01aaa9ead34120c
llvm-dwarfdump: implement --recurse-depth=<N>

This patch implements the Darwin dwarfdump option --recurse-depth=<N>,
which limits the recursion depth when selectively printing DIEs at an
offset.

Differential Revision: https://reviews.llvm.org/D38064

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@313778 91177308-0d34-0410-b5e6-96231b3b80d8
13 files changed:
include/llvm/DebugInfo/DIContext.h
include/llvm/DebugInfo/DWARF/DWARFDie.h
include/llvm/DebugInfo/DWARF/DWARFVerifier.h
lib/DebugInfo/DWARF/DWARFCompileUnit.cpp
lib/DebugInfo/DWARF/DWARFContext.cpp
lib/DebugInfo/DWARF/DWARFDie.cpp
lib/DebugInfo/DWARF/DWARFTypeUnit.cpp
lib/DebugInfo/DWARF/DWARFVerifier.cpp
test/tools/llvm-dwarfdump/X86/debug_info_offset.test
test/tools/llvm-dwarfdump/X86/debug_type_offset.test
test/tools/llvm-dwarfdump/cmdline.test
tools/dsymutil/DwarfLinker.cpp
tools/llvm-dwarfdump/llvm-dwarfdump.cpp