LLDB mainline
|
#include <SBThreadPlan.h>
Protected Member Functions | |
SBThreadPlan (const lldb::ThreadPlanSP &lldb_object_sp) | |
Private Member Functions | |
lldb::ThreadPlanSP | GetSP () const |
lldb_private::ThreadPlan * | get () const |
void | SetThreadPlan (const lldb::ThreadPlanSP &lldb_object_sp) |
Private Attributes | |
lldb::ThreadPlanWP | m_opaque_wp |
Friends | |
class | lldb_private::python::SWIGBridge |
class | SBBreakpoint |
class | SBBreakpointLocation |
class | SBFrame |
class | SBProcess |
class | SBDebugger |
class | SBValue |
class | lldb_private::QueueImpl |
class | SBQueueItem |
Definition at line 24 of file SBThreadPlan.h.
SBThreadPlan::SBThreadPlan | ( | ) |
Definition at line 53 of file SBThreadPlan.cpp.
References LLDB_INSTRUMENT_VA.
Referenced by QueueThreadPlanForRunToAddress(), QueueThreadPlanForStepInRange(), QueueThreadPlanForStepOut(), QueueThreadPlanForStepOverRange(), and QueueThreadPlanForStepScripted().
SBThreadPlan::SBThreadPlan | ( | const lldb::SBThreadPlan & | threadPlan | ) |
Definition at line 60 of file SBThreadPlan.cpp.
References LLDB_INSTRUMENT_VA.
SBThreadPlan::SBThreadPlan | ( | lldb::SBThread & | thread, |
const char * | class_name | ||
) |
Definition at line 65 of file SBThreadPlan.cpp.
References lldb::SBThread::get(), LLDB_INSTRUMENT_VA, and m_opaque_wp.
SBThreadPlan::SBThreadPlan | ( | lldb::SBThread & | thread, |
const char * | class_name, | ||
lldb::SBStructuredData & | args_data | ||
) |
Definition at line 74 of file SBThreadPlan.cpp.
References lldb::SBThread::get(), LLDB_INSTRUMENT_VA, lldb::SBStructuredData::m_impl_up, and m_opaque_wp.
|
default |
|
protected |
void SBThreadPlan::Clear | ( | ) |
Definition at line 106 of file SBThreadPlan.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_wp.
|
inlineprivate |
Definition at line 135 of file SBThreadPlan.h.
bool SBThreadPlan::GetDescription | ( | lldb::SBStream & | description | ) | const |
Definition at line 140 of file SBThreadPlan.cpp.
References lldb::eDescriptionLevelFull, lldb::SBStream::get(), GetSP(), and LLDB_INSTRUMENT_VA.
|
inlineprivate |
Definition at line 134 of file SBThreadPlan.h.
Referenced by GetDescription(), GetStopOthers(), GetThread(), IsPlanComplete(), IsPlanStale(), IsValid(), QueueThreadPlanForRunToAddress(), QueueThreadPlanForStepInRange(), QueueThreadPlanForStepOut(), QueueThreadPlanForStepOverRange(), QueueThreadPlanForStepScripted(), SetPlanComplete(), and SetStopOthers().
bool SBThreadPlan::GetStopOthers | ( | ) |
Definition at line 191 of file SBThreadPlan.cpp.
References GetSP(), and LLDB_INSTRUMENT_VA.
lldb::StopReason SBThreadPlan::GetStopReason | ( | ) |
Definition at line 112 of file SBThreadPlan.cpp.
References lldb::eStopReasonNone, and LLDB_INSTRUMENT_VA.
uint64_t SBThreadPlan::GetStopReasonDataAtIndex | ( | uint32_t | idx | ) |
Get information associated with a stop reason.
Breakpoint stop reasons will have data that consists of pairs of breakpoint IDs followed by the breakpoint location IDs (they always come in pairs).
Stop Reason Count Data Type ======================== ===== ========================================= eStopReasonNone 0 eStopReasonTrace 0 eStopReasonBreakpoint N duple: {breakpoint id, location id} eStopReasonWatchpoint 1 watchpoint id eStopReasonSignal 1 unix signal number eStopReasonException N exception data eStopReasonExec 0 eStopReasonFork 1 pid of the child process eStopReasonVFork 1 pid of the child process eStopReasonVForkDone 0 eStopReasonPlanComplete 0
Definition at line 124 of file SBThreadPlan.cpp.
References LLDB_INSTRUMENT_VA.
size_t SBThreadPlan::GetStopReasonDataCount | ( | ) |
Get the number of words associated with the stop reason.
See also GetStopReasonDataAtIndex().
Definition at line 118 of file SBThreadPlan.cpp.
References LLDB_INSTRUMENT_VA.
SBThread SBThreadPlan::GetThread | ( | ) | const |
Definition at line 130 of file SBThreadPlan.cpp.
References GetSP(), and LLDB_INSTRUMENT_VA.
bool SBThreadPlan::IsPlanComplete | ( | ) |
Definition at line 164 of file SBThreadPlan.cpp.
References GetSP(), and LLDB_INSTRUMENT_VA.
bool SBThreadPlan::IsPlanStale | ( | ) |
Definition at line 173 of file SBThreadPlan.cpp.
References GetSP(), and LLDB_INSTRUMENT_VA.
bool SBThreadPlan::IsValid | ( | ) |
Definition at line 182 of file SBThreadPlan.cpp.
References GetSP(), and LLDB_INSTRUMENT_VA.
bool SBThreadPlan::IsValid | ( | ) | const |
Definition at line 96 of file SBThreadPlan.cpp.
References LLDB_INSTRUMENT_VA.
|
explicit |
Definition at line 100 of file SBThreadPlan.cpp.
References LLDB_INSTRUMENT_VA.
const lldb::SBThreadPlan & SBThreadPlan::operator= | ( | const lldb::SBThreadPlan & | rhs | ) |
Definition at line 86 of file SBThreadPlan.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_wp.
SBThreadPlan SBThreadPlan::QueueThreadPlanForRunToAddress | ( | SBAddress | address | ) |
Definition at line 330 of file SBThreadPlan.cpp.
References error(), LLDB_INSTRUMENT_VA, and QueueThreadPlanForRunToAddress().
Referenced by QueueThreadPlanForRunToAddress().
SBThreadPlan SBThreadPlan::QueueThreadPlanForRunToAddress | ( | SBAddress | address, |
SBError & | error | ||
) |
Definition at line 337 of file SBThreadPlan.cpp.
References lldb_private::Status::AsCString(), error(), lldb_private::Status::Fail(), lldb::SBAddress::get(), GetSP(), LLDB_INSTRUMENT_VA, and SBThreadPlan().
SBThreadPlan SBThreadPlan::QueueThreadPlanForStepInRange | ( | SBAddress & | start_address, |
lldb::addr_t | range_size | ||
) |
Definition at line 254 of file SBThreadPlan.cpp.
References error(), LLDB_INSTRUMENT_VA, and QueueThreadPlanForStepInRange().
Referenced by QueueThreadPlanForStepInRange().
SBThreadPlan SBThreadPlan::QueueThreadPlanForStepInRange | ( | SBAddress & | start_address, |
lldb::addr_t | range_size, | ||
SBError & | error | ||
) |
Definition at line 263 of file SBThreadPlan.cpp.
References lldb_private::Status::AsCString(), lldb_private::Address::CalculateSymbolContext(), lldb::eAllThreads, error(), lldb_private::Status::Fail(), lldb::SBAddress::get(), GetSP(), LLDB_INSTRUMENT_VA, and SBThreadPlan().
SBThreadPlan SBThreadPlan::QueueThreadPlanForStepOut | ( | uint32_t | frame_idx_to_step_to, |
bool | first_insn, | ||
SBError & | error | ||
) |
Definition at line 303 of file SBThreadPlan.cpp.
References lldb_private::Status::AsCString(), error(), lldb_private::eVoteNoOpinion, lldb_private::eVoteYes, lldb_private::Status::Fail(), GetSP(), LLDB_INSTRUMENT_VA, and SBThreadPlan().
SBThreadPlan SBThreadPlan::QueueThreadPlanForStepOut | ( | uint32_t | frame_idx_to_step_to, |
bool | first_insn = false |
||
) |
Definition at line 294 of file SBThreadPlan.cpp.
References error(), LLDB_INSTRUMENT_VA, and QueueThreadPlanForStepOut().
Referenced by QueueThreadPlanForStepOut().
SBThreadPlan SBThreadPlan::QueueThreadPlanForStepOverRange | ( | SBAddress & | start_address, |
lldb::addr_t | range_size | ||
) |
Definition at line 215 of file SBThreadPlan.cpp.
References error(), LLDB_INSTRUMENT_VA, and QueueThreadPlanForStepOverRange().
Referenced by QueueThreadPlanForStepOverRange().
SBThreadPlan SBThreadPlan::QueueThreadPlanForStepOverRange | ( | SBAddress & | start_address, |
lldb::addr_t | range_size, | ||
SBError & | error | ||
) |
Definition at line 223 of file SBThreadPlan.cpp.
References lldb_private::Status::AsCString(), lldb_private::Address::CalculateSymbolContext(), lldb::eAllThreads, error(), lldb_private::Status::Fail(), lldb::SBAddress::get(), GetSP(), LLDB_INSTRUMENT_VA, and SBThreadPlan().
SBThreadPlan SBThreadPlan::QueueThreadPlanForStepScripted | ( | const char * | script_class_name | ) |
Definition at line 363 of file SBThreadPlan.cpp.
References error(), LLDB_INSTRUMENT_VA, and QueueThreadPlanForStepScripted().
Referenced by QueueThreadPlanForStepScripted().
SBThreadPlan SBThreadPlan::QueueThreadPlanForStepScripted | ( | const char * | script_class_name, |
lldb::SBStructuredData & | args_data, | ||
SBError & | error | ||
) |
Definition at line 394 of file SBThreadPlan.cpp.
References lldb_private::Status::AsCString(), error(), lldb_private::Status::Fail(), GetSP(), LLDB_INSTRUMENT_VA, lldb::SBStructuredData::m_impl_up, and SBThreadPlan().
SBThreadPlan SBThreadPlan::QueueThreadPlanForStepScripted | ( | const char * | script_class_name, |
SBError & | error | ||
) |
Definition at line 371 of file SBThreadPlan.cpp.
References lldb_private::Status::AsCString(), error(), lldb_private::Status::Fail(), GetSP(), LLDB_INSTRUMENT_VA, and SBThreadPlan().
void SBThreadPlan::SetPlanComplete | ( | bool | success | ) |
Definition at line 156 of file SBThreadPlan.cpp.
References GetSP(), and LLDB_INSTRUMENT_VA.
void SBThreadPlan::SetStopOthers | ( | bool | stop_others | ) |
Definition at line 200 of file SBThreadPlan.cpp.
References GetSP(), and LLDB_INSTRUMENT_VA.
|
private |
Definition at line 152 of file SBThreadPlan.cpp.
References m_opaque_wp.
|
friend |
Definition at line 120 of file SBThreadPlan.h.
|
friend |
Definition at line 131 of file SBThreadPlan.h.
|
friend |
Definition at line 125 of file SBThreadPlan.h.
|
friend |
Definition at line 126 of file SBThreadPlan.h.
|
friend |
Definition at line 129 of file SBThreadPlan.h.
|
friend |
Definition at line 127 of file SBThreadPlan.h.
|
friend |
Definition at line 128 of file SBThreadPlan.h.
|
friend |
Definition at line 132 of file SBThreadPlan.h.
|
friend |
Definition at line 130 of file SBThreadPlan.h.
|
private |
Definition at line 138 of file SBThreadPlan.h.
Referenced by Clear(), operator=(), SBThreadPlan(), and SetThreadPlan().