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

Greg Clayton via lldb-commits lldb-commits at lists.llvm.org
Fri Apr 18 11:55:53 PDT 2025


================
@@ -297,6 +309,10 @@ Status ProcessKDP::DoConnectRemote(llvm::StringRef remote_url) {
 
               if (FileSystem::Instance().Exists(module_spec.GetFileSpec())) {
                 ModuleSP module_sp(new Module(module_spec));
+                module_sp->GetSymbolLocatorStatistics().add(
+                    object_locator_name, object_duration.get().count());
+                module_sp->GetSymbolLocatorStatistics().add(
+                    symbol_locator_name, symbol_duration.get().count());
----------------
clayborg wrote:

call `StatisticsMap::merge()` here.

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


More information about the lldb-commits mailing list