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 @@ -1164,9 +1164,14 @@ class AsyncPartialApplicationForwarderEmission
1164
1164
return fnPtr;
1165
1165
}
1166
1166
llvm::CallInst *createCall (FunctionPointer &fnPtr) override {
1167
+ PointerAuthInfo newAuthInfo;
1168
+ if (auto authInfo = fnPtr.getAuthInfo ()) {
1169
+ newAuthInfo = PointerAuthInfo (authInfo.getCorrespondingCodeKey (),
1170
+ authInfo.getDiscriminator ());
1171
+ }
1167
1172
auto newFnPtr = FunctionPointer (
1168
- FunctionPointer::Kind::Function, fnPtr.getPointer (subIGF),
1169
- fnPtr. getAuthInfo (), Signature::forAsyncAwait (subIGF.IGM , origType));
1173
+ FunctionPointer::Kind::Function, fnPtr.getPointer (subIGF), newAuthInfo,
1174
+ Signature::forAsyncAwait (subIGF.IGM , origType));
1170
1175
auto &Builder = subIGF.Builder ;
1171
1176
1172
1177
auto argValues = args.claimAll ();
You can’t perform that action at this time.
0 commit comments