Skip to content

Commit ee3674c

Browse files
committed
Swift: Disable stack protector pass
1 parent bbd02b8 commit ee3674c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

swift/extractor/main.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ static void turnOffSilVerifications(swift::SILOptions& options) {
8181
options.VerifyExclusivity = false;
8282
options.VerifyNone = true;
8383
options.VerifySILOwnership = false;
84+
options.EnableStackProtection = false; // Causes crashes on Linux
8485
}
8586

8687
codeql::TrapDomain invocationTrapDomain(codeql::SwiftExtractorState& state);

0 commit comments

Comments
 (0)