[all-commits] [llvm/llvm-project] f77c94: [Triple][MachO] Define "arm64e", an AArch64 subarc...

Ahmed Bougacha via All-commits all-commits at lists.llvm.org
Thu Dec 3 07:54:45 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: f77c948d56b09b839262e258af5c6ad701e5b168
      https://github.com/llvm/llvm-project/commit/f77c948d56b09b839262e258af5c6ad701e5b168
  Author: Ahmed Bougacha <ahmed at bougacha.org>
  Date:   2020-12-03 (Thu, 03 Dec 2020)

  Changed paths:
    M clang/lib/Basic/Targets/AArch64.cpp
    M clang/lib/Driver/ToolChain.cpp
    M clang/lib/Driver/ToolChains/Arch/AArch64.cpp
    M clang/lib/Driver/ToolChains/Darwin.cpp
    M clang/test/Driver/aarch64-cpus.c
    M clang/test/Driver/arclite-link.c
    M clang/test/Driver/target-triple-deployment.c
    A clang/test/Preprocessor/arm64e.c
    M llvm/include/llvm/ADT/Triple.h
    M llvm/lib/BinaryFormat/MachO.cpp
    M llvm/lib/LTO/LTOCodeGenerator.cpp
    M llvm/lib/LTO/LTOModule.cpp
    M llvm/lib/Object/MachOObjectFile.cpp
    M llvm/lib/Support/ARMTargetParser.cpp
    M llvm/lib/Support/Triple.cpp
    M llvm/lib/Target/AArch64/AArch64TargetMachine.cpp
    M llvm/lib/Target/AArch64/MCTargetDesc/AArch64MCTargetDesc.cpp
    A llvm/test/MC/AArch64/arm64e-subtype.s
    A llvm/test/MC/AArch64/arm64e.s
    M llvm/test/MC/MachO/AArch64/arm-darwin-version-min-load-command.s
    A llvm/test/tools/llvm-dwarfdump/AArch64/arm64e.ll
    M llvm/test/tools/llvm-objdump/MachO/universal-arm64.test
    A llvm/test/tools/llvm-readobj/macho-arm64e.test
    M llvm/unittests/ADT/TripleTest.cpp
    M llvm/utils/UpdateTestChecks/asm.py

  Log Message:
  -----------
  [Triple][MachO] Define "arm64e", an AArch64 subarch for Pointer Auth.

This also teaches MachO writers/readers about the MachO cpu subtype,
beyond the minimal subtype reader support present at the moment.

This also defines a preprocessor macro to allow users to distinguish
__arm64__ from __arm64e__.

arm64e defaults to an "apple-a12" CPU, which supports v8.3a, allowing
pointer-authentication codegen.
It also currently defaults to ios14 and macos11.

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




More information about the All-commits mailing list