Fix the arm build bots for a test that was added. A printing routine was incorrectly...
authorKevin Enderby <enderby@apple.com>
Tue, 16 Dec 2014 18:58:11 +0000 (18:58 +0000)
committerKevin Enderby <enderby@apple.com>
Tue, 16 Dec 2014 18:58:11 +0000 (18:58 +0000)
when it should have been using PRIx64 for the value that was passed as uint64_t .

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@224350 91177308-0d34-0410-b5e6-96231b3b80d8

tools/llvm-objdump/MachODump.cpp

index 419dc202db7442cc6b3a11bfb06b649fd8350316..1750ae4e1eb4a98e7ed60bc8dce467761212148c 100644 (file)
@@ -2999,8 +2999,8 @@ static void PrintSegmentCommand(uint32_t cmd, uint32_t cmdsize,
     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)