[llvm-objdump] Use PRIx64 for output of ARM64_RELOC_ADDEND
llvm-svn: 310250
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user