================ @@ -917,9 +917,14 @@ ModuleList::GetSharedModule(const ModuleSpec &module_spec, ModuleSP &module_sp, // Fixup the incoming path in case the path points to a valid file, yet the // arch or UUID (if one was passed in) don't match. - ModuleSpec located_binary_modulespec = - PluginManager::LocateExecutableObjectFile(module_spec); - + ModuleSpec located_binary_modulespec; + StatsDuration locate_duration; + std::string locator_name; + { + ElapsedTime elapsed(locate_duration); + located_binary_modulespec = + PluginManager::LocateExecutableObjectFile(module_spec, &locator_name); + } ---------------- clayborg wrote:
Same thing here, create a local `StatisticsMap` just like above and pass it in. 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