[PATCH] D75044: [AArch64] __builtin_extract_return_addr for PAuth.

Daniel Kiss via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 24 05:10:48 PST 2020


danielkiss created this revision.
danielkiss added reviewers: ostannard, asl.
Herald added subscribers: llvm-commits, cfe-commits, jdoerfert, hiraditya, kristof.beyls.
Herald added projects: clang, LLVM.

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


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D75044

Files:
  clang/lib/CodeGen/TargetInfo.cpp
  clang/test/CodeGen/arm64-extractreturnaddress.c
  llvm/docs/LangRef.rst
  llvm/include/llvm/CodeGen/ISDOpcodes.h
  llvm/include/llvm/IR/Intrinsics.td
  llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
  llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
  llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
  llvm/lib/Target/AArch64/AArch64ISelLowering.h
  llvm/test/CodeGen/AArch64/aarch64-extractreturnaddress.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D75044.246183.patch
Type: text/x-patch
Size: 10414 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200224/a6b5b21a/attachment.bin>


More information about the llvm-commits mailing list