[PATCH] D51429: [AArch64] Return Address Signing B Key Support
Luke Cheeseman via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 29 08:16:30 PDT 2018
LukeCheeseman created this revision.
LukeCheeseman added reviewers: kcc, pcc, eugenis, vlad.tsyrklevich.
Herald added a reviewer: javed.absar.
Herald added subscribers: cfe-commits, kristof.beyls.
- Add command line options for selecting the B key when enabling return address signing (also tidy up the msign_return_address tablegen definiton by suffixing the option with EQ)
- This expands the -msign-return-address=<scope> to now be -msign-return-address=<scope>[+<key>] where <key> is one of a_key or b_key
- Generate the "sign-return-address-key" function attribute with the relevant key
Repository:
rC Clang
https://reviews.llvm.org/D51429
Files:
include/clang/Driver/Options.td
include/clang/Frontend/CodeGenOptions.def
include/clang/Frontend/CodeGenOptions.h
lib/CodeGen/TargetInfo.cpp
lib/Driver/ToolChains/Clang.cpp
lib/Frontend/CompilerInvocation.cpp
test/CodeGen/aarch64-sign-return-address.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51429.163095.patch
Type: text/x-patch
Size: 5978 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180829/41550930/attachment-0001.bin>
More information about the cfe-commits
mailing list