[all-commits] [llvm/llvm-project] c113b5: [AArch64] Add clang command line support for -mhar...
Kristof Beyls via All-commits
all-commits at lists.llvm.org
Thu Jun 18 23:32:48 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: c113b59ef52593818bcd207521fd490ba3deeaea
https://github.com/llvm/llvm-project/commit/c113b59ef52593818bcd207521fd490ba3deeaea
Author: Kristof Beyls <kristof.beyls at arm.com>
Date: 2020-06-19 (Fri, 19 Jun 2020)
Changed paths:
M clang/include/clang/Basic/DiagnosticDriverKinds.td
M clang/include/clang/Driver/Options.td
M clang/lib/Driver/ToolChains/Arch/AArch64.cpp
A clang/test/Driver/aarch64-sls-hardening-options.c
Log Message:
-----------
[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
More information about the All-commits
mailing list