[clang] [PAC] [clang] Add default handling for ptrauth elf-got option (PR #188749)

Daniil Kovalev via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 26 07:19:14 PDT 2026


kovdan01 wrote:

It was an intentional design decision not to enable `-fptrauth-elf-got` as part of pauthtest ABI on public LLVM upstream. Most platforms use RELRO, and we do not need GOT signing for them because the GOT section becomes read-only right after dynamic relocations are resolved.

So, unless @asl has a different vision on this, I suppose it's worth leaving this choice for downstream platforms :)


https://github.com/llvm/llvm-project/pull/188749


More information about the cfe-commits mailing list