summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/aarch64-sign-return-address.c
Commit message (Collapse)AuthorAgeFilesLines
* [AArch64] Branch Protection and Return Address Signing B Key SupportLuke Cheeseman2018-10-251-9/+22
| | | | | | | | | | | - Add support for -mbranch-protection=<type>[+<type>]* where - <type> ::= [standard, none, bti, pac-ret[+b-key,+leaf]*] - The protection emits relevant function attributes - sign-return-address=<scope> - sign-return-address-key=<key> - branch-protection llvm-svn: 345273
* [AArch64] - return address signingLuke Cheeseman2018-08-171-0/+14
- Add a command line options -msign-return-address to enable return address signing - Armv8.3a added instructions to sign the return address to help mitigate against ROP attacks - This patch adds command line options to generate function attributes that signal to the back whether return address signing instructions should be added Differential revision: https://reviews.llvm.org/D49793 llvm-svn: 340019
OpenPOWER on IntegriCloud