llvm-objdump: fix remaining use of %x format specifier for 64-bit values
authorTim Northover <tnorthover@apple.com>
Mon, 11 Aug 2014 09:14:06 +0000 (09:14 +0000)
committerTim Northover <tnorthover@apple.com>
Mon, 11 Aug 2014 09:14:06 +0000 (09:14 +0000)
Third time lucky. This should finally fix the ARM (& MIPS, I think) bots.

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

tools/llvm-objdump/MachODump.cpp

index 88c333a4705f13a6ac31b36677aa9cd81b162d94..15b477302086b66e68a31923834ba72af01a242d 100644 (file)
@@ -580,7 +580,7 @@ static void printUnwindRelocDest(const MachOObjectFile *Obj,
 
   outs() << Name;
   if (Addend)
-    outs() << " + " << format("0x%x", Addend);
+    outs() << " + " << format("0x%" PRIx64, Addend);
 }
 
 static void