From 2bb5b295a437cc62cf718432f0a9f788459d7907 Mon Sep 17 00:00:00 2001 From: Lang Hames Date: Tue, 23 Sep 2014 19:20:57 +0000 Subject: [PATCH] [MCJIT] Fix some more RuntimeDyld debugging output format specifiers. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@218328 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp b/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp index fafd395bb4a..65110752e6c 100644 --- a/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp +++ b/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; } -- 2.34.1