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

#include <ThreadPlanStack.h>

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

Public Member Functions

 ThreadPlanStackMap (Process &process)
 
 ~ThreadPlanStackMap ()
 
void Update (ThreadList &current_threads, bool delete_missing, bool check_for_new=true)
 
void AddThread (Thread &thread)
 
bool RemoveTID (lldb::tid_t tid)
 
ThreadPlanStackFind (lldb::tid_t tid)
 
void Clear ()
 
void DumpPlans (Stream &strm, lldb::DescriptionLevel desc_level, bool internal, bool ignore_boring, bool skip_unreported)
 
bool DumpPlansForTID (Stream &strm, lldb::tid_t tid, lldb::DescriptionLevel desc_level, bool internal, bool ignore_boring, bool skip_unreported)
 
bool PrunePlansForTID (lldb::tid_t tid)
 

Private Types

using PlansList = std::unordered_map< lldb::tid_t, ThreadPlanStack >
 

Private Attributes

Processm_process
 
PlansList m_plans_list
 

Detailed Description

Definition at line 117 of file ThreadPlanStack.h.

Member Typedef Documentation

◆ PlansList

Definition at line 167 of file ThreadPlanStack.h.

Constructor & Destructor Documentation

◆ ThreadPlanStackMap()

lldb_private::ThreadPlanStackMap::ThreadPlanStackMap ( Process process)
inline

Definition at line 119 of file ThreadPlanStack.h.

◆ ~ThreadPlanStackMap()

lldb_private::ThreadPlanStackMap::~ThreadPlanStackMap ( )
inline

Definition at line 120 of file ThreadPlanStack.h.

Member Function Documentation

◆ AddThread()

void lldb_private::ThreadPlanStackMap::AddThread ( Thread thread)
inline

Definition at line 126 of file ThreadPlanStack.h.

References lldb_private::UserID::GetID().

◆ Clear()

void lldb_private::ThreadPlanStackMap::Clear ( )
inline

Definition at line 148 of file ThreadPlanStack.h.

◆ DumpPlans()

void ThreadPlanStackMap::DumpPlans ( Stream strm,
lldb::DescriptionLevel  desc_level,
bool  internal,
bool  ignore_boring,
bool  skip_unreported 
)

◆ DumpPlansForTID()

bool ThreadPlanStackMap::DumpPlansForTID ( Stream strm,
lldb::tid_t  tid,
lldb::DescriptionLevel  desc_level,
bool  internal,
bool  ignore_boring,
bool  skip_unreported 
)

◆ Find()

ThreadPlanStack* lldb_private::ThreadPlanStackMap::Find ( lldb::tid_t  tid)
inline

Definition at line 140 of file ThreadPlanStack.h.

◆ PrunePlansForTID()

bool ThreadPlanStackMap::PrunePlansForTID ( lldb::tid_t  tid)

Definition at line 501 of file ThreadPlanStack.cpp.

◆ RemoveTID()

bool lldb_private::ThreadPlanStackMap::RemoveTID ( lldb::tid_t  tid)
inline

Definition at line 131 of file ThreadPlanStack.h.

◆ Update()

void ThreadPlanStackMap::Update ( ThreadList current_threads,
bool  delete_missing,
bool  check_for_new = true 
)

Member Data Documentation

◆ m_plans_list

PlansList lldb_private::ThreadPlanStackMap::m_plans_list
private

Definition at line 168 of file ThreadPlanStack.h.

◆ m_process

Process& lldb_private::ThreadPlanStackMap::m_process
private

Definition at line 166 of file ThreadPlanStack.h.


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