[Lldb-commits] [lldb] Add download time for each module in statistics (PR #134563)

via lldb-commits lldb-commits at lists.llvm.org
Thu Apr 10 13:15:44 PDT 2025


================
@@ -345,6 +347,10 @@ llvm::json::Value DebuggerStats::ReportStatistics(
         ++debug_index_saved;
       module_stat.debug_index_time = sym_file->GetDebugInfoIndexTime().count();
       module_stat.debug_parse_time = sym_file->GetDebugInfoParseTime().count();
+      module_stat.symbol_download_time += sym_file->GetSymbolDownloadTime();
+      if (sym_file->GetObjectFile() != module->GetObjectFile())
+        module_stat.symbol_download_time +=
+            module->GetObjectFile()->GetFileSpec().GetDownloadTime();
----------------
GeorgeHuyubo wrote:

Done.

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


More information about the lldb-commits mailing list