Skip to content

Commit bf868b0

Browse files
committed
[Runtime] Add ptrauth to standard concurrency descriptors.
Put the __ptrauth_swift_type_descriptor qualifier on the fields of ConcurrencyStandardTypeDescriptors.
1 parent 74bd36e commit bf868b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/swift/Runtime/Metadata.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -997,7 +997,7 @@ void swift_disableDynamicReplacementScope(const DynamicReplacementScope *scope);
997997
struct ConcurrencyStandardTypeDescriptors {
998998
#define STANDARD_TYPE(KIND, MANGLING, TYPENAME)
999999
#define STANDARD_TYPE_CONCURRENCY(KIND, MANGLING, TYPENAME) \
1000-
const ContextDescriptor *TYPENAME;
1000+
const ContextDescriptor * __ptrauth_swift_type_descriptor TYPENAME;
10011001
#include "swift/Demangling/StandardTypesMangling.def"
10021002
};
10031003

0 commit comments

Comments
 (0)