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

Oliver Hunt via libcxx-commits libcxx-commits at lists.llvm.org
Tue Aug 5 23:11:41 PDT 2025


================
@@ -63,10 +67,11 @@ class DwarfInstructions {
                                   pint_t cfa, const RegisterLocation &savedReg);
 
   static pint_t getCFA(A &addressSpace, const PrologInfo &prolog,
-                       const R &registers) {
-    if (prolog.cfaRegister != 0)
-      return (pint_t)((sint_t)registers.getRegister((int)prolog.cfaRegister) +
-             prolog.cfaRegisterOffset);
+                       R &registers) {
----------------
ojhunt wrote:

I wonder why that changed. Will investigate - possibly during formatting, etc

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


More information about the libcxx-commits mailing list