[PATCH] D88629: [lld-macho] Add ARM64 target arch

Greg McGary via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 2 07:57:17 PST 2020


gkm updated this revision to Diff 302286.
gkm added a comment.

- Factor skeletal paired-reloc support into a separate prerequisite diff
- `ARM64RelocAttrs`: drop `type`, add `name`, drop `Optional<>` from `tlv`
- s/`getImplicitAddend`/`getAddend`/ because it handles all forms of addend: implicit, explicit, paired.
- Add arm64 arch to test inputs `MacOSX.sdk/usr/lib/lib*.tbd`


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D88629/new/

https://reviews.llvm.org/D88629

Files:
  lld/MachO/Arch/ARM64.cpp
  lld/MachO/Arch/X86_64.cpp
  lld/MachO/CMakeLists.txt
  lld/MachO/Driver.cpp
  lld/MachO/InputSection.cpp
  lld/MachO/SyntheticSections.cpp
  lld/MachO/Target.h
  lld/test/MachO/Inputs/MacOSX.sdk/usr/lib/libSystem.tbd
  lld/test/MachO/Inputs/MacOSX.sdk/usr/lib/libc++.tbd
  lld/test/MachO/Inputs/MacOSX.sdk/usr/lib/libc++abi.tbd
  lld/test/MachO/relocations-arm64.s
  lld/test/MachO/relocations-x86_64.s
  lld/test/MachO/relocations.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D88629.302286.patch
Type: text/x-patch
Size: 27836 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201102/f97d0ff4/attachment.bin>


More information about the llvm-commits mailing list