mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[Distributed] Synthesis: Start using special mangling for distributed thunks
This commit is contained in:
@@ -914,6 +914,10 @@ std::string SILDeclRef::mangle(ManglingKind MKind) const {
|
||||
return CDeclA->Name.str();
|
||||
}
|
||||
|
||||
if (SKind == ASTMangler::SymbolKind::DistributedThunk) {
|
||||
return mangler.mangleDistributedThunk(cast<FuncDecl>(getDecl()));
|
||||
}
|
||||
|
||||
// Otherwise, fall through into the 'other decl' case.
|
||||
LLVM_FALLTHROUGH;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user