[Lldb-commits] [lldb] [lldb-dap] Add: show return value on step out (PR #106907)
via lldb-commits
lldb-commits at lists.llvm.org
Thu Feb 13 15:21:38 PST 2025
================
@@ -663,6 +663,41 @@ def do_test_indexedVariables(self, enableSyntheticChildDebugging: bool):
]["variables"]
self.verify_variables(verify_children, children)
+ def test_return_variables(self):
----------------
Da-Viper wrote:
I think understand it.
A function can either return a value that fits in a register if it too big, it is placed in memory. hence register and memory returns.
Some ABIs you may reuse the register with the return value address.
The test needs to be split to handle register returns and memory returns.
The case of the memory returns does the new test in `TestDAP_variables_children.py` not cover that case ? as it returns a value that will not fit in one register.
https://github.com/llvm/llvm-project/pull/106907
More information about the lldb-commits
mailing list