OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a801c3f
)
[llvm-objdump] Use PRIx64 for output of ARM64_RELOC_ADDEND
author
Simon Dardis
<simon.dardis@imgtec.com>
Mon, 7 Aug 2017 12:29:38 +0000
(12:29 +0000)
committer
Simon Dardis
<simon.dardis@imgtec.com>
Mon, 7 Aug 2017 12:29:38 +0000
(12:29 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@310250
91177308
-0d34-0410-b5e6-
96231b3b80d8
tools/llvm-objdump/llvm-objdump.cpp
patch
|
blob
|
history
diff --git
a/tools/llvm-objdump/llvm-objdump.cpp
b/tools/llvm-objdump/llvm-objdump.cpp
index
7b1e288
..
5799175
100644
(file)
--- a/
tools/llvm-objdump/llvm-objdump.cpp
+++ b/
tools/llvm-objdump/llvm-objdump.cpp
@@
-871,7
+871,7
@@
static void printRelocationTargetName(const MachOObjectFile *O,
uint64_t Val = O->getPlainRelocationSymbolNum(RE);
if (O->getAnyRelocationType(RE) == MachO::ARM64_RELOC_ADDEND) {
- fmt << format("0x%
x"
, Val);
+ fmt << format("0x%
0" PRIx64
, Val);
return;
} else if (isExtern) {
symbol_iterator SI = O->symbol_begin();