[Lldb-commits] [lldb] [lldb] Add count for errors of DWO files in statistics and combine DWO file count functions (PR #155023)

Ziyi Wang via lldb-commits lldb-commits at lists.llvm.org
Mon Aug 25 13:37:38 PDT 2025


================
@@ -496,6 +496,10 @@ class SymbolFile : public PluginInterface {
   ///     symbol file doesn't support DWO files, both counts will be 0.
   virtual std::pair<uint32_t, uint32_t> GetDwoFileCounts() { return {0, 0}; }
 
+  /// Calculates the count of dwo load error, return the number of dwo file with
+  /// errors, 0 by default.
+  virtual uint32_t CountDwoLoadErrors() { return 0; }
+
----------------
zw3917 wrote:

Thanks for pointing this out! Just updated the implementation to use the new structure.

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


More information about the lldb-commits mailing list