diff options
| author | Phoebe Wang <phoebe.wang@intel.com> | 2022-11-04 11:21:28 +0800 |
|---|---|---|
| committer | Phoebe Wang <phoebe.wang@intel.com> | 2022-11-04 12:38:29 +0800 |
| commit | 52516782972730ff065a34123a9d8876da08c254 (patch) | |
| tree | 4c24f29a4f00d694b318e866541fa995efb421a8 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | 75b33d6bd518f6502a63f96e79c0f4be3691b1d5 (diff) | |
[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
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
