[llvm-branch-commits] Add pointer field protection feature. (PR #133538)
Mark de Wever via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Wed Apr 9 10:46:42 PDT 2025
================
@@ -1215,6 +1215,29 @@ typedef __char32_t char32_t;
# define _LIBCPP_HAS_EXPLICIT_THIS_PARAMETER 0
# endif
+# if __has_feature(pointer_field_protection)
----------------
mordante wrote:
Since this feature is an ABI break, it will cause ODR violations to these structs. I think we should ABI tag this in `_LIBCPP_ODR_SIGNATURE`.
https://github.com/llvm/llvm-project/pull/133538
More information about the llvm-branch-commits
mailing list