From b56b2568969dd6424805292959084e494e34fa6c Mon Sep 17 00:00:00 2001 From: Tim Northover Date: Fri, 8 Aug 2014 12:08:51 +0000 Subject: [PATCH] llvm-objdump: add missing % in format specifier. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@215198 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/llvm-objdump/MachODump.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: " -- 2.40.0