LLDB mainline
|
#include <LocateSymbolFile.h>
Static Public Member Functions | |
static ModuleSpec | LocateExecutableObjectFile (const ModuleSpec &module_spec) |
static FileSpec | LocateExecutableSymbolFile (const ModuleSpec &module_spec, const FileSpecList &default_search_paths) |
static FileSpec | FindSymbolFileInBundle (const FileSpec &dsym_bundle_fspec, const lldb_private::UUID *uuid, const ArchSpec *arch) |
static bool | DownloadObjectAndSymbolFile (ModuleSpec &module_spec, Status &error, bool force_lookup=true, bool copy_executable=true) |
static void | DownloadSymbolFileAsync (const UUID &uuid) |
Locate the symbol file for the given UUID on a background thread. | |
Definition at line 25 of file LocateSymbolFile.h.
|
static |
Definition at line 441 of file LocateSymbolFile.cpp.
Referenced by ProcessKDP::DoConnectRemote(), CommandObjectTargetModulesAdd::DoExecute(), CommandObjectTargetSymbolsAdd::DownloadObjectAndSymbolFile(), DownloadSymbolFileAsync(), lldb_private::DynamicLoader::LoadBinaryWithUUIDAndAddress(), ObjectFileMachO::LoadCoreFileImages(), DynamicLoaderDarwinKernel::KextImageInfo::LoadImageUsingMemoryModule(), and LookForDsymNextToExecutablePath().
|
static |
Locate the symbol file for the given UUID on a background thread.
This function returns immediately. Under the hood it uses the debugger's thread pool to call DownloadObjectAndSymbolFile. If a symbol file is found, this will notify all target which contain the module with the given UUID.
Definition at line 403 of file LocateSymbolFile.cpp.
References DownloadObjectAndSymbolFile(), error(), lldb_private::ModuleList::GetGlobalModuleListProperties(), lldb_private::Debugger::GetThreadPool(), lldb_private::ModuleSpec::GetUUID(), and lldb_private::Debugger::ReportSymbolChange().
Referenced by lldb_private::Module::GetUnwindTable().
|
static |
Definition at line 434 of file LocateSymbolFile.cpp.
Referenced by LocateMacOSXFilesUsingDebugSymbols(), and lldb_private::PlatformDarwin::ResolveSymbolFile().
|
static |
Definition at line 237 of file LocateSymbolFile.cpp.
References lldb_private::ConstString::AsCString(), lldb_private::ModuleSpecList::FindMatchingModuleSpec(), lldb_private::ArchSpec::GetArchitectureName(), lldb_private::ModuleSpec::GetArchitecturePtr(), lldb_private::FileSpec::GetFilename(), lldb_private::ModuleSpec::GetFileSpec(), lldb_private::ObjectFile::GetModuleSpecifications(), lldb_private::ModuleSpec::GetUUIDPtr(), LLDB_SCOPED_TIMERF, and LocateMacOSXFilesUsingDebugSymbols().
Referenced by ProcessKDP::DoConnectRemote(), and lldb_private::ModuleList::GetSharedModule().
|
static |
Definition at line 263 of file LocateSymbolFile.cpp.
References lldb_private::ConstString::AsCString(), lldb_private::FileSystem::Exists(), lldb_private::ModuleSpec::GetArchitecture(), lldb_private::UUID::GetAsString(), lldb_private::ConstString::GetCString(), lldb_private::FileSpec::GetDirectory(), lldb_private::FileSpec::GetFilename(), lldb_private::ModuleSpec::GetFileSpec(), lldb_private::ModuleList::GetGlobalModuleListProperties(), lldb_private::ModuleSpecList::GetModuleSpecAtIndex(), lldb_private::ObjectFile::GetModuleSpecifications(), lldb_private::FileSpec::GetPath(), lldb_private::ModuleSpec::GetSymbolFileSpec(), lldb_private::ArchSpec::GetTriple(), lldb_private::ModuleSpec::GetUUID(), lldb_private::FileSystem::Instance(), lldb_private::FileSpec::IsAbsolute(), lldb_private::ConstString::IsEmpty(), lldb_private::UUID::IsValid(), LocateExecutableSymbolFileDsym(), lldb_private::FileSystem::Resolve(), and lldb_private::FileSystem::ResolveSymbolicLink().
Referenced by SymbolVendorELF::CreateInstance(), SymbolVendorMacOSX::CreateInstance(), SymbolVendorPECOFF::CreateInstance(), lldb_private::wasm::SymbolVendorWasm::CreateInstance(), ProcessKDP::DoConnectRemote(), and SymbolFileDWARF::GetDwpSymbolFile().