================
@@ -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
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to