Commit 62940d57 authored by Hans Wennborg's avatar Hans Wennborg
Browse files

Merging r310250:

------------------------------------------------------------------------
r310250 | sdardis | 2017-08-07 05:29:38 -0700 (Mon, 07 Aug 2017) | 2 lines

[llvm-objdump] Use PRIx64 for output of ARM64_RELOC_ADDEND

------------------------------------------------------------------------

llvm-svn: 310396
parent dda69b2e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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();