asl wrote:

> ELF PAuth is an object file format specific feature that isn't coupled with a 
> specific OS. Keeping it in generic code might help other OSes (e.g. *BSD), if 
> they ever adopt PAuth.

In fact, it is coupled. The idea here is that PAuth effectively defines another 
platform ABI (or several as on Darwin outside arm64e). The platform might chose 
different signing schemes, default options, and object marking scheme. Even 
more, the platform might chose not to expose `-fptrauth-*` options at all (as 
they do change ABI and their use by end users might be discouraged), so it does 
make sense to move the handling to target-specific code.

https://github.com/llvm/llvm-project/pull/113151
_______________________________________________
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to