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,
7676 }
7777}
7878
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+
7986codeql::TrapDomain invocationTrapDomain (codeql::SwiftExtractorState& state);
8087
8188// This is part of the swiftFrontendTool interface, we hook into the
@@ -90,6 +97,7 @@ class Observer : public swift::FrontendObserver {
9097 options.KeepASTContext = true ;
9198 lockOutputSwiftModuleTraps (state, options);
9299 processFrontendOptions (state, options);
100+ turnOffSilVerifications (invocation.getSILOptions ());
93101 }
94102
95103 void configuredCompiler (swift::CompilerInstance& instance) override {
You can’t perform that action at this time.
0 commit comments