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
Unknown Object (File)
Mar 5 2024, 1:36 AM
Unknown Object (File)
Feb 26 2024, 11:27 AM
Unknown Object (File)
Dec 20 2023, 7:21 AM
Unknown Object (File)
Oct 31 2023, 3:02 PM
Unknown Object (File)
Sep 29 2023, 3:05 PM
Unknown Object (File)
Aug 16 2023, 4:58 AM
Unknown Object (File)
Aug 16 2023, 4:34 AM
Unknown Object (File)
Mar 5 2023, 6:04 PM
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

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable