From e86c25d22369aecac528c242dc6ce7333e75deae Mon Sep 17 00:00:00 2001 From: Louis Dionne Date: Tue, 23 Jul 2024 11:23:29 -0400 Subject: [PATCH] Use ptrauth_type_info_vtable_pointer_discrimination instead --- libcxx/include/typeinfo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libcxx/include/typeinfo b/libcxx/include/typeinfo index cdb07e6008c4a5..2727cad02fa99a 100644 --- a/libcxx/include/typeinfo +++ b/libcxx/include/typeinfo @@ -276,7 +276,7 @@ struct __type_info_implementations { }; # if __has_cpp_attribute(_Clang::__ptrauth_vtable_pointer__) -# if __has_feature(ptrauth_type_info_discriminated_vtable_pointer) +# if __has_feature(ptrauth_type_info_vtable_pointer_discrimination) # define _LIBCPP_TYPE_INFO_VTABLE_POINTER_AUTH \ [[_Clang::__ptrauth_vtable_pointer__(process_independent, address_discrimination, type_discrimination)]] # else