[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


================
@@ -122,6 +122,7 @@ struct ModuleStats {
   double symtab_index_time = 0.0;
   double debug_parse_time = 0.0;
   double debug_index_time = 0.0;
+  llvm::StringMap<double> symbol_locator_time;
----------------
clayborg wrote:

We should move `StatisticsMap` into this file and then have `StatisticsMap` use a `llvm::StringMap<double>` instead of a `std::unordered_map<std::string, double> map;`. Then you can just copy it over into this object.

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


More information about the lldb-commits mailing list