[llvm-branch-commits] Add pointer field protection feature. (PR #133538)
Peter Collingbourne via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Wed May 14 22:25:30 PDT 2025
================
@@ -544,6 +544,7 @@ TYPE_TRAIT_2(__is_pointer_interconvertible_base_of, IsPointerInterconvertibleBas
#include "clang/Basic/TransformTypeTraits.def"
// Clang-only C++ Type Traits
+TYPE_TRAIT_1(__has_non_relocatable_fields, HasNonRelocatableFields, KEYCXX)
----------------
pcc wrote:
I don't like it either. As mentioned in the main comment, I hope to get rid of this when the P2786 implementation is finalized.
Sharing the qualifiers with PAuth ABI would be a good idea for the separate opt-in solution.
https://github.com/llvm/llvm-project/pull/133538
More information about the llvm-branch-commits
mailing list