[compiler-rt] [libcxx] [libcxxabi] [libunwind] [runtimes][PAC] Harden unwinding when possible (PR #143230)
Daniil Kovalev via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 6 09:12:42 PDT 2025
================
@@ -597,6 +606,18 @@ _LIBUNWIND_EXPORT uintptr_t _Unwind_GetIP(struct _Unwind_Context *context) {
unw_cursor_t *cursor = (unw_cursor_t *)context;
unw_word_t result;
__unw_get_reg(cursor, UNW_REG_IP, &result);
+
+#if defined(__ARM64E__)
----------------
kovdan01 wrote:
It looks like you've accidentally changes this from a generic check against ptrauth being enabled to a check against arm64e. To make tests passing on Linux, we need to use smth like `_LIBUNWIND_TARGET_AARCH64_AUTHENTICATED_UNWINDING`.
https://github.com/llvm/llvm-project/pull/143230
More information about the llvm-commits
mailing list