atrosinenko wrote:

I'm not very familiar with managing the module flags, but this sounds 
reasonable, thanks.

Aside from obvious reason to **sign** the GOT entries, Clang's documentation on 
Pointer Authentication 
[mentions](https://clang.llvm.org/docs/PointerAuthentication.html#global-offset-tables)
 that there are valid reasons **against** signing GOT entries when RELRO is 
absolutely known to be in effect. Given that, erroring out on any disagreement 
seems to be the safest option.

Considering `ptrauth-sign-personality`, even Max should be acceptable, I guess, 
but Error is of course the safest by default.

Do I get it right these discrepancies are not expected in a properly set up 
environment?

https://github.com/llvm/llvm-project/pull/189923
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to