================
@@ -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
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to