[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
Mon Sep 22 09:59:11 PDT 2025


================
@@ -807,7 +812,12 @@ DEFINE_LIBUNWIND_FUNCTION(__unw_getcontext)
   str    d31,     [x0, #0x208]
 #endif
   mov    x0, #0                   // return UNW_ESUCCESS
+
+#if __has_feature(ptrauth_calls)
+  retab
+#else
----------------
kovdan01 wrote:

Closing the thread in favor of:

1. (To be fixed in scope of this PR) Comment in this PR about use of feature checks: TODO

2. (To be done as a follow up) Investigation issue about v8.2 compatibility: #160114

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


More information about the libcxx-commits mailing list