labath added a comment.

In D114008#3153211 <https://reviews.llvm.org/D114008#3153211>, @danilashtefan 
wrote:

> As we discussed offline, I add the print tests, since SBValue.GetValue() 
> doesn't work for complex structures

There are different ways you can do that depending on what you want to test 
precisely. You can (programatically, using loops?) construct nested 
`ValueCheck` structures and pass that to the `expect_var_path` .

Or you can, issue a bunch of smaller `expect_var_path` commands targetting 
individual subobjects, again using loops (`expect_var_path("myobj[%d]"%i, ...`).


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D114008/new/

https://reviews.llvm.org/D114008

_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to