[PATCH] D69097: [AArch64][MachineOutliner] Return address signing for outlined functions
David Tellenbach via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 17 04:01:35 PDT 2019
tellenbach created this revision.
Herald added subscribers: llvm-commits, hiraditya, kristof.beyls.
Herald added a project: LLVM.
During AArch64 frame lowering instructions to enable return address
signing are inserted into function if needed. Functions generated during
machine outlining don't run through target frame lowering and hence are
missing such instructions.
This patch inserts these yet missing instructions if all functions of
final outlining candidates...
1. ...need return address signing.
2. ...agree on the type of key their return address should be signed with.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D69097
Files:
llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
llvm/test/CodeGen/AArch64/machine-outliner-sign-return-address-akey.ll
llvm/test/CodeGen/AArch64/machine-outliner-sign-return-address-bkey.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D69097.225394.patch
Type: text/x-patch
Size: 9319 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191017/671eca3f/attachment.bin>
More information about the llvm-commits
mailing list