[llvm] [BOLT][AArch64] Support for pointer authentication (v2) (PR #120064)

Paschalis Mpeis via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 17 08:00:03 PDT 2025


https://github.com/paschalis-mpeis commented:

Thanks Gergely for adding the tests!


Currently, these CFIs are processed without requiring any flag, ie this works out of the box:

>  llvm-bolt %t.exe -o %t.exe.bolt

Since this is a new feature, do you think it might be worth guarding it with a flag to make it more explicit to users? For example, fail with some advice when the flag is not present, otherwise process Negate-RA CFIs.

Regardless, I think it would be helpful to emit a BOLT-INFO stat summarizing what was done. So users are aware that this feature was used and applied to N places.

Please find a few more comments below. Thanks again. Great work! :)

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


More information about the llvm-commits mailing list