summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2014-09-23 19:20:57 +0000
committerLang Hames <lhames@gmail.com>2014-09-23 19:20:57 +0000
commitda016026474e35614be37cc3ac205e82e0fcdf81 (patch)
treedeb360c1a6fc569ab6f662290ea552cec3de0adc /llvm/lib
parenta633a6cdb129cfaa274146b73a2fa902fceace1b (diff)
downloadbcm5719-llvm-da016026474e35614be37cc3ac205e82e0fcdf81.tar.gz
bcm5719-llvm-da016026474e35614be37cc3ac205e82e0fcdf81.zip
[MCJIT] Fix some more RuntimeDyld debugging output format specifiers.
llvm-svn: 218328
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp b/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp
index fafd395bb4a..65110752e6c 100644
--- a/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp
+++ b/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp
@@ -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;
}
OpenPOWER on IntegriCloud