[Lldb-commits] [lldb] [lldb] Add isConstant mode for FA locations (PR #110726)

Felipe de Azevedo Piovezan via lldb-commits lldb-commits at lists.llvm.org
Tue Oct 1 12:19:04 PDT 2024


================
@@ -2088,6 +2088,12 @@ bool RegisterContextUnwind::ReadFrameAddress(
     UnwindLogMsg("No suitable CFA found");
     break;
   }
+  case UnwindPlan::Row::FAValue::isConstant: {
+    address = fa.GetConstant();
+    address = abi_sp->FixCodeAddress(address);
----------------
felipepiovezan wrote:

For example, line 2051:

```
if (ABISP abi_sp = m_thread.GetProcess()->GetABI())
        address = abi_sp->FixCodeAddress(address);
```

Now I wonder if this is shadowing the `abi_sp` variable...

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


More information about the lldb-commits mailing list