-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
Paths
| Differential D27366 Authored by emaste on Nov 25 2020, 1:03 AM.
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
Diff Detail
Event Timelineemaste created this revision. This revision is now accepted and ready to land.Nov 25 2020, 12:58 PM2020-11-25 12:58:52 (UTC+0) Closed by commit rS368019: clang: allow -fstack-clash-protection on FreeBSD (authored by emaste). · Explain WhyNov 25 2020, 2:26 PM2020-11-25 14:26:46 (UTC+0) This revision was automatically updated to reflect the committed changes. Herald added a subscriber: imp. · View Herald TranscriptNov 25 2020, 2:26 PM2020-11-25 14:26:46 (UTC+0)
Revision Contents
Diff 79989 head/contrib/llvm-project/clang/lib/Driver/ToolChains/Clang.cpp
|
Perhaps commit the re-sorting independently first?