[libcxx-commits] [compiler-rt] [libcxx] [libcxxabi] [libunwind] [runtimes][PAC] Harden unwinding when possible (PR #143230)

Daniil Kovalev via libcxx-commits libcxx-commits at lists.llvm.org
Wed Sep 3 05:19:24 PDT 2025


kovdan01 wrote:

Thanks @ojhunt for updates! These resolve some of the previously found issues, but many problems are still present (both previously reported and newly found). I tried to resolve all the threads which are now no longer relevant, so please treat all the opened threads as issues which need your attention.

I would be happy to provide any help - just let me know if it's needed.

Here are the issues I'd want to highlight - these should probably be resolved first.

1. Build issues due to missing `unw_word_t` and `UNW_REG_SP` declarations in libcxxabi/src/cxa_personality.cpp: https://github.com/llvm/llvm-project/pull/143230#discussion_r2316986679

2. Fix personality pointer authentication on non-Apple targets: https://github.com/llvm/llvm-project/pull/143230#discussion_r2318636296

3. Fix handling signed RA in `DwarfInstructions<A, R>::stepWithDwarf`: https://github.com/llvm/llvm-project/pull/143230#discussion_r2318709982

4. Look through ptrauth_calls/ptrauth_returns/other ptrauth checks and ensure that they are correct. On arm64e, there is no difference, while correct checks might be important for other ptrauth-enabled ABIs when having feature X does not necessarily imply having feature Y



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


More information about the libcxx-commits mailing list