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 52 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 59 of file SBThreadPlan.cpp.
References LLDB_INSTRUMENT_VA.
SBThreadPlan::SBThreadPlan | ( | lldb::SBThread & | thread, |
const char * | class_name | ||
) |
Definition at line 64 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 73 of file SBThreadPlan.cpp.
References lldb::SBThread::get(), LLDB_INSTRUMENT_VA, lldb::SBStructuredData::m_impl_up, and m_opaque_wp.
|
default |
|
protected |
Definition at line 54 of file SBThreadPlan.cpp.
References LLDB_INSTRUMENT_VA.
void SBThreadPlan::Clear | ( | ) |
Definition at line 105 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 139 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 190 of file SBThreadPlan.cpp.
References GetSP(), and LLDB_INSTRUMENT_VA.
lldb::StopReason SBThreadPlan::GetStopReason | ( | ) |
Definition at line 111 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 123 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 117 of file SBThreadPlan.cpp.
References LLDB_INSTRUMENT_VA.
SBThread SBThreadPlan::GetThread | ( | ) | const |
Definition at line 129 of file SBThreadPlan.cpp.
References GetSP(), and LLDB_INSTRUMENT_VA.
bool SBThreadPlan::IsPlanComplete | ( | ) |
Definition at line 163 of file SBThreadPlan.cpp.
References GetSP(), and LLDB_INSTRUMENT_VA.
bool SBThreadPlan::IsPlanStale | ( | ) |
Definition at line 172 of file SBThreadPlan.cpp.
References GetSP(), and LLDB_INSTRUMENT_VA.
bool SBThreadPlan::IsValid | ( | ) |
Definition at line 181 of file SBThreadPlan.cpp.
References GetSP(), and LLDB_INSTRUMENT_VA.
bool SBThreadPlan::IsValid | ( | ) | const |
Definition at line 95 of file SBThreadPlan.cpp.
References LLDB_INSTRUMENT_VA.
|
explicit |
Definition at line 99 of file SBThreadPlan.cpp.
References LLDB_INSTRUMENT_VA.
const lldb::SBThreadPlan & SBThreadPlan::operator= | ( | const lldb::SBThreadPlan & | rhs | ) |
Definition at line 85 of file SBThreadPlan.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_wp.
SBThreadPlan SBThreadPlan::QueueThreadPlanForRunToAddress | ( | SBAddress | address | ) |
Definition at line 329 of file SBThreadPlan.cpp.
References error(), LLDB_INSTRUMENT_VA, and QueueThreadPlanForRunToAddress().
Referenced by QueueThreadPlanForRunToAddress().
SBThreadPlan SBThreadPlan::QueueThreadPlanForRunToAddress | ( | SBAddress | address, |
SBError & | error | ||
) |
Definition at line 336 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 253 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 262 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 302 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 293 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 214 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 222 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 362 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 393 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 370 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 155 of file SBThreadPlan.cpp.
References GetSP(), and LLDB_INSTRUMENT_VA.
void SBThreadPlan::SetStopOthers | ( | bool | stop_others | ) |
Definition at line 199 of file SBThreadPlan.cpp.
References GetSP(), and LLDB_INSTRUMENT_VA.
|
private |
Definition at line 151 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().