[llvm] r218328 - [MCJIT] Fix some more RuntimeDyld debugging output format specifiers.
Lang Hames
lhames at gmail.com
Tue Sep 23 12:20:57 PDT 2014
Author: lhames
Date: Tue Sep 23 14:20:57 2014
New Revision: 218328
URL: http://llvm.org/viewvc/llvm-project?rev=218328&view=rev
Log:
[MCJIT] Fix some more RuntimeDyld debugging output format specifiers.
Modified:
llvm/trunk/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp
Modified: llvm/trunk/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp?rev=218328&r1=218327&r2=218328&view=diff
==============================================================================
--- llvm/trunk/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp (original)
+++ llvm/trunk/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp Tue Sep 23 14:20:57 2014
@@ -54,7 +54,7 @@ static void dumpSectionMemory(const Sect
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::reassignSectionAdd
// "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;
}
More information about the llvm-commits
mailing list