[llvm-branch-commits] [llvm] [Dexter] Add support for aggregate expects in the debugger (PR #202545)
Orlando Cazalet-Hyams via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Mon Jun 15 03:25:14 PDT 2026
================
@@ -128,5 +128,8 @@ def detailed_print(self) -> List[str]:
if self.watches:
lines.append(f"Variables:")
for value in sorted(self.watches.values(), key=lambda v: v.expression):
- lines.append(f" {value}")
+ if not value.sub_values:
+ lines.append(f" {value}")
+ else:
+ value.dump_nested(lines, 1)
----------------
OCHyams wrote:
nit: invert the if to avoid the negative check?
https://github.com/llvm/llvm-project/pull/202545
More information about the llvm-branch-commits
mailing list