[all-commits] [llvm/llvm-project] b4db2d: [JITLink][AArch64] Remove unused Pointer64Anon edg...

lhames via All-commits all-commits at lists.llvm.org
Sun Oct 30 11:21:21 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b4db2da420dce3f52e6a003e9a41a68c1747cef4
      https://github.com/llvm/llvm-project/commit/b4db2da420dce3f52e6a003e9a41a68c1747cef4
  Author: Lang Hames <lhames at gmail.com>
  Date:   2022-10-30 (Sun, 30 Oct 2022)

  Changed paths:
    M llvm/include/llvm/ExecutionEngine/JITLink/aarch64.h
    M llvm/lib/ExecutionEngine/JITLink/MachO_arm64.cpp
    M llvm/lib/ExecutionEngine/JITLink/aarch64.cpp

  Log Message:
  -----------
  [JITLink][AArch64] Remove unused Pointer64Anon edge kind.

Pointer64Anon was lifted out of the MachO backend and into aarch64.h when that
header was created, but Pointer64Anon is really a MachO-specific "normalized"
relocation value, rather than a generic Edge::Kind. Any uses can be safely
replaced with Pointer64.

(Side note: the role of MachOPointer64Anon is to aid MachO relocation parsing:
For MachOPointer64, the target symbol is specified by the r_symbolnum field in
the relocation. For MachOPointer64Anon the address of the anonymous target is
read from the fixup location.)




More information about the All-commits mailing list