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

Reply via email to