[all-commits] [llvm/llvm-project] 87104f: [lld-macho] Add ARM64 target arch

Greg McGary via All-commits all-commits at lists.llvm.org
Mon Feb 8 17:14:53 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 87104faac4336f14cf5da09a36f18f762778c8ca
      https://github.com/llvm/llvm-project/commit/87104faac4336f14cf5da09a36f18f762778c8ca
  Author: Greg McGary <gkm at fb.com>
  Date:   2021-02-08 (Mon, 08 Feb 2021)

  Changed paths:
    A lld/MachO/Arch/ARM64.cpp
    M lld/MachO/Arch/X86_64.cpp
    M lld/MachO/CMakeLists.txt
    M lld/MachO/Driver.cpp
    M lld/MachO/InputFiles.cpp
    M lld/MachO/InputSection.cpp
    M lld/MachO/InputSection.h
    M lld/MachO/SyntheticSections.cpp
    M lld/MachO/Target.cpp
    M lld/MachO/Target.h
    M lld/MachO/Writer.cpp
    M lld/test/MachO/Inputs/MacOSX.sdk/usr/lib/libSystem.tbd
    M lld/test/MachO/Inputs/MacOSX.sdk/usr/lib/libc++.tbd
    M lld/test/MachO/Inputs/MacOSX.sdk/usr/lib/libc++abi.tbd
    R lld/test/MachO/relocations.s
    A lld/test/MachO/x86-64-relocs.s

  Log Message:
  -----------
  [lld-macho] Add ARM64 target arch

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.

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




More information about the All-commits mailing list