[llvm] r191266 - DWARFTypeUnit::dump(): Use PRIx64 to format uint64_t.

NAKAMURA Takumi geek4civic at gmail.com
Mon Sep 23 20:23:07 PDT 2013


Author: chapuni
Date: Mon Sep 23 22:23:07 2013
New Revision: 191266

URL: http://llvm.org/viewvc/llvm-project?rev=191266&view=rev
Log:
DWARFTypeUnit::dump(): Use PRIx64 to format uint64_t.

Modified:
    llvm/trunk/lib/DebugInfo/DWARFTypeUnit.cpp

Modified: llvm/trunk/lib/DebugInfo/DWARFTypeUnit.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/DebugInfo/DWARFTypeUnit.cpp?rev=191266&r1=191265&r2=191266&view=diff
==============================================================================
--- llvm/trunk/lib/DebugInfo/DWARFTypeUnit.cpp (original)
+++ llvm/trunk/lib/DebugInfo/DWARFTypeUnit.cpp Mon Sep 23 22:23:07 2013
@@ -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";





More information about the llvm-commits mailing list