[Lldb-commits] [lldb] Report only loaded debug info in statistics dump (PR #81706)

Greg Clayton via lldb-commits lldb-commits at lists.llvm.org
Thu Feb 15 19:51:17 PST 2024


================
@@ -186,7 +186,19 @@ class SymbolFileDWARF : public SymbolFileCommon {
   GetMangledNamesForFunction(const std::string &scope_qualified_name,
                              std::vector<ConstString> &mangled_names) override;
 
-  uint64_t GetDebugInfoSize() override;
+  /// Get total currently loaded debug info size or total possible debug info
+  /// size.
+  ///
+  /// For cases like .dwo files, the debug info = skeleton debug info +
+  /// all dwo debug info where .dwo files might not be loaded yet. Calling this
+  /// function by default will NOT force the loading of any .dwo files.
+  ///
+  /// \param load_all_debug_info
+  ///   If true, force loading any .dwo files associated and add to the size
+  ///
+  /// \return
+  ///     Returns total currently loaded debug info size
----------------
clayborg wrote:

We don't need headerdoc on overridden functions. You can remove this.

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


More information about the lldb-commits mailing list