Page MenuHomeFreeBSD

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

Authored by emaste on Nov 25 2020, 1:03 AM.
Tags
None
Referenced Files
F176535969: D27366.id79989.diff
Mon, Oct 19, 3:41 PM
F176535513: D27366.id.diff
Mon, Oct 19, 3:37 PM
Unknown Object (File)
Fri, Oct 2, 12:00 PM
Unknown Object (File)
Thu, Oct 1, 4:38 AM
Unknown Object (File)
Thu, Sep 24, 7:35 AM
Unknown Object (File)
Thu, Sep 24, 6:41 AM
Unknown Object (File)
Thu, Sep 24, 6:37 AM
Unknown Object (File)
Wed, Sep 23, 5:39 PM
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