efriedma-quic wrote:

I'm not sure I understand the goal here.

For return-address signing, each function can make its own choice about whether 
to sign; the function that's doing the signing is the same function that does 
the auth, so it doesn't directly impact any other function. For branch target 
enforcement, though, everything needs to agree that branch targets are supposed 
to be enforced, or else the process crashes.  So there's no point to modifying 
whether it's enabled for a single function.

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

Reply via email to