sync ports with The Matrix

This commit is contained in:
purplerain 2023-08-18 18:38:43 +00:00
parent 2c0afcbbf3
commit b72ce7a5e9
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
1248 changed files with 11809 additions and 12798 deletions

View file

@ -0,0 +1,15 @@
Default to -fcf-protection=branch
May need to be tweaked if ldc grows !amd64 packages...
Index: driver/cl_options_instrumentation.cpp
--- driver/cl_options_instrumentation.cpp.orig
+++ driver/cl_options_instrumentation.cpp
@@ -95,7 +95,7 @@ cl::opt<CFProtectionType> fCFProtection(
clEnumValN(CFProtectionType::Full, "",
"") // default to "full" if no argument specified
),
- cl::init(CFProtectionType::None));
+ cl::init(CFProtectionType::Branch));
void initializeInstrumentationOptionsFromCmdline(const llvm::Triple &triple) {
if (ASTPGOInstrGenFile.getNumOccurrences() > 0) {