[all-commits] [llvm/llvm-project] 109113: [objdump][macho] Check arch before formating reloc...

Daniel Sanders via All-commits all-commits at lists.llvm.org
Fri Oct 16 14:31:13 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 109113015ebeeceec862fc53a678b3619a879ce4
      https://github.com/llvm/llvm-project/commit/109113015ebeeceec862fc53a678b3619a879ce4
  Author: Peng Guo <peng_guo at apple.com>
  Date:   2020-10-16 (Fri, 16 Oct 2020)

  Changed paths:
    M llvm/tools/llvm-objdump/MachODump.cpp

  Log Message:
  -----------
  [objdump][macho] Check arch before formating reloc name as arm64 addend

Before formating ARM64_RELOC_ADDEND relocation target name as a hex
number, the architecture need to be checked since other architectures
can define a different relocation type with the same integer as
ARM64_RELOC_ADDEND.

Reviewed By: MaskRay

Differential Revision: https://reviews.llvm.org/D89094




More information about the All-commits mailing list