[Lldb-commits] [lldb] [lldb] Add count for number of DWO files loaded in statistics (PR #144424)

David Peixotto via lldb-commits lldb-commits at lists.llvm.org
Tue Jun 17 11:26:46 PDT 2025


================
@@ -353,6 +355,30 @@ llvm::json::Value DebuggerStats::ReportStatistics(
         for (const auto &symbol_module : symbol_modules.Modules())
           module_stat.symfile_modules.push_back((intptr_t)symbol_module.get());
       }
+      // Count DWO files from this symbol file using GetSeparateDebugInfo
----------------
dmpots wrote:

Could we put this logic into a separate function like and call it here?

Something like
```
updateDwoCounts(sym_file, total_dwo_file_count, totoal_loaded_dwo_file_count)
```


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


More information about the lldb-commits mailing list