From: David Blaikie Date: Tue, 18 Oct 2016 21:16:45 +0000 (+0000) Subject: dwarfdump: Include the name in the unit description, even in non-summarized mode X-Git-Tag: llvmorg-4.0.0-rc1~6869 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e4c3915a5adbfedddc182647d3cad12ba30304d3;p=platform%2Fupstream%2Fllvm.git dwarfdump: Include the name in the unit description, even in non-summarized mode (accidentally removed this from my previous change when I was rejecting some clang-format formatting... ) llvm-svn: 284539 --- diff --git a/llvm/lib/DebugInfo/DWARF/DWARFTypeUnit.cpp b/llvm/lib/DebugInfo/DWARF/DWARFTypeUnit.cpp index 8c8aea3..0338b40 100644 --- a/llvm/lib/DebugInfo/DWARF/DWARFTypeUnit.cpp +++ b/llvm/lib/DebugInfo/DWARF/DWARFTypeUnit.cpp @@ -45,6 +45,7 @@ void DWARFTypeUnit::dump(raw_ostream &OS, bool SummarizeTypes) { << " version = " << format("0x%04x", getVersion()) << " abbr_offset = " << format("0x%04x", getAbbreviations()->getOffset()) << " addr_size = " << format("0x%02x", getAddressByteSize()) + << "name = '" << Name << "'" << " type_signature = " << format("0x%16" PRIx64, TypeHash) << " type_offset = " << format("0x%04x", TypeOffset) << " (next unit at " << format("0x%08x", getNextUnitOffset()) << ")\n";