Page MenuHomeFreeBSD

clang: allow -fstack-clash-protection on FreeBSD
ClosedPublic

Authored by emaste on Nov 25 2020, 1:03 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Dec 26, 10:03 AM
Unknown Object (File)
Sat, Dec 20, 4:42 AM
Unknown Object (File)
Sat, Nov 29, 3:28 AM
Unknown Object (File)
Nov 27 2025, 11:36 AM
Unknown Object (File)
Nov 14 2025, 1:54 AM
Unknown Object (File)
Nov 7 2025, 12:03 PM
Unknown Object (File)
Nov 7 2025, 2:59 AM
Unknown Object (File)
Oct 30 2025, 5:11 AM
Subscribers

Details

Summary

-fstack-clash-protection was added in Clang commit e67cbac81211 but was enabled only on Linux. It should work fine on FreeBSD too so enable it.

To be upstreamed, with a corresponding test suite change.

Relnotes: Yes
MFC after: 3 days

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable