LLDB mainline
lldb_private::ModuleSpecList Class Reference

#include <ModuleSpec.h>

Public Types

typedef std::vector< ModuleSpeccollection
typedef LockingAdaptedIterable< std::recursive_mutex, collectionModuleSpecIterable

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 393 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, m_specs, and ModuleSpecList().

◆ ~ModuleSpecList()

lldb_private::ModuleSpecList::~ModuleSpecList ( )
default

Member Function Documentation

◆ Append() [1/2]

◆ Append() [2/2]

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

Definition at line 313 of file ModuleSpec.h.

References m_mutex, m_specs, and ModuleSpecList().

◆ 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()

◆ FindMatchingModuleSpecs()

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

◆ GetModuleSpecAtIndex()

◆ GetModuleSpecRefAtIndex()

◆ GetSize()

◆ ModuleSpecs()

ModuleSpecIterable lldb_private::ModuleSpecList::ModuleSpecs ( )
inline

Definition at line 395 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, m_specs, and ModuleSpecList().

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: