DavidSpickett wrote:

> Added a new type summary kind CXXCompositeSummaryFormat. It holds a list of 
> child summaries paired with a validator function that checks if a ValueObject 
> can be formatted by a child. This feels like it should be done in another PR, 
> but there aren't any tests for it other than the STL formatters (since it's 
> only in C++ it can't be used in Python).

I had a similar problem with another formatting option, so I added 
https://github.com/llvm/llvm-project/blob/main/lldb/unittests/ValueObject/DumpValueObjectOptionsTests.cpp.

Maybe you could extend or take inspiration from that.

https://github.com/llvm/llvm-project/pull/143177
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to