HomePhabricator

[AArch64] Add clang command line support for -mharden-sls=

Authored by kristof.beyls on May 25 2020, 7:48 AM.

Description

[AArch64] Add clang command line support for -mharden-sls=

The accepted options to -mharden-sls= are:

  • all: enable all mitigations against Straight Line Speculation that are implemented.
  • none: disable all mitigations against Straight Line Speculation.
  • retbr: enable the mitigation against Straight Line Speculation for RET and BR instructions.
  • blr: enable the mitigation against Straight Line Speculation for BLR instructions.

Differential Revision: https://reviews.llvm.org/D81404

Details

Committed
kristof.beylsJun 18 2020, 11:31 PM
Differential Revision
D81404: [AArch64] Add clang command line support for -mharden-sls=
Parents
rG7f0d7f326316: [Test] Add more tests on select->phi transform
Branches
Unknown
Tags
Unknown