[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:24 PDT 2025
================
@@ -4250,11 +4250,13 @@ const std::shared_ptr<SymbolFileDWARFDwo> &SymbolFileDWARF::GetDwpSymbolFile() {
ModuleSpec module_spec;
module_spec.GetFileSpec() = m_objfile_sp->GetFileSpec();
FileSpec dwp_filespec;
+ StatsDuration duration;
for (const auto &symfile : symfiles.files()) {
module_spec.GetSymbolFileSpec() =
FileSpec(symfile.GetPath() + ".dwp", symfile.GetPathStyle());
LLDB_LOG(log, "Searching for DWP using: \"{0}\"",
module_spec.GetSymbolFileSpec());
+ 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