LLDB  mainline
Public Member Functions | Protected Attributes | List of all members
lldb_private::ModuleSpec Class Reference

#include <ModuleSpec.h>

Collaboration diagram for lldb_private::ModuleSpec:
Collaboration graph
[legend]

Public Member Functions

 ModuleSpec ()
 
 ModuleSpec (const FileSpec &file_spec, const UUID &uuid=UUID())
 
 ModuleSpec (const FileSpec &file_spec, const ArchSpec &arch)
 
 ModuleSpec (const ModuleSpec &rhs)
 
ModuleSpecoperator= (const ModuleSpec &rhs)
 
FileSpecGetFileSpecPtr ()
 
const FileSpecGetFileSpecPtr () const
 
FileSpecGetFileSpec ()
 
const FileSpecGetFileSpec () const
 
FileSpecGetPlatformFileSpecPtr ()
 
const FileSpecGetPlatformFileSpecPtr () const
 
FileSpecGetPlatformFileSpec ()
 
const FileSpecGetPlatformFileSpec () const
 
FileSpecGetSymbolFileSpecPtr ()
 
const FileSpecGetSymbolFileSpecPtr () const
 
FileSpecGetSymbolFileSpec ()
 
const FileSpecGetSymbolFileSpec () const
 
ArchSpecGetArchitecturePtr ()
 
const ArchSpecGetArchitecturePtr () const
 
ArchSpecGetArchitecture ()
 
const ArchSpecGetArchitecture () const
 
UUIDGetUUIDPtr ()
 
const UUIDGetUUIDPtr () const
 
UUIDGetUUID ()
 
const UUIDGetUUID () const
 
ConstStringGetObjectName ()
 
ConstString GetObjectName () const
 
uint64_t GetObjectOffset () const
 
void SetObjectOffset (uint64_t object_offset)
 
uint64_t GetObjectSize () const
 
void SetObjectSize (uint64_t object_size)
 
llvm::sys::TimePoint & GetObjectModificationTime ()
 
const llvm::sys::TimePoint & GetObjectModificationTime () const
 
PathMappingListGetSourceMappingList () const
 
void Clear ()
 
 operator bool () const
 
void Dump (Stream &strm) const
 
bool Matches (const ModuleSpec &match_module_spec, bool exact_arch_match) const
 

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
 
uint64_t m_object_size
 
llvm::sys::TimePoint m_object_mod_time
 
PathMappingList m_source_mappings
 

Detailed Description

Definition at line 26 of file ModuleSpec.h.

Constructor & Destructor Documentation

◆ ModuleSpec() [1/4]

lldb_private::ModuleSpec::ModuleSpec ( )
inline

Definition at line 28 of file ModuleSpec.h.

◆ ModuleSpec() [2/4]

lldb_private::ModuleSpec::ModuleSpec ( const FileSpec file_spec,
const UUID uuid = UUID() 
)
inline

Definition at line 33 of file ModuleSpec.h.

◆ ModuleSpec() [3/4]

lldb_private::ModuleSpec::ModuleSpec ( const FileSpec file_spec,
const ArchSpec arch 
)
inline

Definition at line 39 of file ModuleSpec.h.

◆ ModuleSpec() [4/4]

lldb_private::ModuleSpec::ModuleSpec ( const ModuleSpec rhs)
inline

Definition at line 45 of file ModuleSpec.h.

Member Function Documentation

◆ Clear()

void lldb_private::ModuleSpec::Clear ( )
inline

◆ Dump()

void lldb_private::ModuleSpec::Dump ( Stream strm) const
inline

◆ GetArchitecture() [1/2]

ArchSpec& lldb_private::ModuleSpec::GetArchitecture ( )
inline

Definition at line 111 of file ModuleSpec.h.

References m_arch.

