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

via lldb-commits lldb-commits at lists.llvm.org
Thu Apr 17 17:07:25 PDT 2025


================
@@ -1217,28 +1217,36 @@ PluginManager::GetSymbolLocatorCreateCallbackAtIndex(uint32_t idx) {
 }
 
 ModuleSpec
-PluginManager::LocateExecutableObjectFile(const ModuleSpec &module_spec) {
+PluginManager::LocateExecutableObjectFile(const ModuleSpec &module_spec,
+                                          std::string *locator_name) {
   auto instances = GetSymbolLocatorInstances().GetSnapshot();
   for (auto &instance : instances) {
     if (instance.locate_executable_object_file) {
       std::optional<ModuleSpec> result =
           instance.locate_executable_object_file(module_spec);
-      if (result)
+      if (result) {
----------------
GeorgeHuyubo wrote:

Not possible here, since it's a loop. We will try all symbol locator.

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


More information about the lldb-commits mailing list