[Lldb-commits] [lldb] Report only loaded debug info in statistics dump (PR #81706)
Greg Clayton via lldb-commits
lldb-commits at lists.llvm.org
Tue Feb 13 21:59:54 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_if_needed
+ /// If true, force loading any .dwo files associated and add to the size
+ ///
+ /// \return
+ /// Returns total currently loaded debug info size
----------------
clayborg wrote:
no need to duplicate the headerdoc in subclasses. Only SymbolFile.h needs the headerdoc.
https://github.com/llvm/llvm-project/pull/81706
More information about the lldb-commits
mailing list