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

Daniil Kovalev via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 18 01:52:39 PDT 2025


================
@@ -207,7 +211,8 @@ bool DwarfInstructions<A, R>::isReturnAddressSignedWithPC(A &addressSpace,
 #endif
 
 template <typename A, typename R>
-int DwarfInstructions<A, R>::stepWithDwarf(A &addressSpace, pint_t pc,
+int DwarfInstructions<A, R>::stepWithDwarf(A &addressSpace,
----------------
kovdan01 wrote:

In this function, we have `newRegisters.setIP(returnAddress);`. The `returnAddress` there is unsigned, which causes an error when trying to auth and resign in `setIP` (at least, this is the case for me locally).

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


More information about the llvm-commits mailing list