[MCJIT] Fix some more RuntimeDyld debugging output format specifiers.
authorLang Hames <lhames@gmail.com>
Tue, 23 Sep 2014 19:20:57 +0000 (19:20 +0000)
committerLang Hames <lhames@gmail.com>
Tue, 23 Sep 2014 19:20:57 +0000 (19:20 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@218328 91177308-0d34-0410-b5e6-96231b3b80d8

lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp

index fafd395..6511075 100644 (file)
@@ -54,7 +54,7 @@ static void dumpSectionMemory(const SectionEntry &S, StringRef State) {
   unsigned BytesRemaining = S.Size;
 
   if (StartPadding) {
-    dbgs() << "\n" << format("0x%08x", LoadAddr & ~(ColsPerRow - 1)) << ":";
+    dbgs() << "\n" << format("0x%016" PRIx64, LoadAddr & ~(ColsPerRow - 1)) << ":";
     while (StartPadding--)
       dbgs() << "   ";
   }
@@ -695,8 +695,8 @@ void RuntimeDyldImpl::reassignSectionAddress(unsigned SectionID,
   // "big enough" type.
   DEBUG(dbgs() << "Reassigning address for section "
                << SectionID << " (" << Sections[SectionID].Name << "): "
-               << format("0x%016x", Sections[SectionID].LoadAddress) << " -> "
-               << format("0x%016x", Addr) << "\n");
+               << format("0x%016" PRIx64, Sections[SectionID].LoadAddress) << " -> "
+               << format("0x%016" PRIx64, Addr) << "\n");
   Sections[SectionID].LoadAddress = Addr;
 }