Skip to content

Commit 7f3745c

Browse files
committed
Swift: fix @isolated(any) DB inconsistencies
1 parent 66e43c4 commit 7f3745c

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

swift/extractor/mangler/SwiftMangler.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,9 @@ SwiftMangledName SwiftMangler::visitAnyFunctionType(const swift::AnyFunctionType
243243
if (type->hasGlobalActor()) {
244244
ret << "_actor" << fetch(type->getGlobalActor());
245245
}
246+
if (type->getIsolation().isErased()) {
247+
ret << "_isolated";
248+
}
246249
// TODO: see if this needs to be used in identifying types, if not it needs to be removed from
247250
// type printing in the Swift compiler code
248251
assert(type->hasExtInfo() && "type must have ext info");

swift/third_party/load.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ load("//misc/bazel:lfs.bzl", "lfs_archive", "lfs_files")
55

66
_override = {
77
# these are used to test new artifacts. Must be empty before merging to main
8-
"swift-prebuilt-macOS.tar.zst": "a016ed60ee1a534439ed4d55100ecf6b9fc739f629be20942345ac5156cb6296",
8+
"swift-prebuilt-macOS.tar.zst": "4679ad4086ac6894e2f8a6bd71c5033941c894844809bf988dacb8af0c384416",
99
"swift-prebuilt-Linux.tar.zst": "c45976d50670964132cef1dcf98bccd3fff809d33b2207a85cf3cfd07ec84528",
1010
"resource-dir-macOS.zip": "286e4403aa0a56641c2789e82036481535e336484f2c760bec0f42e3afe5dd87",
1111
"resource-dir-Linux.zip": "16a1760f152395377a580a994885e0877338279125834463a6a38f4006ad61ca",

0 commit comments

Comments
 (0)