llvm-dwarfdump: Lookup type units when prettyprinting types
authorDavid Blaikie <dblaikie@gmail.com>
Wed, 10 Nov 2021 00:47:30 +0000 (16:47 -0800)
committerDavid Blaikie <dblaikie@gmail.com>
Wed, 10 Nov 2021 00:58:22 +0000 (16:58 -0800)
commit58b1b6414b4cc6ce74bc8cf10806f6944bf2ac69
treefef7bf163ef17864d31b630623d9cf22e98a391a
parentf30a8a6f6740c1348928090f7749b638bf0f646a
llvm-dwarfdump: Lookup type units when prettyprinting types

This handles DWARFv4 and DWARFv5 type units, but not Split DWARF type
units. That'll come in a follow-up patch.
cross-project-tests/debuginfo-tests/clang_llvm_roundtrip/simplified_template_names.cpp
llvm/include/llvm/DebugInfo/DWARF/DWARFContext.h
llvm/include/llvm/DebugInfo/DWARF/DWARFDie.h
llvm/lib/DebugInfo/DWARF/DWARFContext.cpp
llvm/lib/DebugInfo/DWARF/DWARFDie.cpp
llvm/test/tools/llvm-dwarfdump/X86/prettyprint_type_units.s [new file with mode: 0644]