[llvm-branch-commits] [libcxx] Prepare libcxx and libcxxabi for pointer field protection. (PR #151651)

Peter Collingbourne via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Mar 25 09:47:11 PDT 2026


================
@@ -300,7 +300,7 @@ class _LIBCPP_EXPORTED_FROM_ABI _LIBCPP_TYPE_INFO_VTABLE_POINTER_AUTH type_info
 protected:
   typedef __type_info_implementations::__impl __impl;
 
-  __impl::__type_name_t __type_name;
+  _LIBCPP_NO_PFP __impl::__type_name_t __type_name;
----------------
pcc wrote:

That's right.

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


More information about the llvm-branch-commits mailing list