[PATCH] D156716: [AArch64][PAC] Check authenticated LR value during tail call

Anatoly Trosinenko via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 1 12:43:57 PDT 2023


atrosinenko updated this revision to Diff 555465.
atrosinenko added a comment.

- Updated the patch based on the changes from D159357 <https://reviews.llvm.org/D159357>
- Made the check opt-in for subtargets, "none" by default, with command line option to override
- Fixed use after free in createCheckMemOperand function (the same way it is done in Hexagon)


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D156716/new/

https://reviews.llvm.org/D156716

Files:
  llvm/lib/Target/AArch64/AArch64FrameLowering.cpp
  llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
  llvm/lib/Target/AArch64/AArch64InstrInfo.h
  llvm/lib/Target/AArch64/AArch64PointerAuth.cpp
  llvm/lib/Target/AArch64/AArch64PointerAuth.h
  llvm/lib/Target/AArch64/AArch64Subtarget.cpp
  llvm/lib/Target/AArch64/AArch64Subtarget.h
  llvm/test/CodeGen/AArch64/sign-return-address-tailcall.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D156716.555465.patch
Type: text/x-patch
Size: 25567 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230901/7eef083f/attachment.bin>


More information about the llvm-commits mailing list