File tree Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -2792,11 +2792,22 @@ using ResilientWitnessesHeader = TargetResilientWitnessesHeader<InProcess>;
2792
2792
// / global actor protocol.
2793
2793
template <typename Runtime>
2794
2794
struct TargetGlobalActorReference {
2795
+ private:
2796
+ using SignedDescriptorPointer =
2797
+ const TargetProtocolConformanceDescriptor<Runtime>
2798
+ *__ptrauth_swift_protocol_conformance_descriptor;
2799
+
2800
+ public:
2795
2801
// / The type of the global actor.
2796
2802
RelativeDirectPointer<const char , /* nullable*/ false > type;
2797
2803
2798
2804
// / The conformance of the global actor to the GlobalActor protocol.
2799
- TargetRelativeProtocolConformanceDescriptorPointer<Runtime> conformance;
2805
+ RelativeIndirectablePointer<
2806
+ const TargetProtocolConformanceDescriptor<Runtime>,
2807
+ /* nullable*/ false ,
2808
+ /* offset*/ int32_t ,
2809
+ /* indirect type*/ SignedDescriptorPointer>
2810
+ conformance;
2800
2811
};
2801
2812
2802
2813
// / Describes the context of a protocol conformance that is relevant when
Original file line number Diff line number Diff line change @@ -272,6 +272,9 @@ extern uintptr_t __COMPATIBILITY_LIBRARIES_CANNOT_CHECK_THE_IS_SWIFT_BIT_DIRECTL
272
272
#define __ptrauth_swift_type_descriptor \
273
273
__ptrauth (ptrauth_key_process_independent_data, 1 , \
274
274
SpecialPointerAuthDiscriminators::TypeDescriptor)
275
+ #define __ptrauth_swift_protocol_conformance_descriptor \
276
+ __ptrauth (ptrauth_key_process_independent_data, 1 , \
277
+ SpecialPointerAuthDiscriminators::ProtocolConformanceDescriptor)
275
278
#define __ptrauth_swift_dynamic_replacement_key \
276
279
__ptrauth (ptrauth_key_process_independent_data, 1 , \
277
280
SpecialPointerAuthDiscriminators::DynamicReplacementKey)
@@ -365,6 +368,7 @@ extern uintptr_t __COMPATIBILITY_LIBRARIES_CANNOT_CHECK_THE_IS_SWIFT_BIT_DIRECTL
365
368
#define __ptrauth_swift_runtime_function_entry_strip (__fn ) (__fn)
366
369
#define __ptrauth_swift_heap_object_destructor
367
370
#define __ptrauth_swift_type_descriptor
371
+ #define __ptrauth_swift_protocol_conformance_descriptor
368
372
#define __ptrauth_swift_nonunique_extended_existential_type_shape
369
373
#define __ptrauth_swift_dynamic_replacement_key
370
374
#define swift_ptrauth_sign_opaque_read_resume_function (__fn, __buffer ) (__fn)
You can’t perform that action at this time.
0 commit comments