[Lldb-commits] [lldb] [lldb] Add support for updating string during debug process (PR #67782)

via lldb-commits lldb-commits at lists.llvm.org
Fri Sep 29 08:08:10 PDT 2023


================
@@ -231,23 +244,39 @@ def cleanup():
             "frame variable is",
             substrs=[
                 multimap,
-                "size=4",
-                '[0] = (first = 1, second = "is")',
-                '[1] = (first = 2, second = "smart")',
-                '[2] = (first = 3, second = "!!!")',
-                '[3] = (first = 85, second = "goofy")',
+                'size=4',
----------------
jimingham wrote:

What is it about this change that is defeating the ValueObject printer from compressing this output onto one line?  It looks like the contents that get printed are the same, so there's something about switching from a Summary provider to a child provider that's causing problems.  We should fix that as people are really picky about variable printing being as space efficient as possible.

https://github.com/llvm/llvm-project/pull/67782


More information about the lldb-commits mailing list