[Lldb-commits] [lldb] Support statistics dump summary only mode (PR #80745)

Greg Clayton via lldb-commits lldb-commits at lists.llvm.org
Mon Feb 5 20:52:03 PST 2024


================
@@ -198,16 +198,24 @@ SBDebugger SBTarget::GetDebugger() const {
 }
 
 SBStructuredData SBTarget::GetStatistics() {
+   LLDB_INSTRUMENT_VA(this);
+  SBStatisticsOptions options;
+  options.SetSummaryOnly(false);
----------------
clayborg wrote:

This defaults to false right? I would make sure the default `SBStatisticsOptions` constructor sets everything to good defaults and we can remove this line.

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


More information about the lldb-commits mailing list