Skip to content

Commit

Permalink
Use ptrauth_type_info_vtable_pointer_discrimination instead
Browse files Browse the repository at this point in the history
  • Loading branch information
ldionne committed Jul 23, 2024
1 parent 9eb9186 commit e86c25d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libcxx/include/typeinfo
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e86c25d

Please sign in to comment.