diff --git a/tools/llvm-objdump/MachODump.cpp b/tools/llvm-objdump/MachODump.cpp index 017e4f2b9ce..88c333a4705 100644 --- a/tools/llvm-objdump/MachODump.cpp +++ b/tools/llvm-objdump/MachODump.cpp @@ -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: "