Referenced by lldb::SBTarget::AddModule(), CommandObjectTargetSymbolsAdd::AddModuleSymbols(), ProcessKDP::DoConnectRemote(), CommandObjectTargetModulesAdd::DoExecute(), CommandObjectTargetSymbolsAdd::DoExecute(), ProcessElfCore::DoLoadCore(), FileAtPathContainsArchAndUUID(), FindModulesByName(), lldb_private::Platform::GetCachedExecutable(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::GetModuleInfo(), ObjectContainerBSDArchive::GetModuleSpecifications(), ObjectFileMachO::GetModuleSpecifications(), ObjectFileELF::GetModuleSpecifications(), GetModuleSpecInfoFromUUIDDictionary(), PlatformMacOSX::GetSharedModule(), lldb_private::ModuleList::GetSharedModule(), PlatformDarwin::GetSharedModuleWithLocalCache(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerCommon::Handle_jModulesInfo(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerCommon::Handle_qModuleInfo(), DynamicLoaderDarwinKernel::KextImageInfo::LoadImageUsingMemoryModule(), LocateMacOSXFilesUsingDebugSymbols(), Matches(), lldb_private::Module::MatchesModuleSpec(), lldb_private::Module::Module(), ParseModuleSpec(), lldb_private::minidump::ProcessMinidump::ReadModuleList(), PlatformRemoteDarwinDevice::ResolveExecutable(), PlatformPOSIX::ResolveExecutable(), lldb_private::PlatformWindows::ResolveExecutable(), PlatformAppleWatchSimulator::ResolveExecutable(), PlatformAppleTVSimulator::ResolveExecutable(), PlatformiOSSimulator::ResolveExecutable(), lldb_private::platform_gdb_server::PlatformRemoteGDBServer::ResolveExecutable(), lldb_private::Platform::ResolveExecutable(), SymbolFileDWARF::UpdateExternalModuleListIfNeeded(), and lldb_private::TargetList::~TargetList().

◆ GetArchitecture() [2/2]

const ArchSpec& lldb_private::ModuleSpec::GetArchitecture ( ) const
inline

Definition at line 113 of file ModuleSpec.h.

References m_arch.

◆ GetArchitecturePtr() [1/2]

ArchSpec* lldb_private::ModuleSpec::GetArchitecturePtr ( )
inline

◆ GetArchitecturePtr() [2/2]

const ArchSpec* lldb_private::ModuleSpec::GetArchitecturePtr ( ) const
inline

Definition at line 107 of file ModuleSpec.h.

References lldb_private::ArchSpec::IsValid(), and m_arch.

◆ GetFileSpec() [1/2]

FileSpec& lldb_private::ModuleSpec::GetFileSpec ( )
inline

Definition at line 75 of file ModuleSpec.h.

References m_file.

Referenced by lldb::SBTarget::AddModule(), CommandObjectTargetSymbolsAdd::AddModuleSymbols(), BringInRemoteFile(), SymbolVendorELF::CreateInstance(), ProcessKDP::DoConnectRemote(), CommandObjectTargetModulesAdd::DoExecute(), CommandObjectTargetModulesLoad::DoExecute(), CommandObjectTargetSymbolsAdd::DoExecute(), ProcessElfCore::DoLoadCore(), PlatformDarwin::FindBundleBinaryInExecSearchPaths(), lldb_private::ModuleCache::GetAndPut(), lldb_private::Platform::GetCachedExecutable(), SymbolFileDWARF::GetDwpSymbolFile(), lldb_private::process_gdb_remote::GDBRemoteCommunicationClient::GetModuleInfo(), ObjectFileMachO::GetModuleSpecifications(), GetModuleSpecInfoFromUUIDDictionary(), lldb_private::Target::GetOrCreateModule(), lldb_private::DynamicLoaderDarwin::GetPThreadLibraryModule(), PlatformRemoteDarwinDevice::GetSharedModule(), PlatformDarwin::GetSharedModule(), PlatformAppleTVSimulator::GetSharedModule(), PlatformAppleWatchSimulator::GetSharedModule(), PlatformiOSSimulator::GetSharedModule(), lldb_private::Platform::GetSharedModule(), lldb_private::ModuleList::GetSharedModule(), PlatformDarwin::GetSharedModuleWithLocalCache(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerCommon::Handle_jModulesInfo(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerCommon::Handle_qModuleInfo(), DynamicLoaderDarwinKernel::KextImageInfo::LoadImageUsingMemoryModule(), LocateDSYMInVincinityOfExecutable(), lldb_private::Symbols::LocateExecutableObjectFile(), lldb_private::Symbols::LocateExecutableSymbolFile(), LocateMacOSXFilesUsingDebugSymbols(), Matches(), lldb_private::Module::MatchesModuleSpec(), lldb_private::Module::Module(), ParseModuleSpec(), lldb_private::minidump::ProcessMinidump::ReadModuleList(), PlatformRemoteDarwinDevice::ResolveExecutable(), PlatformPOSIX::ResolveExecutable(), lldb_private::PlatformWindows::ResolveExecutable(), PlatformAppleWatchSimulator::ResolveExecutable(), PlatformAppleTVSimulator::ResolveExecutable(), PlatformiOSSimulator::ResolveExecutable(), lldb_private::platform_gdb_server::PlatformRemoteGDBServer::ResolveExecutable(), lldb_private::Platform::ResolveExecutable(), lldb_private::Symbol::ResolveReExportedSymbol(), lldb_private::Symbol::ResolveReExportedSymbolInModuleSpec(), SymbolFileDWARF::UpdateExternalModuleListIfNeeded(), and lldb_private::TargetList::~TargetList().

◆ GetFileSpec() [2/2]

const FileSpec& lldb_private::ModuleSpec::GetFileSpec ( ) const
inline

Definition at line 77 of file ModuleSpec.h.

References m_file.

◆ GetFileSpecPtr() [1/2]

FileSpec* lldb_private::ModuleSpec::GetFileSpecPtr ( )
inline

◆ GetFileSpecPtr() [2/2]

const FileSpec* lldb_private::ModuleSpec::GetFileSpecPtr ( ) const
inline

Definition at line 71 of file ModuleSpec.h.

References m_file.

◆ GetObjectModificationTime() [1/2]

llvm::sys::TimePoint& lldb_private::ModuleSpec::GetObjectModificationTime ( )
inline

◆ GetObjectModificationTime() [2/2]

const llvm::sys::TimePoint& lldb_private::ModuleSpec::GetObjectModificationTime ( ) const
inline

Definition at line 143 of file ModuleSpec.h.

References m_object_mod_time.

◆ GetObjectName() [1/2]

ConstString& lldb_private::ModuleSpec::GetObjectName ( )
inline

◆ GetObjectName() [2/2]

ConstString lldb_private::ModuleSpec::GetObjectName ( ) const
inline

Definition at line 127 of file ModuleSpec.h.

References m_object_name.

◆ GetObjectOffset()

uint64_t lldb_private::ModuleSpec::GetObjectOffset ( ) const
inline

◆ GetObjectSize()

uint64_t lldb_private::ModuleSpec::GetObjectSize ( ) const
inline

◆ GetPlatformFileSpec() [1/2]

FileSpec& lldb_private::ModuleSpec::GetPlatformFileSpec ( )
inline

◆ GetPlatformFileSpec() [2/2]

const FileSpec& lldb_private::ModuleSpec::GetPlatformFileSpec ( ) const
inline

Definition at line 89 of file ModuleSpec.h.

References m_platform_file.

◆ GetPlatformFileSpecPtr() [1/2]

FileSpec* lldb_private::ModuleSpec::GetPlatformFileSpecPtr ( )
inline

Definition at line 79 of file ModuleSpec.h.

References m_platform_file.

Referenced by Matches().

◆ GetPlatformFileSpecPtr() [2/2]

const FileSpec* lldb_private::ModuleSpec::GetPlatformFileSpecPtr ( ) const
inline

Definition at line 83 of file ModuleSpec.h.

References m_platform_file.

◆ GetSourceMappingList()

PathMappingList& lldb_private::ModuleSpec::GetSourceMappingList ( ) const
inline

Definition at line 147 of file ModuleSpec.h.

References m_source_mappings.

Referenced by GetModuleSpecInfoFromUUIDDictionary().

◆ GetSymbolFileSpec() [1/2]

FileSpec& lldb_private::ModuleSpec::GetSymbolFileSpec ( )
inline

◆ GetSymbolFileSpec() [2/2]

const FileSpec& lldb_private::ModuleSpec::GetSymbolFileSpec ( ) const
inline

Definition at line 101 of file ModuleSpec.h.

References m_symbol_file.

◆ GetSymbolFileSpecPtr() [1/2]

FileSpec* lldb_private::ModuleSpec::GetSymbolFileSpecPtr ( )
inline

Definition at line 91 of file ModuleSpec.h.

References m_symbol_file.

Referenced by Matches().

◆ GetSymbolFileSpecPtr() [2/2]

const FileSpec* lldb_private::ModuleSpec::GetSymbolFileSpecPtr ( ) const
inline

Definition at line 95 of file ModuleSpec.h.

References m_symbol_file.

◆ GetUUID() [1/2]

UUID& lldb_private::ModuleSpec::GetUUID ( )
inline

◆ GetUUID() [2/2]

const UUID& lldb_private::ModuleSpec::GetUUID ( ) const
inline

Definition at line 123 of file ModuleSpec.h.

References m_uuid.

◆ GetUUIDPtr() [1/2]

UUID* lldb_private::ModuleSpec::GetUUIDPtr ( )
inline

◆ GetUUIDPtr() [2/2]

const UUID* lldb_private::ModuleSpec::GetUUIDPtr ( ) const
inline

Definition at line 117 of file ModuleSpec.h.

References lldb_private::UUID::IsValid(), and m_uuid.

◆ Matches()

bool lldb_private::ModuleSpec::Matches ( const ModuleSpec match_module_spec,
bool  exact_arch_match 
) const
inline

◆ operator bool()

lldb_private::ModuleSpec::operator bool ( ) const
inlineexplicit

◆ operator=()

ModuleSpec& lldb_private::ModuleSpec::operator= ( const ModuleSpec rhs)
inline

◆ SetObjectOffset()

void lldb_private::ModuleSpec::SetObjectOffset ( uint64_t  object_offset)
inline

◆ SetObjectSize()

void lldb_private::ModuleSpec::SetObjectSize ( uint64_t  object_size)
inline

Member Data Documentation

◆ m_arch

ArchSpec lldb_private::ModuleSpec::m_arch
protected

Definition at line 291 of file ModuleSpec.h.

Referenced by Clear(), Dump(), GetArchitecture(), GetArchitecturePtr(), operator bool(), and operator=().

◆ m_file

FileSpec lldb_private::ModuleSpec::m_file
protected

Definition at line 288 of file ModuleSpec.h.

Referenced by Clear(), Dump(), GetFileSpec(), GetFileSpecPtr(), operator bool(), and operator=().

◆ m_object_mod_time

llvm::sys::TimePoint lldb_private::ModuleSpec::m_object_mod_time
protected

Definition at line 296 of file ModuleSpec.h.

Referenced by Clear(), Dump(), GetObjectModificationTime(), operator bool(), and operator=().

◆ m_object_name

ConstString lldb_private::ModuleSpec::m_object_name
protected

Definition at line 293 of file ModuleSpec.h.

Referenced by Clear(), Dump(), GetObjectName(), operator bool(), and operator=().

◆ m_object_offset

uint64_t lldb_private::ModuleSpec::m_object_offset
protected

Definition at line 294 of file ModuleSpec.h.

Referenced by Clear(), Dump(), GetObjectOffset(), operator=(), and SetObjectOffset().

◆ m_object_size

uint64_t lldb_private::ModuleSpec::m_object_size
protected

Definition at line 295 of file ModuleSpec.h.

Referenced by Clear(), Dump(), GetObjectSize(), operator bool(), operator=(), and SetObjectSize().

◆ m_platform_file

FileSpec lldb_private::ModuleSpec::m_platform_file
protected

◆ m_source_mappings

PathMappingList lldb_private::ModuleSpec::m_source_mappings
mutableprotected

Definition at line 297 of file ModuleSpec.h.

Referenced by Clear(), GetSourceMappingList(), and operator=().

◆ m_symbol_file

FileSpec lldb_private::ModuleSpec::m_symbol_file
protected

◆ m_uuid

UUID lldb_private::ModuleSpec::m_uuid
protected

Definition at line 292 of file ModuleSpec.h.

Referenced by Clear(), Dump(), GetUUID(), GetUUIDPtr(), operator bool(), and operator=().


The documentation for this class was generated from the following file: