LLDB  mainline
Public Member Functions | Private Attributes | List of all members
lldb_private::JITLoaderList Class Reference

#include "lldb/Target/JITLoaderList.h"

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

Public Member Functions

 JITLoaderList ()
 
 ~JITLoaderList ()
 
void Append (const lldb::JITLoaderSP &jit_loader_sp)
 
void Remove (const lldb::JITLoaderSP &jit_loader_sp)
 
size_t GetSize () const
 
lldb::JITLoaderSP GetLoaderAtIndex (size_t idx)
 
void DidLaunch ()
 
void DidAttach ()
 
void ModulesDidLoad (ModuleList &module_list)
 

Private Attributes

std::vector< lldb::JITLoaderSP > m_jit_loaders_vec
 
std::recursive_mutex m_jit_loaders_mutex
 

Detailed Description

Class used by the Process to hold a list of its JITLoaders.

Definition at line 22 of file JITLoaderList.h.

Constructor & Destructor Documentation

◆ JITLoaderList()

JITLoaderList::JITLoaderList ( )

Definition at line 16 of file JITLoaderList.cpp.

◆ ~JITLoaderList()

JITLoaderList::~JITLoaderList ( )
default

Member Function Documentation

◆ Append()

void JITLoaderList::Append ( const lldb::JITLoaderSP &  jit_loader_sp)

Definition at line 20 of file JITLoaderList.cpp.

References m_jit_loaders_mutex, and m_jit_loaders_vec.

Referenced by lldb_private::JITLoader::LoadPlugins().

◆ DidAttach()

void JITLoaderList::DidAttach ( )

◆ DidLaunch()

void JITLoaderList::DidLaunch ( )

Definition at line 39 of file JITLoaderList.cpp.

References m_jit_loaders_mutex, and m_jit_loaders_vec.

Referenced by lldb_private::Process::Launch().

◆ GetLoaderAtIndex()

JITLoaderSP JITLoaderList::GetLoaderAtIndex ( size_t  idx)

Definition at line 34 of file JITLoaderList.cpp.

References m_jit_loaders_mutex, and m_jit_loaders_vec.

◆ GetSize()

size_t JITLoaderList::GetSize ( ) const

Definition at line 32 of file JITLoaderList.cpp.

References m_jit_loaders_vec.

◆ ModulesDidLoad()

void JITLoaderList::ModulesDidLoad ( ModuleList module_list)

Definition at line 51 of file JITLoaderList.cpp.

References m_jit_loaders_mutex, and m_jit_loaders_vec.

Referenced by lldb_private::Process::ModulesDidLoad().

◆ Remove()

void JITLoaderList::Remove ( const lldb::JITLoaderSP &  jit_loader_sp)

Definition at line 25 of file JITLoaderList.cpp.

References m_jit_loaders_mutex, and m_jit_loaders_vec.

Member Data Documentation

◆ m_jit_loaders_mutex

std::recursive_mutex lldb_private::JITLoaderList::m_jit_loaders_mutex
private

Definition at line 43 of file JITLoaderList.h.

Referenced by Append(), DidAttach(), DidLaunch(), GetLoaderAtIndex(), ModulesDidLoad(), and Remove().

◆ m_jit_loaders_vec

std::vector<lldb::JITLoaderSP> lldb_private::JITLoaderList::m_jit_loaders_vec
private

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