[Lldb-commits] [lldb] Add locate time and all symbol file path for each module in statistics (PR #134563)

Greg Clayton via lldb-commits lldb-commits at lists.llvm.org
Wed Apr 9 15:18:23 PDT 2025


================
@@ -4267,6 +4269,8 @@ const std::shared_ptr<SymbolFileDWARFDwo> &SymbolFileDWARF::GetDwpSymbolFile() {
       // find the correct DWP file, as the Debuginfod plugin uses *only* this
       // data to correctly match the DWP file with the binary.
       module_spec.GetUUID() = m_objfile_sp->GetUUID();
+      duration.reset();
+      ElapsedTime elapsed(duration);
       dwp_filespec =
           PluginManager::LocateExecutableSymbolFile(module_spec, search_paths);
----------------
clayborg wrote:

```
{
  ElapsedTime elapsed(duration);
  dwp_filespec =
      PluginManager::LocateExecutableSymbolFile(module_spec, search_paths);
}
```

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


More information about the lldb-commits mailing list