[llvm-branch-commits] Prepare libcxx and libcxxabi for pointer field protection. (PR #151651)
Nikolas Klauser via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Wed Sep 10 08:13:37 PDT 2025
================
@@ -484,8 +484,21 @@ typedef __char32_t char32_t;
# define _LIBCPP_EXCEPTIONS_SIG e
# endif
+# if !_LIBCPP_HAS_EXCEPTIONS
+# define _LIBCPP_EXCEPTIONS_SIG n
+# else
+# define _LIBCPP_EXCEPTIONS_SIG e
+# endif
+
+# if defined(__POINTER_FIELD_PROTECTION__)
+# define _LIBCPP_PFP_SIG p
+# else
+# define _LIBCPP_PFP_SIG
+# endif
----------------
philnik777 wrote:
My understanding is that pfp changes the layout of certain types? Why should there be an ABI tag for it?
https://github.com/llvm/llvm-project/pull/151651
More information about the llvm-branch-commits
mailing list