[llvm-branch-commits] [libc++] Annotate classes with _LIBCPP_PFP to enable pointer field protection (PR #151652)
Louis Dionne via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue Apr 7 06:55:18 PDT 2026
https://github.com/ldionne commented:
Rebasing my understanding of this patch since some things seem to have changed since the last time I looked.
IIUC, pointer field protection is now not applied implicitly by the compiler (to any type? or just to standard library types?). So this patch is almost the inverse of what it started as: instead of disabling PFP for several types, we now instead only opt-in those classes that we want to have PFP for.
In Clang, how is the determination of whether a type is implicitly PFP made in the latest version of PFP?
https://github.com/llvm/llvm-project/pull/151652
More information about the llvm-branch-commits
mailing list