sync ports with The Matrix
This commit is contained in:
parent
2c0afcbbf3
commit
b72ce7a5e9
1248 changed files with 11809 additions and 12798 deletions
15
lang/ldc/patches/patch-driver_cl_options_instrumentation_cpp
Normal file
15
lang/ldc/patches/patch-driver_cl_options_instrumentation_cpp
Normal 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) {
|
Loading…
Add table
Add a link
Reference in a new issue