LLDB mainline
|
#include <ModuleSpec.h>
Protected Attributes | |
FileSpec | m_file |
FileSpec | m_platform_file |
FileSpec | m_symbol_file |
ArchSpec | m_arch |
UUID | m_uuid |
ConstString | m_object_name |
uint64_t | m_object_offset = 0 |
uint64_t | m_object_size = 0 |
llvm::sys::TimePoint | m_object_mod_time |
PathMappingList | m_source_mappings |
lldb::DataBufferSP | m_data = {} |
Definition at line 27 of file ModuleSpec.h.
|
default |
Referenced by Matches().
|
inline |
If the data
argument is passed, its contents will be used as the module contents instead of trying to read them from file_spec
.
Definition at line 34 of file ModuleSpec.h.
References lldb_private::FileSystem::Instance(), m_data, m_file, m_object_offset, m_object_size, and m_uuid.
Definition at line 43 of file ModuleSpec.h.
References m_arch, m_file, m_object_offset, and m_object_size.
|
inline |
Definition at line 129 of file ModuleSpec.h.
References m_arch, m_file, m_object_mod_time, m_object_name, m_object_offset, m_object_size, m_platform_file, m_source_mappings, m_symbol_file, and m_uuid.
Referenced by lldb_private::ModuleSpecList::FindMatchingModuleSpec(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::GetModuleInfo(), lldb_private::Process::GetModuleSpec(), and lldb_private::ModuleSpecList::GetModuleSpecAtIndex().
|
inline |
Definition at line 162 of file ModuleSpec.h.
References lldb_private::Stream::AsRawOstream(), lldb_private::Stream::Format(), m_arch, m_file, m_object_mod_time, m_object_name, m_object_offset, m_object_size, m_platform_file, m_symbol_file, m_uuid, lldb_private::Stream::Printf(), and lldb_private::Stream::PutCString().
Referenced by lldb_private::platform_gdb_server::PlatformRemoteGDBServer::GetModuleSpec(), lldb_private::process_gdb_remote::ProcessGDBRemote::GetModuleSpec(), and DynamicLoaderPOSIXDYLD::ResolveExecutableModule().
|
inline |
Definition at line 89 of file ModuleSpec.h.
References m_arch.
Referenced by lldb::SBTarget::AddModule(), CommandObjectTargetSymbolsAdd::AddModuleSymbols(), CommandObjectTargetSymbolsAdd::AddSymbolsForFile(), CommandObjectTargetSymbolsAdd::AddSymbolsForFrame(), CommandObjectTargetSymbolsAdd::AddSymbolsForStack(), lldb_private::TargetList::CreateTargetInternal(), ProcessKDP::DoConnectRemote(), CommandObjectTargetModulesAdd::DoExecute(), ProcessElfCore::DoLoadCore(), lldb_private::SymbolLocatorDebugSymbols::DownloadObjectAndSymbolFile(), ObjectFileMachO::Dump(), FileAtPathContainsArchAndUUID(), FindModulesByName(), lldb_private::SymbolLocatorDebugSymbols::FindSymbolFileInBundle(), lldb_private::DynamicLoaderDarwin::FindTargetModuleForImageInfo(), ObjectFileMachO::GetAllArchSpecs(), ObjectFileMachO::GetArchitecture(), lldb_private::ScriptedProcess::GetLoadedDynamicLibrariesInfos(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::GetModuleInfo(), lldb_private::ObjectFilePDB::GetModuleSpecifications(), ObjectContainerBSDArchive::GetModuleSpecifications(), ObjectFileELF::GetModuleSpecifications(), ObjectFilePECOFF::GetModuleSpecifications(), ObjectFileXCOFF::GetModuleSpecifications(), lldb_private::Platform::GetRemoteSharedModule(), lldb_private::ModuleList::GetSharedModule(), lldb_private::PlatformMacOSX::GetSharedModule(), lldb_private::PlatformDarwinDevice::GetSharedModuleWithLocalCache(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerCommon::Handle_jModulesInfo(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerCommon::Handle_qModuleInfo(), DynamicLoaderDarwinKernel::KextImageInfo::LoadImageUsingMemoryModule(), lldb_private::SymbolLocatorDefault::LocateExecutableSymbolFile(), Matches(), lldb_private::Module::MatchesModuleSpec(), lldb_private::Module::Module(), ObjectFileMachO::ParseHeader(), ParseModuleSpec(), lldb_private::minidump::ProcessMinidump::ReadModuleList(), lldb_private::Platform::ResolveExecutable(), and lldb_private::plugin::dwarf::SymbolFileDWARF::UpdateExternalModuleListIfNeeded().
|
inline |
Definition at line 91 of file ModuleSpec.h.
References m_arch.
|
inline |
Definition at line 81 of file ModuleSpec.h.
References m_arch.
Referenced by FileAtPathContainsArchAndUUID(), lldb_private::ModuleSpecList::FindMatchingModuleSpec(), lldb_private::ModuleSpecList::FindMatchingModuleSpecs(), lldb_private::SymbolLocatorDebugSymbols::FindSymbolFileInBundle(), lldb_private::SymbolLocatorDebugSymbols::LocateExecutableObjectFile(), lldb_private::SymbolLocatorDefault::LocateExecutableObjectFile(), lldb_private::SymbolLocatorDebugSymbols::LocateExecutableSymbolFile(), LocateMacOSXFilesUsingDebugSymbols(), LookForDsymNextToExecutablePath(), Matches(), and lldb_private::PlatformDarwin::ResolveSymbolFile().
|
inline |
Definition at line 85 of file ModuleSpec.h.
References m_arch.
|
inline |
Definition at line 127 of file ModuleSpec.h.
References m_data.
Referenced by lldb_private::Module::Module().
|
inline |
Definition at line 53 of file ModuleSpec.h.
References m_file.
Referenced by lldb::SBTarget::AddModule(), CommandObjectTargetSymbolsAdd::AddModuleSymbols(), CommandObjectTargetSymbolsAdd::AddSymbolsForFile(), CommandObjectTargetSymbolsAdd::AddSymbolsForFrame(), CommandObjectTargetSymbolsAdd::AddSymbolsForStack(), BringInRemoteFile(), lldb_private::Platform::CallLocateModuleCallbackIfSet(), lldb_private::wasm::SymbolVendorWasm::CreateInstance(), SymbolVendorELF::CreateInstance(), SymbolVendorPECOFF::CreateInstance(), lldb_private::TargetList::CreateTargetInternal(), ProcessKDP::DoConnectRemote(), CommandObjectTargetModulesAdd::DoExecute(), CommandObjectTargetModulesLoad::DoExecute(), CommandObjectTargetSymbolsAdd::DoExecute(), ProcessElfCore::DoLoadCore(), lldb_private::PlatformDarwin::FindBundleBinaryInExecSearchPaths(), lldb_private::DynamicLoaderDarwin::FindTargetModuleForImageInfo(), lldb_private::ModuleCache::Get(), lldb_private::ModuleCache::GetAndPut(), lldb_private::Platform::GetCachedExecutable(), lldb_private::Platform::GetCachedSharedModule(), lldb_private::plugin::dwarf::SymbolFileDWARF::GetDwpSymbolFile(), getFileName(), lldb_private::ScriptedProcess::GetLoadedDynamicLibrariesInfos(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::GetModuleInfo(), ObjectFileMachO::GetModuleSpecifications(), GetModuleSpecInfoFromUUIDDictionary(), lldb_private::Target::GetOrCreateModule(), lldb_private::DynamicLoaderDarwin::GetPThreadLibraryModule(), lldb_private::Platform::GetRemoteSharedModule(), lldb_private::ModuleList::GetSharedModule(), lldb_private::Platform::GetSharedModule(), lldb_private::PlatformAppleSimulator::GetSharedModule(), lldb_private::PlatformDarwin::GetSharedModule(), lldb_private::PlatformRemoteDarwinDevice::GetSharedModule(), lldb_private::PlatformDarwinDevice::GetSharedModuleWithLocalCache(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerCommon::Handle_jModulesInfo(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerCommon::Handle_qModuleInfo(), lldb_private::DynamicLoader::LoadBinaryWithUUIDAndAddress(), DynamicLoaderDarwinKernel::KextImageInfo::LoadImageUsingMemoryModule(), DynamicLoaderFreeBSDKernel::KModImageInfo::LoadImageUsingMemoryModule(), LocateDSYMInVincinityOfExecutable(), lldb_private::SymbolLocatorDebugSymbols::LocateExecutableObjectFile(), lldb_private::SymbolLocatorDefault::LocateExecutableObjectFile(), lldb_private::SymbolLocatorDebugSymbols::LocateExecutableSymbolFile(), lldb_private::SymbolLocatorDefault::LocateExecutableSymbolFile(), LocateMacOSXFilesUsingDebugSymbols(), Matches(), lldb_private::Module::MatchesModuleSpec(), lldb_private::Module::Module(), lldb_private::trace_intel_pt::TraceIntelPTBundleLoader::ParseKernel(), lldb_private::trace_intel_pt::TraceIntelPTBundleLoader::ParseModule(), ParseModuleSpec(), lldb_private::minidump::ProcessMinidump::ReadModuleList(), lldb_private::Platform::ResolveExecutable(), lldb_private::RemoteAwarePlatform::ResolveExecutable(), lldb_private::Symbol::ResolveReExportedSymbol(), lldb_private::Symbol::ResolveReExportedSymbolInModuleSpec(), and lldb_private::plugin::dwarf::SymbolFileDWARF::UpdateExternalModuleListIfNeeded().
|
inline |
Definition at line 55 of file ModuleSpec.h.
References m_file.
|
inline |
Definition at line 47 of file ModuleSpec.h.
References m_file.
Referenced by CommandObjectTargetModulesLoad::DoExecute(), lldb_private::SymbolLocatorDebugSymbols::DownloadObjectAndSymbolFile(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerCommon::GetModuleInfo(), lldb_private::SymbolLocatorDebugSymbols::LocateExecutableObjectFile(), lldb_private::SymbolLocatorDebugSymbols::LocateExecutableSymbolFile(), and LocateMacOSXFilesUsingDebugSymbols().
|
inline |
Definition at line 49 of file ModuleSpec.h.
References m_file.
|
inline |
Definition at line 117 of file ModuleSpec.h.
References m_object_mod_time.
Referenced by ObjectContainerBSDArchive::GetModuleSpecifications(), and lldb_private::Module::Module().
|
inline |
Definition at line 121 of file ModuleSpec.h.
References m_object_mod_time.
|
inline |
Definition at line 103 of file ModuleSpec.h.
References m_object_name.
Referenced by lldb_private::DynamicLoaderDarwin::AddModulesUsingPreloadedModules(), lldb_private::ObjectContainerMachOFileset::GetModuleSpecifications(), ObjectContainerBSDArchive::GetModuleSpecifications(), Matches(), lldb_private::Module::MatchesModuleSpec(), and lldb_private::Module::Module().
|
inline |
Definition at line 105 of file ModuleSpec.h.
References m_object_name.
|
inline |
Definition at line 107 of file ModuleSpec.h.
References m_object_offset.
Referenced by lldb_private::Platform::GetCachedSharedModule(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerCommon::Handle_jModulesInfo(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerCommon::Handle_qModuleInfo(), and lldb_private::Module::Module().
|
inline |
Definition at line 113 of file ModuleSpec.h.
References m_object_size.
Referenced by lldb_private::ModuleCache::Get(), lldb_private::Platform::GetCachedSharedModule(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerCommon::Handle_jModulesInfo(), and lldb_private::process_gdb_remote::GDBRemoteCommunicationServerCommon::Handle_qModuleInfo().
|
inline |
Definition at line 65 of file ModuleSpec.h.
References m_platform_file.
Referenced by CommandObjectTargetSymbolsAdd::AddModuleSymbols(), CommandObjectTargetSymbolsAdd::AddSymbolsForFile(), lldb_private::SymbolContext::FindBestGlobalDataSymbol(), lldb_private::Platform::GetCachedExecutable(), lldb_private::ModuleList::GetSharedModule(), lldb_private::PlatformDarwinDevice::GetSharedModuleWithLocalCache(), lldb_private::ClangExpressionDeclMap::GetSymbolAddress(), Matches(), lldb_private::Module::MatchesModuleSpec(), lldb_private::Module::Module(), lldb_private::trace_intel_pt::TraceIntelPTBundleLoader::ParseModule(), and lldb_private::ModuleList::ReplaceEquivalent().
|
inline |
Definition at line 67 of file ModuleSpec.h.
References m_platform_file.
|
inline |
Definition at line 57 of file ModuleSpec.h.
References m_platform_file.
|
inline |
Definition at line 61 of file ModuleSpec.h.
References m_platform_file.
|
inline |
Definition at line 125 of file ModuleSpec.h.
References m_source_mappings.
Referenced by SymbolVendorMacOSX::CreateInstance(), and GetModuleSpecInfoFromUUIDDictionary().
|
inline |
Definition at line 77 of file ModuleSpec.h.
References m_symbol_file.
Referenced by lldb::SBTarget::AddModule(), CommandObjectTargetSymbolsAdd::AddModuleSymbols(), lldb_private::wasm::SymbolVendorWasm::CreateInstance(), SymbolVendorELF::CreateInstance(), SymbolVendorPECOFF::CreateInstance(), ProcessKDP::DoConnectRemote(), CommandObjectTargetModulesAdd::DoExecute(), CommandObjectTargetSymbolsAdd::DoExecute(), CommandObjectTargetSymbolsAdd::DownloadObjectAndSymbolFile(), lldb_private::plugin::dwarf::SymbolFileDWARF::GetDwpSymbolFile(), getFileName(), GetModuleSpecInfoFromUUIDDictionary(), lldb_private::ModuleList::GetSharedModule(), lldb_private::PlatformDarwinDevice::GetSharedModuleWithLocalCache(), lldb_private::DynamicLoader::LoadBinaryWithUUIDAndAddress(), lldb_private::SymbolLocatorDebugSymbols::LocateExecutableObjectFile(), lldb_private::SymbolLocatorDebugSymbols::LocateExecutableSymbolFile(), lldb_private::SymbolLocatorDefault::LocateExecutableSymbolFile(), LocateMacOSXFilesUsingDebugSymbols(), LookForDsymNextToExecutablePath(), Matches(), lldb_private::Module::Module(), lldb_private::Platform::ResolveSymbolFile(), and lldb_private::PlatformDarwin::ResolveSymbolFile().
|
inline |
Definition at line 79 of file ModuleSpec.h.
References m_symbol_file.
|
inline |
Definition at line 69 of file ModuleSpec.h.
References m_symbol_file.
|
inline |
Definition at line 73 of file ModuleSpec.h.
References m_symbol_file.
|
inline |
Definition at line 99 of file ModuleSpec.h.
References m_uuid.
Referenced by lldb::SBTarget::AddModule(), CommandObjectTargetSymbolsAdd::AddModuleSymbols(), CommandObjectTargetSymbolsAdd::AddSymbolsForFile(), CommandObjectTargetSymbolsAdd::AddSymbolsForFrame(), CommandObjectTargetSymbolsAdd::AddSymbolsForStack(), CommandObjectTargetSymbolsAdd::AddSymbolsForUUID(), lldb_private::wasm::SymbolVendorWasm::CreateInstance(), SymbolVendorELF::CreateInstance(), SymbolVendorMacOSX::CreateInstance(), SymbolVendorPECOFF::CreateInstance(), ProcessKDP::DoConnectRemote(), CommandObjectTargetModulesAdd::DoExecute(), CommandObjectTargetModulesLoad::DoExecute(), ProcessElfCore::DoLoadCore(), lldb_private::SymbolLocator::DownloadSymbolFileAsync(), FileAtPathContainsArchAndUUID(), lldb_private::DynamicLoader::FindModuleViaTarget(), lldb_private::SymbolLocatorDebugSymbols::FindSymbolFileInBundle(), lldb_private::DynamicLoaderDarwin::FindTargetModuleForImageInfo(), lldb_private::ModuleCache::Get(), lldb_private::ModuleCache::GetAndPut(), lldb_private::Platform::GetCachedSharedModule(), lldb_private::plugin::dwarf::SymbolFileDWARF::GetDwpSymbolFile(), GetFileForModule(), lldb_private::ScriptedProcess::GetLoadedDynamicLibrariesInfos(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::GetModuleInfo(), lldb_private::breakpad::ObjectFileBreakpad::GetModuleSpecifications(), lldb_private::ObjectFileJSON::GetModuleSpecifications(), lldb_private::ObjectFilePDB::GetModuleSpecifications(), ObjectFileELF::GetModuleSpecifications(), ObjectFilePECOFF::GetModuleSpecifications(), lldb_private::Target::GetOrCreateModule(), lldb_private::Platform::GetRemoteSharedModule(), lldb_private::PlatformDarwinDevice::GetSharedModuleWithLocalCache(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerCommon::Handle_jModulesInfo(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerCommon::Handle_qModuleInfo(), lldb_private::DynamicLoader::LoadBinaryWithUUIDAndAddress(), DynamicLoaderDarwinKernel::KextImageInfo::LoadImageUsingMemoryModule(), lldb_private::SymbolLocatorDebugSymbols::LocateExecutableObjectFile(), lldb_private::SymbolLocatorDefault::LocateExecutableSymbolFile(), LocateMacOSXFilesUsingDebugSymbols(), Matches(), lldb_private::Module::MatchesModuleSpec(), lldb_private::trace_intel_pt::TraceIntelPTBundleLoader::ParseModule(), ParseModuleSpec(), lldb_private::ModuleCache::Put(), lldb_private::minidump::ProcessMinidump::ReadModuleList(), and lldb_private::Platform::ResolveExecutable().
|
inline |
Definition at line 101 of file ModuleSpec.h.
References m_uuid.
|
inline |
Definition at line 93 of file ModuleSpec.h.
References m_uuid.
Referenced by CommandObjectTargetModulesLoad::DoExecute(), lldb_private::SymbolLocatorDebugSymbols::DownloadObjectAndSymbolFile(), FileAtPathContainsArchAndUUID(), lldb_private::SymbolLocatorDebugSymbols::FindSymbolFileInBundle(), lldb_private::ModuleList::GetSharedModule(), lldb_private::PlatformAppleSimulator::GetSharedModule(), lldb_private::SymbolLocatorDebugSymbols::LocateExecutableObjectFile(), lldb_private::SymbolLocatorDefault::LocateExecutableObjectFile(), lldb_private::SymbolLocatorDebugSymbols::LocateExecutableSymbolFile(), LocateMacOSXFilesUsingDebugSymbols(), LookForDsymNextToExecutablePath(), Matches(), and lldb_private::PlatformDarwin::ResolveSymbolFile().
|
inline |
Definition at line 95 of file ModuleSpec.h.
References m_uuid.
|
inline |
Definition at line 226 of file ModuleSpec.h.
References GetArchitecture(), GetArchitecturePtr(), GetFileSpec(), GetObjectName(), GetPlatformFileSpec(), GetSymbolFileSpec(), GetUUID(), GetUUIDPtr(), lldb_private::FileSpec::Match(), and ModuleSpec().
|
inlineexplicit |
Definition at line 142 of file ModuleSpec.h.
References m_arch, m_file, m_object_mod_time, m_object_name, m_object_size, m_platform_file, m_symbol_file, and m_uuid.
|
inline |
Definition at line 109 of file ModuleSpec.h.
References m_object_offset.
Referenced by lldb_private::DynamicLoaderDarwin::AddModulesUsingPreloadedModules(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::GetModuleInfo(), ObjectContainerBSDArchive::GetModuleSpecifications(), ObjectFileELF::GetModuleSpecifications(), ObjectFileMachO::GetModuleSpecifications(), and ParseModuleSpec().
|
inline |
Definition at line 115 of file ModuleSpec.h.
References m_object_size.
Referenced by lldb_private::DynamicLoaderDarwin::AddModulesUsingPreloadedModules(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::GetModuleInfo(), ObjectContainerBSDArchive::GetModuleSpecifications(), ObjectFileELF::GetModuleSpecifications(), ObjectFileMachO::GetModuleSpecifications(), and ParseModuleSpec().
|
protected |
Definition at line 265 of file ModuleSpec.h.
Referenced by Clear(), Dump(), GetArchitecture(), GetArchitecture(), GetArchitecturePtr(), GetArchitecturePtr(), ModuleSpec(), and operator bool().
|
protected |
Definition at line 272 of file ModuleSpec.h.
Referenced by GetData(), and ModuleSpec().
|
protected |
Definition at line 262 of file ModuleSpec.h.
Referenced by Clear(), Dump(), GetFileSpec(), GetFileSpec(), GetFileSpecPtr(), GetFileSpecPtr(), ModuleSpec(), ModuleSpec(), and operator bool().
|
protected |
Definition at line 270 of file ModuleSpec.h.
Referenced by Clear(), Dump(), GetObjectModificationTime(), GetObjectModificationTime(), and operator bool().
|
protected |
Definition at line 267 of file ModuleSpec.h.
Referenced by Clear(), Dump(), GetObjectName(), GetObjectName(), and operator bool().
|
protected |
Definition at line 268 of file ModuleSpec.h.
Referenced by Clear(), Dump(), GetObjectOffset(), ModuleSpec(), ModuleSpec(), and SetObjectOffset().
|
protected |
Definition at line 269 of file ModuleSpec.h.
Referenced by Clear(), Dump(), GetObjectSize(), ModuleSpec(), ModuleSpec(), operator bool(), and SetObjectSize().
|
protected |
Definition at line 263 of file ModuleSpec.h.
Referenced by Clear(), Dump(), GetPlatformFileSpec(), GetPlatformFileSpec(), GetPlatformFileSpecPtr(), GetPlatformFileSpecPtr(), and operator bool().
|
mutableprotected |
Definition at line 271 of file ModuleSpec.h.
Referenced by Clear(), and GetSourceMappingList().
|
protected |
Definition at line 264 of file ModuleSpec.h.
Referenced by Clear(), Dump(), GetSymbolFileSpec(), GetSymbolFileSpec(), GetSymbolFileSpecPtr(), GetSymbolFileSpecPtr(), and operator bool().
|
protected |
Definition at line 266 of file ModuleSpec.h.
Referenced by Clear(), Dump(), GetUUID(), GetUUID(), GetUUIDPtr(), GetUUIDPtr(), ModuleSpec(), and operator bool().