File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -85,6 +85,7 @@ class Observer : public swift::FrontendObserver {
8585
8686 void parsedArgs (swift::CompilerInvocation& invocation) override {
8787 auto & options = invocation.getFrontendOptions ();
88+ options.KeepASTContext = true ;
8889 lockOutputSwiftModuleTraps (state, options);
8990 processFrontendOptions (state, options);
9091 }
@@ -93,7 +94,7 @@ class Observer : public swift::FrontendObserver {
9394 instance.addDiagnosticConsumer (&diagConsumer);
9495 }
9596
96- void performedSemanticAnalysis (swift::CompilerInstance& compiler) override {
97+ void performedCompilation (swift::CompilerInstance& compiler) override {
9798 codeql::extractSwiftFiles (state, compiler);
9899 codeql::extractSwiftInvocation (state, compiler, invocationTrap);
99100 codeql::extractExtractLazyDeclarations (state, compiler);
Original file line number Diff line number Diff line change @@ -4,11 +4,11 @@ load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe")
44# TODO: remove `remove-result-of.patch` once we update to a Swift version containing
55# https://github.com/apple/swift/commit/2ed2cea2
66# (probably when updating to 5.9)
7- _swift_prebuilt_version = "swift-5.8.1-RELEASE.208 "
7+ _swift_prebuilt_version = "swift-5.8.1-RELEASE.210 "
88_swift_sha_map = {
9- "Linux-X64" : "1d93286d6219e5c5746938ab9287d90efea98039f022cb1433296ccbc1684bc0 " ,
10- "macOS-ARM64" : "a29ce5143cb2c68190e337a35ebb163e961a58b9d8826fe7f8daf4d8381ee75d " ,
11- "macOS-X64" : "a7e63ea732750c783142083df20a34c8d337b9b9ba210fa6a9e5ada7b7880189 " ,
9+ "Linux-X64" : "d8c715044c3989683b3f986a377647697245ed6bbdc2add13890433c9dc732a4 " ,
10+ "macOS-ARM64" : "2ca169f299bce61034bd011f081a55be07a19f20fd7ea855b241f43fe0fb76d2 " ,
11+ "macOS-X64" : "80e2e8cefbd78d71e54923c1da36cac3511b4c69c4841cf35bef383bc6750d18 " ,
1212}
1313
1414_swift_arch_map = {
You can’t perform that action at this time.
0 commit comments