projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18f28b2
)
Fix another use of PRIx32 that should have been PRIx64.
author
Kevin Enderby
<enderby@apple.com>
Tue, 16 Dec 2014 21:00:25 +0000
(21:00 +0000)
committer
Kevin Enderby
<enderby@apple.com>
Tue, 16 Dec 2014 21:00:25 +0000
(21:00 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@224368
91177308
-0d34-0410-b5e6-
96231b3b80d8
tools/llvm-objdump/MachODump.cpp
patch
|
blob
|
history
diff --git
a/tools/llvm-objdump/MachODump.cpp
b/tools/llvm-objdump/MachODump.cpp
index 1750ae4e1eb4a98e7ed60bc8dce467761212148c..e0203ba12662e33fae91d60b52660ca0e69fcff0 100644
(file)
--- a/
tools/llvm-objdump/MachODump.cpp
+++ b/
tools/llvm-objdump/MachODump.cpp
@@
-3103,8
+3103,8
@@
static void PrintSection(const char *sectname, const char *segname,
outs() << " addr " << format("0x%016" PRIx64, addr) << "\n";
outs() << " size " << format("0x%016" PRIx64, size);
} else {
- outs() << " addr " << format("0x%08" PRIx
32
, addr) << "\n";
- outs() << " size " << format("0x%08" PRIx
32
, size);
+ outs() << " addr " << format("0x%08" PRIx
64
, addr) << "\n";
+ outs() << " size " << format("0x%08" PRIx
64
, size);
}
if ((flags & MachO::S_ZEROFILL) != 0 && offset + size > object_size)
outs() << " (past end of file)\n";