[Lldb-commits] [lldb] [lldb] Add/change options in `statistics dump` to control what sections are dumped (PR #95075)
Greg Clayton via lldb-commits
lldb-commits at lists.llvm.org
Mon Jun 17 18:00:12 PDT 2024
================
@@ -76,13 +77,22 @@ class CommandObjectStatsDump : public CommandObjectParsed {
m_all_targets = true;
break;
case 's':
- m_stats_options.summary_only = true;
+ m_stats_options.SetSummaryOnly(true);
break;
case 'f':
- m_stats_options.load_all_debug_info = true;
+ m_stats_options.SetLoadAllDebugInfo(true);
+ break;
+ case 'r':
+ m_stats_options.SetIncludeTargets(OptionArgParser::ToBoolean(
+ "--targets", option_arg, true /* doesn't matter */, error));
+ break;
+ case 'm':
+ m_stats_options.SetIncludeModules(OptionArgParser::ToBoolean(
+ "--modules", option_arg, true /* doesn't matter */, error));
break;
case 't':
- m_stats_options.include_transcript = true;
+ m_stats_options.SetIncludeTranscript(OptionArgParser::ToBoolean(
+ "--transcript", option_arg, true /* doesn't matter */, error));
----------------
clayborg wrote:
Ditto.
https://github.com/llvm/llvm-project/pull/95075
More information about the lldb-commits
mailing list