[all-commits] [llvm/llvm-project] 525167: [X86][CET] Add Diags for targets pre to i686 for `...
Phoebe Wang via All-commits
all-commits at lists.llvm.org
Thu Nov 3 21:38:46 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 52516782972730ff065a34123a9d8876da08c254
https://github.com/llvm/llvm-project/commit/52516782972730ff065a34123a9d8876da08c254
Author: Phoebe Wang <phoebe.wang at intel.com>
Date: 2022-11-04 (Fri, 04 Nov 2022)
Changed paths:
M clang/lib/Basic/Targets/X86.h
Log Message:
-----------
[X86][CET] Add Diags for targets pre to i686 for `-fcf-protection`
Intel Control-flow Enforcement Technology (CET) provides new instructions `endbr32/64` for the indirect branch control. They are NOPs on i686 and new targets. We need to check for that in case it crashes on older targets.
Fixes #58737
Reviewed By: nickdesaulniers
Differential Revision: https://reviews.llvm.org/D137317
More information about the All-commits
mailing list