[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
Fri Oct 10 16:14:38 PDT 2025
https://github.com/pcc commented:
> More generally, I feel like PFP needs its own __config_site instead of the ad-hoc annotations all around. @ldionne any thoughts?
Not sure exactly what you had in mind. Would this be another macro like _LIBCPP_HARDENING_MODE_DEFAULT? I guess __config_site is necessary for default hardening mode because it's only specified via config options, but with PFP the compiler "knows" whether it is enabled via the builtin macro so we can just test for the macro in __config.
https://github.com/llvm/llvm-project/pull/151651
More information about the llvm-branch-commits
mailing list