LLDB  mainline
Public Member Functions | Protected Attributes | Friends | List of all members
lldb_private::CommandObjectIterateOverThreads::UniqueStack Class Reference
Collaboration diagram for lldb_private::CommandObjectIterateOverThreads::UniqueStack:
Collaboration graph
[legend]

Public Member Functions

 UniqueStack (std::stack< lldb::addr_t > stack_frames, uint32_t thread_index_id)
 
void AddThread (uint32_t thread_index_id) const
 
const std::vector< uint32_t > & GetUniqueThreadIndexIDs () const
 
lldb::tid_t GetRepresentativeThread () const
 

Protected Attributes

std::vector< uint32_tm_thread_index_ids
 
std::stack< lldb::addr_tm_stack_frames
 

Friends

bool operator< (const UniqueStack &lhs, const UniqueStack &rhs)
 

Detailed Description

Definition at line 18 of file CommandObjectThreadUtil.h.

Constructor & Destructor Documentation

◆ UniqueStack()

lldb_private::CommandObjectIterateOverThreads::UniqueStack::UniqueStack ( std::stack< lldb::addr_t stack_frames,
uint32_t  thread_index_id 
)
inline

Definition at line 20 of file CommandObjectThreadUtil.h.

References m_thread_index_ids.

Member Function Documentation

◆ AddThread()

void lldb_private::CommandObjectIterateOverThreads::UniqueStack::AddThread ( uint32_t  thread_index_id) const
inline

Definition at line 25 of file CommandObjectThreadUtil.h.

References m_thread_index_ids.

◆ GetRepresentativeThread()

lldb::tid_t lldb_private::CommandObjectIterateOverThreads::UniqueStack::GetRepresentativeThread ( ) const
inline

Definition at line 33 of file CommandObjectThreadUtil.h.

References m_thread_index_ids.

◆ GetUniqueThreadIndexIDs()

const std::vector<uint32_t>& lldb_private::CommandObjectIterateOverThreads::UniqueStack::GetUniqueThreadIndexIDs ( ) const
inline

Definition at line 29 of file CommandObjectThreadUtil.h.

References m_thread_index_ids.

Friends And Related Function Documentation

◆ operator<

bool operator< ( const UniqueStack lhs,
const UniqueStack rhs 
)
friend

Definition at line 37 of file CommandObjectThreadUtil.h.

Member Data Documentation

◆ m_stack_frames

std::stack<lldb::addr_t> lldb_private::CommandObjectIterateOverThreads::UniqueStack::m_stack_frames
protected

Definition at line 47 of file CommandObjectThreadUtil.h.

◆ m_thread_index_ids

std::vector<uint32_t> lldb_private::CommandObjectIterateOverThreads::UniqueStack::m_thread_index_ids
mutableprotected

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