[Lldb-commits] [lldb] [LLDB] Add type summaries for MSVC STL strings (PR #143177)

David Spickett via lldb-commits lldb-commits at lists.llvm.org
Wed Jun 18 01:46:53 PDT 2025


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


More information about the lldb-commits mailing list