diff --git a/include/swift/ABI/MetadataValues.h b/include/swift/ABI/MetadataValues.h index c34633649e5d0..803339e6aff63 100644 --- a/include/swift/ABI/MetadataValues.h +++ b/include/swift/ABI/MetadataValues.h @@ -1745,7 +1745,7 @@ namespace SpecialPointerAuthDiscriminators { const uint16_t AsyncContextParent = 0xbda2; // = 48546 const uint16_t AsyncContextResume = 0xd707; // = 55047 const uint16_t AsyncContextYield = 0xe207; // = 57863 - const uint16_t CancellationNotificationFunction = 0x2E3F; // = 11839 (TaskPriority, TaskPriority) -> Void + const uint16_t CancellationNotificationFunction = 0xf73; // = 3955 (TaskPriority, TaskPriority) -> Void const uint16_t EscalationNotificationFunction = 0x7861; // = 30817 const uint16_t AsyncThinNullaryFunction = 0x0f08; // = 3848 const uint16_t AsyncFutureFunction = 0x720f; // = 29199 diff --git a/stdlib/public/Concurrency/Task.cpp b/stdlib/public/Concurrency/Task.cpp index 0bdfc3ca8cb87..0263ec92791f6 100644 --- a/stdlib/public/Concurrency/Task.cpp +++ b/stdlib/public/Concurrency/Task.cpp @@ -1816,7 +1816,7 @@ swift_task_addPriorityEscalationHandlerImpl( void *context) { void *allocation = swift_task_alloc(sizeof(EscalationNotificationStatusRecord)); - auto unsigned_handler = swift_auth_code(handler, 11839); + auto unsigned_handler = swift_auth_code(handler, 3955); auto *record = ::new (allocation) EscalationNotificationStatusRecord(unsigned_handler, context);