Revert "[lldb] Avoid force loading symbols in statistics collection (#136236)"

This reverts commit d5b40c71f6.

This change broke greendragon lldb test:

lldb-api :: commands/statistics/basic/TestStats.py

And is therefore being reverted.
This commit is contained in:
Shubham Sandeep Rastogi
2025-04-21 17:19:54 -07:00
parent 2cdf474f12
commit 08b4c52540
9 changed files with 13 additions and 111 deletions

View File

@@ -997,7 +997,7 @@ SymbolFile *Module::GetSymbolFile(bool can_create, Stream *feedback_strm) {
Symtab *Module::GetSymtab(bool can_create) {
if (SymbolFile *symbols = GetSymbolFile(can_create))
return symbols->GetSymtab(can_create);
return symbols->GetSymtab();
return nullptr;
}