Page MenuHomeFreeBSD

Clang: Add Diags for targets pre to i686 for -fcf-protection
ClosedPublic

Authored by emaste on Nov 4 2022, 4:08 PM.
Tags
None
Referenced Files
F106177313: D37268.diff
Thu, Dec 26, 4:17 PM
Unknown Object (File)
Nov 21 2024, 8:06 AM
Unknown Object (File)
Nov 21 2024, 8:06 AM
Unknown Object (File)
Nov 21 2024, 8:06 AM
Unknown Object (File)
Nov 17 2024, 12:27 PM
Unknown Object (File)
Oct 22 2024, 1:12 PM
Unknown Object (File)
Oct 21 2024, 5:35 PM
Unknown Object (File)
Oct 21 2024, 8:33 AM
Subscribers

Details

Summary
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.

PR:             264497
Obtained from:  LLVM commit 52516782972730ff065a34123a9d8876da08c254

(I think this will introduce a (trivially resolved) conflict on the next import.)

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped