summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorTim Northover <tnorthover@apple.com>2014-08-08 12:08:51 +0000
committerTim Northover <tnorthover@apple.com>2014-08-08 12:08:51 +0000
commitb56b2568969dd6424805292959084e494e34fa6c (patch)
tree75cbbbae88fdb61b18bfe39357e91334ad3570bd /tools
parent5ccbb28fc9d5869438e34342768cc508318e37f9 (diff)
llvm-objdump: add missing % in format specifier.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@215198 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r--tools/llvm-objdump/MachODump.cpp4
1 files 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: "