================ @@ -276,12 +276,24 @@ Status ProcessKDP::DoConnectRemote(llvm::StringRef remote_url) { // Lookup UUID locally, before attempting dsymForUUID like action FileSpecList search_paths = Target::GetDefaultDebugFileSearchPaths(); - module_spec.GetSymbolFileSpec() = - PluginManager::LocateExecutableSymbolFile(module_spec, - search_paths); + StatsDuration symbol_duration; + std::string symbol_locator_name; + StatsDuration object_duration; + std::string object_locator_name; + { + ElapsedTime elapsed(symbol_duration); + module_spec.GetSymbolFileSpec() = + PluginManager::LocateExecutableSymbolFile( + module_spec, search_paths, &symbol_locator_name); + } if (module_spec.GetSymbolFileSpec()) { - ModuleSpec executable_module_spec = - PluginManager::LocateExecutableObjectFile(module_spec); + ModuleSpec executable_module_spec; + { + ElapsedTime elapsed(object_duration); + executable_module_spec = + PluginManager::LocateExecutableObjectFile( + module_spec, &object_locator_name); + } ---------------- clayborg wrote:
Same thing here. https://github.com/llvm/llvm-project/pull/134563 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits