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 lldb_private::python::SWIGBridge, operator=(), QueueThreadPlanForRunToAddress(), QueueThreadPlanForStepInRange(), QueueThreadPlanForStepOut(), QueueThreadPlanForStepOverRange(), QueueThreadPlanForStepScripted(), QueueThreadPlanForStepScripted(), QueueThreadPlanForStepSingleInstruction(), SBThreadPlan(), and ~SBThreadPlan().
SBThreadPlan::SBThreadPlan | ( | const lldb::SBThreadPlan & | threadPlan | ) |
Definition at line 59 of file SBThreadPlan.cpp.
References LLDB_INSTRUMENT_VA, m_opaque_wp, and SBThreadPlan().
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 |
References Clear(), error(), GetDescription(), GetStopOthers(), GetStopReason(), GetStopReasonDataAtIndex(), GetStopReasonDataCount(), GetThread(), IsPlanComplete(), IsPlanStale(), IsValid(), operator=(), QueueThreadPlanForRunToAddress(), QueueThreadPlanForStepInRange(), QueueThreadPlanForStepOut(), QueueThreadPlanForStepOverRange(), QueueThreadPlanForStepScripted(), QueueThreadPlanForStepSingleInstruction(), SBThreadPlan(), SetPlanComplete(), and SetStopOthers().
|
protected |
Definition at line 54 of file SBThreadPlan.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_wp.
void SBThreadPlan::Clear | ( | ) |
Definition at line 105 of file SBThreadPlan.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_wp.
Referenced by ~SBThreadPlan().
|
inlineprivate |
Definition at line 138 of file SBThreadPlan.h.
References GetSP().
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.
Referenced by ~SBThreadPlan().
|
inlineprivate |
Definition at line 137 of file SBThreadPlan.h.
References m_opaque_wp.
Referenced by get(), GetDescription(), GetStopOthers(), GetThread(), IsPlanComplete(), IsPlanStale(), IsValid(), operator bool(), QueueThreadPlanForRunToAddress(), QueueThreadPlanForStepInRange(), QueueThreadPlanForStepOut(), QueueThreadPlanForStepOverRange(), QueueThreadPlanForStepScripted(), QueueThreadPlanForStepScripted(), QueueThreadPlanForStepSingleInstruction(), SetPlanComplete(), and SetStopOthers().
bool SBThreadPlan::GetStopOthers | ( | ) |
Definition at line 190 of file SBThreadPlan.cpp.
References GetSP(), and LLDB_INSTRUMENT_VA.
Referenced by ~SBThreadPlan().
lldb::StopReason SBThreadPlan::GetStopReason | ( | ) |
Definition at line 111 of file SBThreadPlan.cpp.
References lldb::eStopReasonNone, and LLDB_INSTRUMENT_VA.
Referenced by ~SBThreadPlan().
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.
Referenced by ~SBThreadPlan().
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.
Referenced by ~SBThreadPlan().
SBThread SBThreadPlan::GetThread | ( | ) | const |
Definition at line 129 of file SBThreadPlan.cpp.
References GetSP(), LLDB_INSTRUMENT_VA, and lldb::SBThread.
Referenced by ~SBThreadPlan().
bool SBThreadPlan::IsPlanComplete | ( | ) |
Definition at line 163 of file SBThreadPlan.cpp.
References GetSP(), and LLDB_INSTRUMENT_VA.
Referenced by ~SBThreadPlan().
bool SBThreadPlan::IsPlanStale | ( | ) |
Definition at line 172 of file SBThreadPlan.cpp.
References GetSP(), and LLDB_INSTRUMENT_VA.
Referenced by ~SBThreadPlan().
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.
Referenced by ~SBThreadPlan().
|
explicit |
Definition at line 99 of file SBThreadPlan.cpp.
References GetSP(), and LLDB_INSTRUMENT_VA.
const lldb::SBThreadPlan & SBThreadPlan::operator= | ( | const lldb::SBThreadPlan & | rhs | ) |
Definition at line 85 of file SBThreadPlan.cpp.
References LLDB_INSTRUMENT_VA, m_opaque_wp, and SBThreadPlan().
Referenced by ~SBThreadPlan().
SBThreadPlan SBThreadPlan::QueueThreadPlanForRunToAddress | ( | SBAddress | address | ) |
Definition at line 352 of file SBThreadPlan.cpp.
References error(), LLDB_INSTRUMENT_VA, and QueueThreadPlanForRunToAddress().
Referenced by QueueThreadPlanForRunToAddress(), and ~SBThreadPlan().
SBThreadPlan SBThreadPlan::QueueThreadPlanForRunToAddress | ( | SBAddress | address, |
SBError & | error ) |
Definition at line 359 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(), and ~SBThreadPlan().
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(), and ~SBThreadPlan().
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(), and ~SBThreadPlan().
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 385 of file SBThreadPlan.cpp.
References error(), LLDB_INSTRUMENT_VA, and QueueThreadPlanForStepScripted().
Referenced by QueueThreadPlanForStepScripted(), and ~SBThreadPlan().
SBThreadPlan SBThreadPlan::QueueThreadPlanForStepScripted | ( | const char * | script_class_name, |
lldb::SBStructuredData & | args_data, | ||
SBError & | error ) |
Definition at line 416 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 393 of file SBThreadPlan.cpp.
References lldb_private::Status::AsCString(), error(), lldb_private::Status::Fail(), GetSP(), LLDB_INSTRUMENT_VA, and SBThreadPlan().
SBThreadPlan SBThreadPlan::QueueThreadPlanForStepSingleInstruction | ( | bool | step_over, |
SBError & | error ) |
Definition at line 329 of file SBThreadPlan.cpp.
References lldb_private::Status::AsCString(), error(), lldb_private::Status::Fail(), GetSP(), LLDB_INSTRUMENT_VA, and SBThreadPlan().
Referenced by ~SBThreadPlan().
void SBThreadPlan::SetPlanComplete | ( | bool | success | ) |
Definition at line 155 of file SBThreadPlan.cpp.
References GetSP(), and LLDB_INSTRUMENT_VA.
Referenced by ~SBThreadPlan().
void SBThreadPlan::SetStopOthers | ( | bool | stop_others | ) |
Definition at line 199 of file SBThreadPlan.cpp.
References GetSP(), and LLDB_INSTRUMENT_VA.
Referenced by ~SBThreadPlan().
|
private |
Definition at line 151 of file SBThreadPlan.cpp.
References m_opaque_wp.
|
friend |
Definition at line 123 of file SBThreadPlan.h.
References SBThreadPlan().
|
friend |
Definition at line 134 of file SBThreadPlan.h.
|
friend |
|
friend |
Definition at line 129 of file SBThreadPlan.h.
References SBBreakpointLocation.
Referenced by SBBreakpointLocation.
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
private |
Definition at line 141 of file SBThreadPlan.h.
Referenced by Clear(), GetSP(), operator=(), SBThreadPlan(), SBThreadPlan(), SBThreadPlan(), SBThreadPlan(), and SetThreadPlan().