================
@@ -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
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits