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

Greg McGary via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 30 19:01:47 PDT 2020


gkm created this revision.
gkm added a reviewer: lld-macho.
Herald added subscribers: llvm-commits, kristof.beyls, mgorny.
Herald added a project: LLVM.
gkm requested review of this revision.

This is an initial base commit for ARM64 target arch support. I don't represent that it complete or bug-free, but wish to put it out for review now that some basic things like branch target & load/store address relocs are working.

I can add more tests to this base commit, or add them in follow-up commits.

It is not entirely clear whether I use the "ARM64" (Apple) or "AArch64" (non-Apple) naming convention. Guidance is appreciated.


Repository:
  rG LLVM Github Monorepo

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/relocations-arm64.s
  lld/test/MachO/relocations-x86_84.s
  lld/test/MachO/relocations.s
  lld/test/lit.cfg.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D88629.295454.patch
Type: text/x-patch
Size: 17351 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201001/8d3d2e02/attachment.bin>


More information about the llvm-commits mailing list