File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 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 {
275275 __impl;
276276};
277277
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__)
280281# 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)]]
282283# else
283284# 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)]]
285287# endif
286288# else
287289# define _LIBCPP_TYPE_INFO_VTABLE_POINTER_AUTH
You can’t perform that action at this time.
0 commit comments