File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -76,6 +76,13 @@ static void processFrontendOptions(codeql::SwiftExtractorState& state,
76
76
}
77
77
}
78
78
79
+ static void turnOffSilVerifications (swift::SILOptions& options) {
80
+ options.VerifyAll = false ;
81
+ options.VerifyExclusivity = false ;
82
+ options.VerifyNone = true ;
83
+ options.VerifySILOwnership = false ;
84
+ }
85
+
79
86
codeql::TrapDomain invocationTrapDomain (codeql::SwiftExtractorState& state);
80
87
81
88
// This is part of the swiftFrontendTool interface, we hook into the
@@ -90,6 +97,7 @@ class Observer : public swift::FrontendObserver {
90
97
options.KeepASTContext = true ;
91
98
lockOutputSwiftModuleTraps (state, options);
92
99
processFrontendOptions (state, options);
100
+ turnOffSilVerifications (invocation.getSILOptions ());
93
101
}
94
102
95
103
void configuredCompiler (swift::CompilerInstance& instance) override {
You can’t perform that action at this time.
0 commit comments