[Distributed] Handle mangling thunks in extensions with generic AS and $Stubs (#71914)

This commit is contained in:
Konrad `ktoso` Malawski
2024-02-29 21:22:00 +09:00
committed by GitHub
parent 92f3b0f2c4
commit c56a1e8be7
29 changed files with 565 additions and 296 deletions

View File

@@ -771,9 +771,6 @@ public:
llvm::StructType *DynamicReplacementKeyTy; // { i32, i32}
llvm::StructType *AccessibleFunctionRecordTy; // { i32*, i32*, i32*, i32}
llvm::StructType
*AccessibleProtocolRequirementFunctionRecordTy; // { i32*, i32*, i32*,
// i32, i32*, i32*}
// clang-format off
llvm::StructType *AsyncFunctionPointerTy; // { i32, i32 }
@@ -1159,9 +1156,6 @@ public:
void emitAccessibleFunctions();
void emitAccessibleFunction(StringRef sectionName,
std::string mangledRecordName,
std::optional<std::string> mangledActorName,
std::string mangledFunctionName,
SILFunction *func);
llvm::Constant *getConstantSignedFunctionPointer(llvm::Constant *fn,