summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-objdump/MachODump.cpp
diff options
context:
space:
mode:
authorKevin Enderby <enderby@apple.com>2015-01-23 21:02:44 +0000
committerKevin Enderby <enderby@apple.com>2015-01-23 21:02:44 +0000
commit479ee6135d04a013e22b5e6fec63d99214fcfb53 (patch)
treee3aa5c6e03511998c5d476ba066dbae3594614af /llvm/tools/llvm-objdump/MachODump.cpp
parent4ea2f606a8b11ed15837854bc0bf9d1b00df6e1d (diff)
downloadbcm5719-llvm-479ee6135d04a013e22b5e6fec63d99214fcfb53.tar.gz
bcm5719-llvm-479ee6135d04a013e22b5e6fec63d99214fcfb53.zip
Fix the problem with llvm-objdump and -archive-headers in printing the archive header size field.
This problem showed up with the clang-cmake-armv7-a15-full bot. Thanks to Renato Golin for his help. llvm-svn: 226936
Diffstat (limited to 'llvm/tools/llvm-objdump/MachODump.cpp')
-rw-r--r--llvm/tools/llvm-objdump/MachODump.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/llvm-objdump/MachODump.cpp b/llvm/tools/llvm-objdump/MachODump.cpp
index fd7a4f5722c..67aa6a3c1ad 100644
--- a/llvm/tools/llvm-objdump/MachODump.cpp
+++ b/llvm/tools/llvm-objdump/MachODump.cpp
@@ -749,7 +749,7 @@ static void printArchiveChild(Archive::Child &C, bool verbose,
unsigned GID = C.getGID();
outs() << format("%-3d ", GID);
uint64_t Size = C.getRawSize();
- outs() << format("%5d ", Size);
+ outs() << format("%5" PRId64, Size) << " ";
StringRef RawLastModified = C.getRawLastModified();
if (verbose) {
OpenPOWER on IntegriCloud