[libcxx-commits] [libcxx] [libcxxabi] [libc++] Upstream ptrauth support in libc++ and libc++abi (PR #84573)

via libcxx-commits libcxx-commits at lists.llvm.org
Fri Mar 8 14:14:24 PST 2024


================
@@ -276,7 +276,19 @@ struct __type_info_implementations {
           __impl;
 };
 
-class _LIBCPP_EXPORTED_FROM_ABI type_info {
+#    if defined(__arm64__) && __has_cpp_attribute(clang::ptrauth_vtable_pointer)
----------------
EricWF wrote:

This seems like configuration that might be better suited for a config header?

type_info is weird magic though, so I understand if you disagree.

https://github.com/llvm/llvm-project/pull/84573


More information about the libcxx-commits mailing list