llvm-objdump: add missing % in format specifier.
authorTim Northover <tnorthover@apple.com>
Fri, 8 Aug 2014 12:08:51 +0000 (12:08 +0000)
committerTim Northover <tnorthover@apple.com>
Fri, 8 Aug 2014 12:08:51 +0000 (12:08 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@215198 91177308-0d34-0410-b5e6-96231b3b80d8

tools/llvm-objdump/MachODump.cpp

index 017e4f2b9ce8a53b376d2589fe56fc7fe6276483..88c333a4705f13a6ac31b36677aa9cd81b162d94 100644 (file)
@@ -629,8 +629,8 @@ printMachOCompactUnwindSection(const MachOObjectFile *Obj,
   // Finally, we're ready to print the data we've gathered.
   outs() << "Contents of __compact_unwind section:\n";
   for (auto &Entry : CompactUnwinds) {
-    outs() << "  Entry at offset " << format("0x" PRIx32, Entry.OffsetInSection)
-           << ":\n";
+    outs() << "  Entry at offset "
+           << format("0x%" PRIx32, Entry.OffsetInSection) << ":\n";
 
     // 1. Start of the region this entry applies to.
     outs() << "    start:                "