[Lldb-commits] [lldb] Add locate time and all symbol file path for each module in statistics (PR #134563)

via lldb-commits lldb-commits at lists.llvm.org
Wed Apr 9 16:05:28 PDT 2025


================
@@ -422,6 +424,11 @@ class SymbolFile : public PluginInterface {
   /// hasn't been indexed yet, or a valid duration if it has.
   virtual StatsDuration::Duration GetDebugInfoIndexTime() { return {}; }
 
+  /// Return the time it took to locate any extra symbol files.
+  ///
+  /// \returns 0.0 if no extra symbol files need to be located
+  virtual StatsDuration::Duration GetSymbolLocateTime() { return {}; }
+
----------------
GeorgeHuyubo wrote:

> move to `lldb_private::Module`

I think we still need this at Symbol File level right? Thinking of SymbolFileDWARF scenario we still want to calculate the locate time for dwp files.

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


More information about the lldb-commits mailing list