[libunwind] [PAC][libunwind] Pass ptrauth-qualified values as const references (PR #173765)
Daniil Kovalev via cfe-commits
cfe-commits at lists.llvm.org
Sun Dec 28 07:55:33 PST 2025
kovdan01 wrote:
@ojhunt Could you please take a look at this and ensure that it does not break anything when running your local Apple-specific tests?
I do not expect any breakages since casts like `__ptrauth(/*...*/) uint64_t` -> `void *` are handled by the compiler properly. So, when calling functions which expect unsigned pointers (see for example calls in `LocalAddressSpace::findUnwindSections`), we properly do an auth and then pass the unsigned pointers as expected.
But, even though no breakages are expected, it's always worth to try it out before merging :)
https://github.com/llvm/llvm-project/pull/173765
More information about the cfe-commits
mailing list