[Lldb-commits] [lldb] [lldb][Windows] Fix x86_64 default unwind plan (PR #210076)

Charles Zablit via lldb-commits lldb-commits at lists.llvm.org
Fri Jul 17 06:21:41 PDT 2026


charles-zablit wrote:

> Would it also have worked to say that `CFA = rsp` and `PC = [CFA]`?

Yes because we are reading from the same stack slot:

<table>
<tr>
 <td>
 <td>CFA
 <td>PC
<tr>
 <td>This patch
 <td>rsp + 8
 <td>pc = [CFA - 8] = [rsp]
<tr>
 <td>Your suggestion
 <td>rsp
 <td>pc = [CFA] = [rsp]
</table>

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


More information about the lldb-commits mailing list