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

via lldb-commits lldb-commits at lists.llvm.org
Thu Apr 10 13:13:48 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();
----------------
GeorgeHuyubo wrote:

In the latest version, I kind of switched back for the pure download time only for performance measurement instead of the whole locating time. In this specific case I feel like we probably should ignore the duration of the first PluginManager::LocateExecutableSymbolFile call since without setting the UUID the debuginfod Symbol locator should not work at all.

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


More information about the lldb-commits mailing list