summaryrefslogtreecommitdiffstats
path: root/llvm/lib/DebugInfo
diff options
context:
space:
mode:
authorPaul Robinson <paul.robinson@sony.com>2017-03-01 19:43:29 +0000
committerPaul Robinson <paul.robinson@sony.com>2017-03-01 19:43:29 +0000
commit8932d6489194af95714c8d08c44503465c85d2c2 (patch)
tree0375fe54d2aa8f31c20c24e40cc0fcf332558c26 /llvm/lib/DebugInfo
parentebabd99adb9a1fef811298b1fffa2d0649185991 (diff)
downloadbcm5719-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.cpp4
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";
OpenPOWER on IntegriCloud