[Lldb-commits] [lldb] Add symbol locator time for each module in statistics (PR #134563)
Greg Clayton via lldb-commits
lldb-commits at lists.llvm.org
Fri Apr 18 11:55:53 PDT 2025
================
@@ -992,6 +997,8 @@ ModuleList::GetSharedModule(const ModuleSpec &module_spec, ModuleSP &module_sp,
// By getting the object file we can guarantee that the architecture
// matches
if (module_sp && module_sp->GetObjectFile()) {
+ module_sp->GetSymbolLocatorStatistics().add(
+ locator_name, locate_duration.get().count());
----------------
clayborg wrote:
```
module_sp->GetSymbolLocatorStatistics().merge(symbol_locator_map);
```
https://github.com/llvm/llvm-project/pull/134563
More information about the lldb-commits
mailing list