Skip to content

Commit

Permalink
Swift: fix @isolated(any) DB inconsistencies
Browse files Browse the repository at this point in the history
  • Loading branch information
redsun82 committed Oct 31, 2024
1 parent 66e43c4 commit 7f3745c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions swift/extractor/mangler/SwiftMangler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,9 @@ SwiftMangledName SwiftMangler::visitAnyFunctionType(const swift::AnyFunctionType
if (type->hasGlobalActor()) {
ret << "_actor" << fetch(type->getGlobalActor());
}
if (type->getIsolation().isErased()) {
ret << "_isolated";
}
// TODO: see if this needs to be used in identifying types, if not it needs to be removed from
// type printing in the Swift compiler code
assert(type->hasExtInfo() && "type must have ext info");
Expand Down
2 changes: 1 addition & 1 deletion swift/third_party/load.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ load("//misc/bazel:lfs.bzl", "lfs_archive", "lfs_files")

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

0 comments on commit 7f3745c

Please sign in to comment.