Skip to content

Commit 3028548

Browse files
Merge pull request swiftlang#36719 from aschwaighofer/resume_parent_emitGetAsyncContinuation
IRGen: Fix signing of resumeParent in emitGetAsyncContinuation
2 parents 0f8c3da + fe29da2 commit 3028548

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)