File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
stdlib/public/Concurrency Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -1763,7 +1763,8 @@ swift_task_addCancellationHandlerImpl(
17631763 void *context) {
17641764 void *allocation =
17651765 swift_task_alloc (sizeof (CancellationNotificationStatusRecord));
1766- auto unsigned_handler = swift_auth_code (handler, 3848 );
1766+ auto unsigned_handler = swift_auth_code_function (handler,
1767+ SpecialPointerAuthDiscriminators::CancellationNotificationFunction);
17671768 auto *record = ::new (allocation)
17681769 CancellationNotificationStatusRecord (unsigned_handler, context);
17691770
@@ -1817,7 +1818,8 @@ swift_task_addPriorityEscalationHandlerImpl(
18171818 void *context) {
18181819 void *allocation =
18191820 swift_task_alloc (sizeof (EscalationNotificationStatusRecord));
1820- auto unsigned_handler = swift_auth_code (handler, 30817 );
1821+ auto unsigned_handler = swift_auth_code_function (handler,
1822+ SpecialPointerAuthDiscriminators::EscalationNotificationFunction);
18211823 auto *record = ::new (allocation)
18221824 EscalationNotificationStatusRecord (unsigned_handler, context);
18231825
You can’t perform that action at this time.
0 commit comments