https://github.com/kastiglione created https://github.com/llvm/llvm-project/pull/81681
None >From 35a48898e20ba45db829dbf137d88a8417dd4d7c Mon Sep 17 00:00:00 2001 From: Dave Lee <davelee....@gmail.com> Date: Tue, 13 Feb 2024 14:43:33 -0800 Subject: [PATCH] [lldb] Add comment on cross printing of summary/value --- lldb/source/Core/ValueObject.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lldb/source/Core/ValueObject.cpp b/lldb/source/Core/ValueObject.cpp index e80042826f7d64..2a2bb128d33c57 100644 --- a/lldb/source/Core/ValueObject.cpp +++ b/lldb/source/Core/ValueObject.cpp @@ -1312,6 +1312,7 @@ bool ValueObject::DumpPrintableRepresentation( break; } + // Try summary if no value, and value if no summary. if (str.empty()) { if (val_obj_display == eValueObjectRepresentationStyleValue) str = GetSummaryAsCString(); _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits