mirror of
https://github.com/intel/llvm.git
synced 2026-01-14 03:50:17 +08:00
[lldb] Remove LocateSymbolFile (#71301)
This completes the conversion of LocateSymbolFile into a SymbolLocator plugin. The only remaining function is DownloadSymbolFileAsync which doesn't really fit into the plugin model, and therefore moves into the SymbolLocator class, while still relying on the plugins to do the underlying work.
This commit is contained in:
committed by
GitHub
parent
b26b1cee2e
commit
745e8bfd1a
@@ -23,11 +23,11 @@
|
||||
#include "lldb/Interpreter/ScriptInterpreter.h"
|
||||
#include "lldb/Symbol/CompileUnit.h"
|
||||
#include "lldb/Symbol/Function.h"
|
||||
#include "lldb/Symbol/LocateSymbolFile.h"
|
||||
#include "lldb/Symbol/ObjectFile.h"
|
||||
#include "lldb/Symbol/Symbol.h"
|
||||
#include "lldb/Symbol/SymbolContext.h"
|
||||
#include "lldb/Symbol/SymbolFile.h"
|
||||
#include "lldb/Symbol/SymbolLocator.h"
|
||||
#include "lldb/Symbol/SymbolVendor.h"
|
||||
#include "lldb/Symbol/Symtab.h"
|
||||
#include "lldb/Symbol/Type.h"
|
||||
@@ -1314,7 +1314,7 @@ UnwindTable &Module::GetUnwindTable() {
|
||||
if (!m_unwind_table) {
|
||||
m_unwind_table.emplace(*this);
|
||||
if (!m_symfile_spec)
|
||||
Symbols::DownloadSymbolFileAsync(GetUUID());
|
||||
SymbolLocator::DownloadSymbolFileAsync(GetUUID());
|
||||
}
|
||||
return *m_unwind_table;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user