mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Merge pull request #79781 from nate-chandler/general-coro/20250227/1
[CoroutineAccessors] Dispatch and PtrAuth.
This commit is contained in:
@@ -1225,6 +1225,14 @@ llvm::Constant *IRGenModule::getDeletedAsyncMethodErrorAsyncFunctionPointer() {
|
||||
LinkEntity::forKnownAsyncFunctionPointer("swift_deletedAsyncMethodError")).getValue();
|
||||
}
|
||||
|
||||
llvm::Constant *IRGenModule::
|
||||
getDeletedCalleeAllocatedCoroutineMethodErrorAsyncFunctionPointer() {
|
||||
return getAddrOfLLVMVariableOrGOTEquivalent(
|
||||
LinkEntity::forKnownAsyncFunctionPointer(
|
||||
"swift_deletedCalleeAllocatedCoroutineMethodError"))
|
||||
.getValue();
|
||||
}
|
||||
|
||||
static bool isReturnAttribute(llvm::Attribute::AttrKind Attr);
|
||||
static bool isReturnedAttribute(llvm::Attribute::AttrKind Attr);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user