File tree 1 file changed +6
-4
lines changed
1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -275,13 +275,15 @@ struct __type_info_implementations {
275
275
__impl;
276
276
};
277
277
278
- # if __has_cpp_attribute(clang::ptrauth_vtable_pointer)
279
- # if __has_feature(ptrauth_type_info_discriminated_vtable_pointer)
278
+ # if __has_cpp_attribute(_Clang::__ptrauth_vtable_pointer__) && __has_feature(__ptrauth_calls__)
279
+ # if __has_feature(__ptrauth_vtable_address_discrimination__) || \
280
+ __has_feature (__ptrauth_vtable_type_discrimination__)
280
281
# define _LIBCPP_TYPE_INFO_VTABLE_POINTER_AUTH \
281
- [[clang::ptrauth_vtable_pointer (process_independent, address_discrimination, type_discrimination)]]
282
+ [[_Clang::__ptrauth_vtable_pointer__ (process_independent, address_discrimination, type_discrimination)]]
282
283
# else
283
284
# define _LIBCPP_TYPE_INFO_VTABLE_POINTER_AUTH \
284
- [[clang::ptrauth_vtable_pointer(process_independent, no_address_discrimination, no_extra_discrimination)]]
285
+ [[_Clang::__ptrauth_vtable_pointer__( \
286
+ process_independent, no_address_discrimination, no_extra_discrimination)]]
285
287
# endif
286
288
# else
287
289
# define _LIBCPP_TYPE_INFO_VTABLE_POINTER_AUTH
You can’t perform that action at this time.
0 commit comments