HomePhabricator

[AArch64] Branch Protection and Return Address Signing B Key Support

Authored by LukeCheeseman on Oct 25 2018, 8:23 AM.

Description

[AArch64] Branch Protection and Return Address Signing B Key Support

  • 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

Details

Committed
LukeCheesemanOct 25 2018, 8:23 AM
Parents
rGa16667e79be9: [ARM] Use Cortex-A57 sched model for Cortex-A72
Branches
Unknown
Tags
Unknown