[PATCH] D49791: [AArch64] - Generate pointer authentication instructions

Luke Cheeseman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 25 05:30:59 PDT 2018


LukeCheeseman created this revision.
LukeCheeseman added reviewers: kcc, pcc, eugenis, vlad.tsyrklevich.
Herald added a reviewer: javed.absar.
Herald added subscribers: llvm-commits, kristof.beyls.

Generate pointer authentication instructions

- The functions instrumented depend on function attribtues: all (all functions instrumentent), non-leaf (only those that spill LR), none
- Function epilogues sign the LR before spilling to the stack and authenticate the LR once restored
- If the target is v8.3a or greater than can use the combined authenticate and return instruction


Repository:
  rL LLVM

https://reviews.llvm.org/D49791

Files:
  lib/Target/AArch64/AArch64FrameLowering.cpp
  test/CodeGen/AArch64/sign-return-address.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D49791.157234.patch
Type: text/x-patch
Size: 7190 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180725/63484cf9/attachment.bin>


More information about the llvm-commits mailing list