Page MenuHomeFreeBSD

clang: allow -fstack-clash-protection on FreeBSD

Authored by emaste on Nov 25 2020, 1:03 AM.



-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

rS FreeBSD src repository - subversion
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

emaste created this revision.

Yeah, that seems perfectly OK to me.

This revision is now accepted and ready to land.Nov 25 2020, 12:58 PM
This revision was automatically updated to reflect the committed changes.