LLDB mainline
|
#include <ModuleSpec.h>
Public Types | |
typedef std::vector< ModuleSpec > | collection |
typedef LockingAdaptedIterable< collection, ModuleSpec, vector_adapter, std::recursive_mutex > | ModuleSpecIterable |
Public Member Functions | |
ModuleSpecList ()=default | |
ModuleSpecList (const ModuleSpecList &rhs) | |
~ModuleSpecList ()=default | |
ModuleSpecList & | operator= (const ModuleSpecList &rhs) |
size_t | GetSize () const |
void | Clear () |
void | Append (const ModuleSpec &spec) |
void | Append (const ModuleSpecList &rhs) |
ModuleSpec & | GetModuleSpecRefAtIndex (size_t i) |
bool | GetModuleSpecAtIndex (size_t i, ModuleSpec &module_spec) const |
bool | FindMatchingModuleSpec (const ModuleSpec &module_spec, ModuleSpec &match_module_spec) const |
void | FindMatchingModuleSpecs (const ModuleSpec &module_spec, ModuleSpecList &matching_list) const |
void | Dump (Stream &strm) |
ModuleSpecIterable | ModuleSpecs () |
Protected Attributes | |
collection | m_specs |
The collection of modules. | |
std::recursive_mutex | m_mutex |
Definition at line 275 of file ModuleSpec.h.
typedef std::vector<ModuleSpec> lldb_private::ModuleSpecList::collection |
Definition at line 391 of file ModuleSpec.h.
typedef LockingAdaptedIterable<collection, ModuleSpec, vector_adapter, std::recursive_mutex> lldb_private::ModuleSpecList::ModuleSpecIterable |
Definition at line 394 of file ModuleSpec.h.
|
default |
|
inline |
Definition at line 279 of file ModuleSpec.h.
|
default |
|
inline |
Definition at line 308 of file ModuleSpec.h.
References m_mutex, and m_specs.
Referenced by FindMatchingModuleSpecs(), ObjectFileMachO::GetAllArchSpecs(), lldb_private::breakpad::ObjectFileBreakpad::GetModuleSpecifications(), lldb_private::ObjectFileJSON::GetModuleSpecifications(), lldb_private::ObjectFilePDB::GetModuleSpecifications(), lldb_private::wasm::ObjectFileWasm::GetModuleSpecifications(), ObjectFileCOFF::GetModuleSpecifications(), ObjectFileELF::GetModuleSpecifications(), and ObjectFilePECOFF::GetModuleSpecifications().
|
inline |
Definition at line 313 of file ModuleSpec.h.
|
inline |
Definition at line 303 of file ModuleSpec.h.
References m_mutex, and m_specs.
Referenced by ObjectFileMinidump::GetModuleSpecifications().
|
inline |
Definition at line 380 of file ModuleSpec.h.
References lldb_private::Stream::EOL(), m_mutex, m_specs, and lldb_private::Stream::Printf().
|
inline |
Definition at line 333 of file ModuleSpec.h.
References lldb_private::ModuleSpec::Clear(), lldb_private::ModuleSpec::GetArchitecturePtr(), m_mutex, and m_specs.
Referenced by CommandObjectTargetSymbolsAdd::AddModuleSymbols(), lldb_private::TargetList::CreateTargetInternal(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerCommon::GetModuleInfo(), lldb_private::Platform::GetModuleSpec(), lldb_private::SymbolLocatorDebugSymbols::LocateExecutableObjectFile(), lldb_private::SymbolLocatorDefault::LocateExecutableObjectFile(), LocateMacOSXFilesUsingDebugSymbols(), and lldb_private::Module::Module().
|
inline |
Definition at line 358 of file ModuleSpec.h.
References Append(), lldb_private::ModuleSpec::GetArchitecturePtr(), GetSize(), m_mutex, and m_specs.
|
inline |
Definition at line 323 of file ModuleSpec.h.
References lldb_private::ModuleSpec::Clear(), m_mutex, and m_specs.
Referenced by CommandObjectTargetSymbolsAdd::AddModuleSymbols(), lldb_private::TargetList::CreateTargetInternal(), FileAtPathContainsArchAndUUID(), lldb_private::SymbolLocatorDebugSymbols::FindSymbolFileInBundle(), ObjectContainerBSDArchive::GetModuleSpecifications(), and lldb_private::SymbolLocatorDefault::LocateExecutableSymbolFile().
|
inline |
Definition at line 321 of file ModuleSpec.h.
References m_specs.
Referenced by ObjectFileMachO::Dump(), ObjectFileMachO::GetArchitecture(), ObjectContainerBSDArchive::GetModuleSpecifications(), lldb_private::ObjectContainerMachOFileset::GetModuleSpecifications(), and ObjectFileMachO::ParseHeader().
|
inline |
Definition at line 298 of file ModuleSpec.h.
References m_mutex, and m_specs.
Referenced by CommandObjectTargetSymbolsAdd::AddModuleSymbols(), ObjectFileMachO::Dump(), FileAtPathContainsArchAndUUID(), FindMatchingModuleSpecs(), lldb_private::SymbolLocatorDebugSymbols::FindSymbolFileInBundle(), ObjectFileMachO::GetArchitecture(), lldb_private::ObjectFilePDB::GetModuleSpecifications(), lldb_private::ObjectFile::GetModuleSpecifications(), ObjectContainerBSDArchive::GetModuleSpecifications(), lldb_private::ObjectContainerMachOFileset::GetModuleSpecifications(), ObjectContainerUniversalMachO::GetModuleSpecifications(), ObjectFileELF::GetModuleSpecifications(), ObjectFileMachO::GetModuleSpecifications(), ObjectFilePECOFF::GetModuleSpecifications(), and ObjectFileMachO::ParseHeader().
|
inline |
Definition at line 396 of file ModuleSpec.h.
References m_mutex, and m_specs.
Referenced by lldb_private::TargetList::CreateTargetInternal().
|
inline |
Definition at line 287 of file ModuleSpec.h.
|
mutableprotected |
Definition at line 402 of file ModuleSpec.h.
Referenced by Append(), Clear(), Dump(), FindMatchingModuleSpec(), FindMatchingModuleSpecs(), GetModuleSpecAtIndex(), GetSize(), ModuleSpecList(), ModuleSpecs(), and operator=().
|
protected |
The collection of modules.
Definition at line 401 of file ModuleSpec.h.
Referenced by Append(), Clear(), Dump(), FindMatchingModuleSpec(), FindMatchingModuleSpecs(), GetModuleSpecAtIndex(), GetModuleSpecRefAtIndex(), GetSize(), ModuleSpecList(), ModuleSpecs(), and operator=().