LLDB mainline
|
Classes | |
class | ThreadPlanStepOverWatchpoint |
class | WatchpointSentry |
Public Member Functions | |
StopInfoWatchpoint (Thread &thread, break_id_t watch_id, bool silently_skip_wp) | |
~StopInfoWatchpoint () override=default | |
StopReason | GetStopReason () const override |
const char * | GetDescription () override |
![]() | |
StopInfo (Thread &thread, uint64_t value) | |
virtual | ~StopInfo ()=default |
bool | IsValid () const |
void | SetThread (const lldb::ThreadSP &thread_sp) |
lldb::ThreadSP | GetThread () const |
uint64_t | GetValue () const |
virtual lldb::StopReason | GetStopReason () const =0 |
virtual bool | ShouldStopSynchronous (Event *event_ptr) |
void | OverrideShouldNotify (bool override_value) |
virtual bool | ShouldNotify (Event *event_ptr) |
virtual void | WillResume (lldb::StateType resume_state) |
virtual const char * | GetDescription () |
virtual void | SetDescription (const char *desc_cstr) |
virtual bool | IsValidForOperatingSystemThread (Thread &thread) |
void | OverrideShouldStop (bool override_value) |
bool | GetOverrideShouldStop () |
bool | GetOverriddenShouldStopValue () |
StructuredData::ObjectSP | GetExtendedInfo () |
Protected Types | |
using | StopInfoWatchpointSP = std::shared_ptr< StopInfoWatchpoint > |
Protected Member Functions | |
bool | ShouldStopSynchronous (Event *event_ptr) override |
bool | ShouldStop (Event *event_ptr) override |
void | PerformAction (Event *event_ptr) override |
![]() | |
virtual void | PerformAction (Event *event_ptr) |
virtual bool | DoShouldNotify (Event *event_ptr) |
virtual bool | ShouldStop (Event *event_ptr) |
bool | HasTargetRunSinceMe () |
void | MakeStopInfoValid () |
Private Member Functions | |
void | SetStepOverPlanComplete () |
Private Attributes | |
bool | m_should_stop = false |
bool | m_should_stop_is_valid = false |
bool | m_silently_skip_wp = false |
bool | m_step_over_plan_complete = false |
bool | m_using_step_over_plan = false |
Additional Inherited Members | |
![]() | |
static lldb::StopInfoSP | CreateStopReasonWithBreakpointSiteID (Thread &thread, lldb::break_id_t break_id) |
static lldb::StopInfoSP | CreateStopReasonWithBreakpointSiteID (Thread &thread, lldb::break_id_t break_id, bool should_stop) |
static lldb::StopInfoSP | CreateStopReasonWithWatchpointID (Thread &thread, lldb::break_id_t watch_id, bool silently_continue=false) |
static lldb::StopInfoSP | CreateStopReasonWithSignal (Thread &thread, int signo, const char *description=nullptr, std::optional< int > code=std::nullopt) |
static lldb::StopInfoSP | CreateStopReasonToTrace (Thread &thread) |
static lldb::StopInfoSP | CreateStopReasonWithPlan (lldb::ThreadPlanSP &plan, lldb::ValueObjectSP return_valobj_sp, lldb::ExpressionVariableSP expression_variable_sp) |
static lldb::StopInfoSP | CreateStopReasonWithException (Thread &thread, const char *description) |
static lldb::StopInfoSP | CreateStopReasonWithExec (Thread &thread) |
static lldb::StopInfoSP | CreateStopReasonProcessorTrace (Thread &thread, const char *description) |
static lldb::StopInfoSP | CreateStopReasonFork (Thread &thread, lldb::pid_t child_pid, lldb::tid_t child_tid) |
static lldb::StopInfoSP | CreateStopReasonVFork (Thread &thread, lldb::pid_t child_pid, lldb::tid_t child_tid) |
static lldb::StopInfoSP | CreateStopReasonVForkDone (Thread &thread) |
static lldb::ValueObjectSP | GetReturnValueObject (lldb::StopInfoSP &stop_info_sp) |
static lldb::ExpressionVariableSP | GetExpressionVariable (lldb::StopInfoSP &stop_info_sp) |
static lldb::ValueObjectSP | GetCrashingDereference (lldb::StopInfoSP &stop_info_sp, lldb::addr_t *crashing_address=nullptr) |
![]() | |
lldb::ThreadWP | m_thread_wp |
uint32_t | m_stop_id |
uint32_t | m_resume_id |
uint64_t | m_value |
std::string | m_description |
LazyBool | m_override_should_notify |
LazyBool | m_override_should_stop |
StructuredData::ObjectSP | m_extended_info |
Definition at line 623 of file StopInfo.cpp.
|
protected |
Definition at line 686 of file StopInfo.cpp.
|
inline |
Definition at line 669 of file StopInfo.cpp.
|
overridedefault |
|
inlineoverridevirtual |
Reimplemented from lldb_private::StopInfo.
Definition at line 676 of file StopInfo.cpp.
References lldb_private::StreamString::GetString(), lldb_private::StopInfo::m_description, lldb_private::StopInfo::m_value, and lldb_private::Stream::Printf().
|
inlineoverridevirtual |
Implements lldb_private::StopInfo.
Definition at line 674 of file StopInfo.cpp.
References lldb::eStopReasonWatchpoint.
|
inlineoverrideprotectedvirtual |
Reimplemented from lldb_private::StopInfo.
Definition at line 872 of file StopInfo.cpp.
References lldb::eDescriptionLevelBrief, lldb::eExpressionCompleted, error(), lldb_private::UserExpression::Evaluate(), lldb_private::Debugger::GetAsyncExecution(), lldb_private::Debugger::GetAsyncOutputStream(), lldb_private::Target::GetDebugger(), lldb_private::UserID::GetID(), lldb_private::GetLog(), lldb_private::ExecutionContext::GetProcessSP(), lldb_private::StreamString::GetString(), lldb_private::ExecutionContext::GetTargetRef(), lldb_private::StopInfo::GetValue(), lldb_private::StopInfo::HasTargetRunSinceMe(), LLDB_LOGF, m_should_stop, m_should_stop_is_valid, m_silently_skip_wp, lldb_private::StopInfo::m_thread_wp, lldb_private::StopInfo::m_value, lldb_private::Process, lldb_private::Debugger::ReportError(), lldb_private::Debugger::SetAsyncExecution(), lldb_private::EvaluateExpressionOptions::SetIgnoreBreakpoints(), lldb_private::EvaluateExpressionOptions::SetUnwindOnError(), lldb_private::Scalar::ULongLong(), and lldb_private::Watchpoints.
|
inlineprivate |
Definition at line 1012 of file StopInfo.cpp.
References m_step_over_plan_complete, and m_using_step_over_plan.
|
inlineoverrideprotectedvirtual |
Reimplemented from lldb_private::StopInfo.
Definition at line 864 of file StopInfo.cpp.
References m_should_stop, and m_should_stop_is_valid.
|
inlineoverrideprotectedvirtual |
Reimplemented from lldb_private::StopInfo.
Definition at line 766 of file StopInfo.cpp.
References error(), lldb::eStateSuspended, lldb_private::GetLog(), lldb_private::ExecutionContext::GetProcessSP(), lldb_private::StopInfo::GetValue(), LLDB_LOG, LLDB_LOGF, m_should_stop, m_should_stop_is_valid, m_step_over_plan_complete, lldb_private::StopInfo::m_thread_wp, m_using_step_over_plan, and lldb_private::Process.
|
private |
Definition at line 1017 of file StopInfo.cpp.
Referenced by PerformAction(), ShouldStop(), and ShouldStopSynchronous().
|
private |
Definition at line 1018 of file StopInfo.cpp.
Referenced by PerformAction(), ShouldStop(), and ShouldStopSynchronous().
|
private |
Definition at line 1029 of file StopInfo.cpp.
Referenced by PerformAction().
|
private |
Definition at line 1030 of file StopInfo.cpp.
Referenced by SetStepOverPlanComplete(), and ShouldStopSynchronous().
|
private |
Definition at line 1031 of file StopInfo.cpp.
Referenced by SetStepOverPlanComplete(), and ShouldStopSynchronous().