diff options
author | Paul Robinson <paul.robinson@sony.com> | 2017-03-01 19:43:29 +0000 |
---|---|---|
committer | Paul Robinson <paul.robinson@sony.com> | 2017-03-01 19:43:29 +0000 |
commit | 8932d6489194af95714c8d08c44503465c85d2c2 (patch) | |
tree | 0375fe54d2aa8f31c20c24e40cc0fcf332558c26 /llvm/lib/DebugInfo | |
parent | ebabd99adb9a1fef811298b1fffa2d0649185991 (diff) | |
download | bcm5719-llvm-8932d6489194af95714c8d08c44503465c85d2c2.tar.gz bcm5719-llvm-8932d6489194af95714c8d08c44503465c85d2c2.zip |
[DWARF] Print leading zeros in type signature
llvm-svn: 296663
Diffstat (limited to 'llvm/lib/DebugInfo')
-rw-r--r-- | llvm/lib/DebugInfo/DWARF/DWARFTypeUnit.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/DebugInfo/DWARF/DWARFTypeUnit.cpp b/llvm/lib/DebugInfo/DWARF/DWARFTypeUnit.cpp index 9df5daec091..e0f81938328 100644 --- a/llvm/lib/DebugInfo/DWARF/DWARFTypeUnit.cpp +++ b/llvm/lib/DebugInfo/DWARF/DWARFTypeUnit.cpp @@ -33,7 +33,7 @@ void DWARFTypeUnit::dump(raw_ostream &OS, bool SummarizeTypes) { if (SummarizeTypes) { OS << "name = '" << Name << "'" - << " type_signature = " << format("0x%16" PRIx64, TypeHash) + << " type_signature = " << format("0x%016" PRIx64, TypeHash) << " length = " << format("0x%08x", getLength()) << '\n'; return; } @@ -46,7 +46,7 @@ void DWARFTypeUnit::dump(raw_ostream &OS, bool SummarizeTypes) { OS << " abbr_offset = " << format("0x%04x", getAbbreviations()->getOffset()) << " addr_size = " << format("0x%02x", getAddressByteSize()) << " name = '" << Name << "'" - << " type_signature = " << format("0x%16" PRIx64, TypeHash) + << " type_signature = " << format("0x%016" PRIx64, TypeHash) << " type_offset = " << format("0x%04x", TypeOffset) << " (next unit at " << format("0x%08x", getNextUnitOffset()) << ")\n"; |