mirror of
https://github.com/intel/llvm.git
synced 2026-01-16 21:55:39 +08:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user