[all-commits] [llvm/llvm-project] 2a96f4: [AArch64] __builtin_return_address for PAuth.

Dani via All-commits all-commits at lists.llvm.org
Thu Sep 24 14:24:08 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 2a96f47c5ffca84cd774ad402cacd137f4bf45e2
      https://github.com/llvm/llvm-project/commit/2a96f47c5ffca84cd774ad402cacd137f4bf45e2
  Author: Daniel Kiss <daniel.kiss at arm.com>
  Date:   2020-09-24 (Thu, 24 Sep 2020)

  Changed paths:
    M llvm/include/llvm/CodeGen/ISDOpcodes.h
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    A llvm/test/CodeGen/AArch64/aarch64-signedreturnaddress.ll
    M llvm/test/CodeGen/AArch64/arm64-returnaddr.ll
    M llvm/test/CodeGen/AArch64/arm64_32.ll
    M llvm/test/CodeGen/AArch64/returnaddr.ll

  Log Message:
  -----------
  [AArch64] __builtin_return_address for PAuth.

This change adds the support for __builtin_return_address
for ARMv8.3A Pointer Authentication.
Location of the authentication code in the pointer depends on
the system configuration, therefore a dedicated instruction is used for
effectively removing the authentication code without
authenticating the pointer.

Reviewed By: chill

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




More information about the All-commits mailing list