[compiler-rt] [libcxxabi] [libunwind] [runtimes][PAC] Harden unwinding when possible (#138571) (PR #143230)
Anatoly Trosinenko via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 10 07:34:25 PDT 2025
================
@@ -1974,6 +1994,17 @@ bool UnwindCursor<A, R>::getInfoFromCompactEncodingSection(pint_t pc,
personalityIndex * sizeof(uint32_t));
pint_t personalityPointer = sects.dso_base + (pint_t)personalityDelta;
personality = _addressSpace.getP(personalityPointer);
+#if __has_feature(ptrauth_calls)
+ // The GOT for the personality function was signed address authenticated.
+ // Resign is as a regular function pointer.
----------------
atrosinenko wrote:
[nit] Typo?
```suggestion
// Resign it as a regular function pointer.
```
https://github.com/llvm/llvm-project/pull/143230
More information about the llvm-commits
mailing list