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
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to