================ @@ -83,13 +86,15 @@ class CommandObjectStatsDump : public CommandObjectParsed { void OptionParsingStarting(ExecutionContext *execution_context) override { m_all_targets = false; + m_summary_only = false; } llvm::ArrayRef<OptionDefinition> GetDefinitions() override { return llvm::ArrayRef(g_statistics_dump_options); } bool m_all_targets = false; + bool m_summary_only = false; ---------------- kusmour wrote:
> We should probably also move `m_all_targets` into > `lldb_private::StatisticsOptions` I can do that but notice the `m_all_targets` was not used anywhere outside of the command object. The target is decided with the current execution context. https://github.com/llvm/llvm-project/pull/80745 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits