[Lldb-commits] [lldb] [LLDB][Data Formatters] Calculate average and total time for summary providers within lldb (PR #102708)

Greg Clayton via lldb-commits lldb-commits at lists.llvm.org
Wed Aug 14 17:36:51 PDT 2024


================
@@ -201,3 +216,12 @@ std::string ScriptSummaryFormat::GetDescription() {
   }
   return std::string(sstr.GetString());
 }
+
+std::string ScriptSummaryFormat::GetName() { return m_script_formatter_name; }
+
+std::string ScriptSummaryFormat::GetSummaryKindName() {
+  if (!m_python_script.empty())
----------------
clayborg wrote:

Don't we alway need a `m_python_script`? When can this be empty?

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


More information about the lldb-commits mailing list