[llvm] r215198 - llvm-objdump: add missing % in format specifier.

Tim Northover tnorthover at apple.com
Fri Aug 8 05:08:52 PDT 2014


Author: tnorthover
Date: Fri Aug  8 07:08:51 2014
New Revision: 215198

URL: http://llvm.org/viewvc/llvm-project?rev=215198&view=rev
Log:
llvm-objdump: add missing % in format specifier.

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=215198&r1=215197&r2=215198&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-objdump/MachODump.cpp (original)
+++ llvm/trunk/tools/llvm-objdump/MachODump.cpp Fri Aug  8 07:08:51 2014
@@ -629,8 +629,8 @@ printMachOCompactUnwindSection(const Mac
   // 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:                "





More information about the llvm-commits mailing list