Skip to content

Commit 7c21ea8

Browse files
committed
[Distributed] More IRGenMangler fixes for distributed thunks
We also need to mangle the dispatch thunks to distributed thunks uniquely.
1 parent 84a8adb commit 7c21ea8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/IRGen/IRGenMangler.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ class IRGenMangler : public Mangle::ASTMangler {
5151
beginMangling();
5252
appendEntity(func);
5353
appendOperator("Tj");
54+
if (func->isDistributedThunk())
55+
appendSymbolKind(SymbolKind::DistributedThunk);
5456
return finalize();
5557
}
5658

0 commit comments

Comments
 (0)