[llvm] r224350 - Fix the arm build bots for a test that was added. A printing routine was incorrectly using PRIx32
Kevin Enderby
enderby at apple.com
Tue Dec 16 10:58:11 PST 2014
Author: enderby
Date: Tue Dec 16 12:58:11 2014
New Revision: 224350
URL: http://llvm.org/viewvc/llvm-project?rev=224350&view=rev
Log:
Fix the arm build bots for a test that was added. A printing routine was incorrectly using PRIx32
when it should have been using PRIx64 for the value that was passed as uint64_t .
Modified:
llvm/trunk/tools/llvm-objdump/MachODump.cpp
Modified: llvm/trunk/tools/llvm-objdump/MachODump.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-objdump/MachODump.cpp?rev=224350&r1=224349&r2=224350&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-objdump/MachODump.cpp (original)
+++ llvm/trunk/tools/llvm-objdump/MachODump.cpp Tue Dec 16 12:58:11 2014
@@ -2999,8 +2999,8 @@ static void PrintSegmentCommand(uint32_t
outs() << " vmaddr " << format("0x%016" PRIx64, vmaddr) << "\n";
outs() << " vmsize " << format("0x%016" PRIx64, vmsize) << "\n";
} else {
- outs() << " vmaddr " << format("0x%08" PRIx32, vmaddr) << "\n";
- outs() << " vmsize " << format("0x%08" PRIx32, vmsize) << "\n";
+ outs() << " vmaddr " << format("0x%08" PRIx64, vmaddr) << "\n";
+ outs() << " vmsize " << format("0x%08" PRIx64, vmsize) << "\n";
}
outs() << " fileoff " << fileoff;
if (fileoff > object_size)
More information about the llvm-commits
mailing list