OSDN Git Service

DWARFTypeUnit::dump(): Use PRIx64 to format uint64_t.
authorNAKAMURA Takumi <geek4civic@gmail.com>
Tue, 24 Sep 2013 03:23:07 +0000 (03:23 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Tue, 24 Sep 2013 03:23:07 +0000 (03:23 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191266 91177308-0d34-0410-b5e6-96231b3b80d8

lib/DebugInfo/DWARFTypeUnit.cpp

index c81e240..303bf70 100644 (file)
@@ -28,7 +28,7 @@ void DWARFTypeUnit::dump(raw_ostream &OS) {
      << " version = " << format("0x%04x", getVersion())
      << " abbr_offset = " << format("0x%04x", getAbbreviations()->getOffset())
      << " addr_size = " << format("0x%02x", getAddressByteSize())
-     << " type_signature = " << format("0x%16lx", TypeHash)
+     << " type_signature = " << format("0x%16" PRIx64, TypeHash)
      << " type_offset = " << format("0x%04x", TypeOffset)
      << " (next unit at " << format("0x%08x", getNextUnitOffset())
      << ")\n";