summaryrefslogtreecommitdiffstats
path: root/llvm/lib/DebugInfo/DWARF
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2016-10-18 21:16:45 +0000
committerDavid Blaikie <dblaikie@gmail.com>2016-10-18 21:16:45 +0000
commite4c3915a5adbfedddc182647d3cad12ba30304d3 (patch)
tree78a38523757c7dfabd5b689351829b12c39b7394 /llvm/lib/DebugInfo/DWARF
parent83033e0b9a48f0e245f9f9d5c34c5d9ae6699c27 (diff)
downloadbcm5719-llvm-e4c3915a5adbfedddc182647d3cad12ba30304d3.tar.gz
bcm5719-llvm-e4c3915a5adbfedddc182647d3cad12ba30304d3.zip
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
Diffstat (limited to 'llvm/lib/DebugInfo/DWARF')
-rw-r--r--llvm/lib/DebugInfo/DWARF/DWARFTypeUnit.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/DebugInfo/DWARF/DWARFTypeUnit.cpp b/llvm/lib/DebugInfo/DWARF/DWARFTypeUnit.cpp
index 8c8aea3c1fd..0338b409675 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";
OpenPOWER on IntegriCloud