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
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to