Skip to content

Commit fe29da2

Browse files
committed
IRGen: Fix signing of resumeParent in emitGetAsyncContinuation
rdar://76103735
1 parent 63d0b73 commit fe29da2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/IRGen/IRGenFunction.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -621,7 +621,7 @@ void IRGenFunction::emitGetAsyncContinuation(SILType resumeTy,
621621
llvm::Value *coroResumeValue =
622622
Builder.CreateBitOrPointerCast(coroResume,
623623
IGM.TaskContinuationFunctionPtrTy);
624-
if (auto schema = IGM.getOptions().PointerAuth.TaskResumeFunction) {
624+
if (auto schema = IGM.getOptions().PointerAuth.AsyncContextResume) {
625625
auto authInfo = PointerAuthInfo::emit(*this, schema,
626626
resumeFunctionAddr.getAddress(),
627627
PointerAuthEntity());

0 commit comments

Comments
 (0)