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

Jacob Lalonde via lldb-commits lldb-commits at lists.llvm.org
Wed Aug 14 19:38:27 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())
----------------
Jlalond wrote:

There was an existing check in the constructor, so I follow suite here. Doesn't lldb support Lua as well?

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


More information about the lldb-commits mailing list