[Lldb-commits] [lldb] Support statistics dump summary only mode (PR #80745)

Greg Clayton via lldb-commits lldb-commits at lists.llvm.org
Mon Feb 5 15:52:55 PST 2024


================
@@ -2687,7 +2687,7 @@ uint64_t SymbolFileDWARF::GetDebugInfoSize() {
     if (cu == nullptr)
       continue;
 
-    SymbolFileDWARFDwo *dwo = cu->GetDwoSymbolFile();
+    SymbolFileDWARFDwo *dwo = cu->GetDwoSymbolFile(false);
----------------
clayborg wrote:

This bool might need to be a bool in the "SymbolFile::GetDebugInfoSize()" virtual function. Users might want the know the rigtht answer (exactly how much total debug info they have if `load_if_needed == true` or just what is loaded currently `load_if_needed == false`

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


More information about the lldb-commits mailing list