File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -1169,9 +1169,14 @@ class AsyncPartialApplicationForwarderEmission
1169
1169
return fnPtr;
1170
1170
}
1171
1171
llvm::CallInst *createCall (FunctionPointer &fnPtr) override {
1172
+ PointerAuthInfo newAuthInfo;
1173
+ if (auto authInfo = fnPtr.getAuthInfo ()) {
1174
+ newAuthInfo = PointerAuthInfo (authInfo.getCorrespondingCodeKey (),
1175
+ authInfo.getDiscriminator ());
1176
+ }
1172
1177
auto newFnPtr = FunctionPointer (
1173
- FunctionPointer::Kind::Function, fnPtr.getPointer (subIGF),
1174
- fnPtr. getAuthInfo (), Signature::forAsyncAwait (subIGF.IGM , origType));
1178
+ FunctionPointer::Kind::Function, fnPtr.getPointer (subIGF), newAuthInfo,
1179
+ Signature::forAsyncAwait (subIGF.IGM , origType));
1175
1180
auto &Builder = subIGF.Builder ;
1176
1181
1177
1182
auto argValues = args.claimAll ();
You can’t perform that action at this time.
0 commit comments