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

#include <ModuleSpec.h>

Public Types

typedef std::vector< ModuleSpeccollection
 
typedef LockingAdaptedIterable< collection, ModuleSpec, vector_adapter, std::recursive_mutex > ModuleSpecIterable
 

Public Member Functions

 ModuleSpecList ()=default
 
 ModuleSpecList (const ModuleSpecList &rhs)
 
 ~ModuleSpecList ()=default
 
ModuleSpecListoperator= (const ModuleSpecList &rhs)
 
size_t GetSize () const
 
void Clear ()
 
void Append (const ModuleSpec &spec)
 
void Append (const ModuleSpecList &rhs)
 
ModuleSpecGetModuleSpecRefAtIndex (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
 

Detailed Description

Definition at line 275 of file ModuleSpec.h.

Member Typedef Documentation

◆ collection

Definition at line 391 of file ModuleSpec.h.

◆ ModuleSpecIterable

Definition at line 394 of file ModuleSpec.h.

Constructor & Destructor Documentation

◆ ModuleSpecList() [1/2]

lldb_private::ModuleSpecList::ModuleSpecList ( )
default

◆ ModuleSpecList() [2/2]

lldb_private::ModuleSpecList::ModuleSpecList ( const ModuleSpecList rhs)
inline

Definition at line 279 of file ModuleSpec.h.

References m_mutex, and m_specs.

◆ ~ModuleSpecList()

lldb_private::ModuleSpecList::~ModuleSpecList ( )
default

Member Function Documentation

◆ Append() [1/2]

void lldb_private::ModuleSpecList::Append ( const ModuleSpec spec)
inline

◆ Append() [2/2]

void lldb_private::ModuleSpecList::Append ( const ModuleSpecList rhs)
inline

Definition at line 313 of file ModuleSpec.h.

References m_mutex, and m_specs.

◆ Clear()

void lldb_private::ModuleSpecList::Clear ( )
inline

Definition at line 303 of file ModuleSpec.h.

References m_mutex, and m_specs.

Referenced by ObjectFileMinidump::GetModuleSpecifications().

◆ Dump()

void lldb_private::ModuleSpecList::Dump ( Stream strm)
inline

◆ FindMatchingModuleSpec()

bool lldb_private::ModuleSpecList::FindMatchingModuleSpec ( const ModuleSpec module_spec,
ModuleSpec match_module_spec 
) const
inline

◆ FindMatchingModuleSpecs()

void lldb_private::ModuleSpecList::FindMatchingModuleSpecs ( const ModuleSpec module_spec,
ModuleSpecList matching_list 
) const
inline

◆ GetModuleSpecAtIndex()

bool lldb_private::ModuleSpecList::GetModuleSpecAtIndex ( size_t  i,
ModuleSpec module_spec 
) const
inline

◆ GetModuleSpecRefAtIndex()

ModuleSpec & lldb_private::ModuleSpecList::GetModuleSpecRefAtIndex ( size_t  i)
inline

◆ GetSize()

size_t lldb_private::ModuleSpecList::GetSize ( ) const
inline

◆ ModuleSpecs()

ModuleSpecIterable lldb_private::ModuleSpecList::ModuleSpecs ( )
inline

Definition at line 396 of file ModuleSpec.h.

References m_mutex, and m_specs.

Referenced by lldb_private::TargetList::CreateTargetInternal().

◆ operator=()

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

Definition at line 287 of file ModuleSpec.h.

References m_mutex, and m_specs.

Member Data Documentation

◆ m_mutex

std::recursive_mutex lldb_private::ModuleSpecList::m_mutex
mutableprotected

◆ m_specs

collection lldb_private::ModuleSpecList::m_specs
protected

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