LLDB mainline
Public Member Functions | Protected Attributes | Friends | List of all members
lldb_private::CommandObjectIterateOverThreads::UniqueStack Class Reference

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_t > m_thread_index_ids
 
std::stack< lldb::addr_tm_stack_frames
 

Friends

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

Detailed Description

Definition at line 19 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 21 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 26 of file CommandObjectThreadUtil.h.

References m_thread_index_ids.

◆ GetRepresentativeThread()

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

Definition at line 34 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 30 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 38 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 48 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: