LLDB  mainline
Public Member Functions | Protected Member Functions | List of all members
lldb_private::StopInfoBreakpoint Class Reference
Inheritance diagram for lldb_private::StopInfoBreakpoint:
Inheritance graph
[legend]
Collaboration diagram for lldb_private::StopInfoBreakpoint:
Collaboration graph
[legend]

Public Member Functions

 StopInfoBreakpoint (Thread &thread, break_id_t break_id)
 
 StopInfoBreakpoint (Thread &thread, break_id_t break_id, bool should_stop)
 
 ~StopInfoBreakpoint () override=default
 
void StoreBPInfo ()
 
bool IsValidForOperatingSystemThread (Thread &thread) override
 
StopReason GetStopReason () const override
 
bool ShouldStopSynchronous (Event *event_ptr) override
 
bool DoShouldNotify (Event *event_ptr) override
 
const char * GetDescription () override
 
- Public Member Functions inherited from lldb_private::StopInfo
 StopInfo (Thread &thread, uint64_t value)
 
virtual ~StopInfo ()
 
bool IsValid () const
 
void SetThread (const lldb::ThreadSP &thread_sp)
 
lldb::ThreadSP GetThread () const
 
uint64_t GetValue () const
 
void OverrideShouldNotify (bool override_value)
 
virtual bool ShouldNotify (Event *event_ptr)
 
virtual void WillResume (lldb::StateType resume_state)
 
virtual void SetDescription (const char *desc_cstr)
 
void OverrideShouldStop (bool override_value)
 
bool GetOverrideShouldStop ()
 
bool GetOverriddenShouldStopValue ()
 
StructuredData::ObjectSP GetExtendedInfo ()
 

Protected Member Functions

bool ShouldStop (Event *event_ptr) override
 
void PerformAction (Event *event_ptr) override
 
- Protected Member Functions inherited from lldb_private::StopInfo
bool HasTargetRunSinceMe ()
 
void MakeStopInfoValid ()
 

Additional Inherited Members

- Static Public Member Functions inherited from lldb_private::StopInfo
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, lldb::addr_t watch_hit_addr=LLDB_INVALID_ADDRESS)
 
static lldb::StopInfoSP CreateStopReasonWithSignal (Thread &thread, int signo, const char *description=nullptr)
 
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::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)
 
- Protected Attributes inherited from lldb_private::StopInfo
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
 

Detailed Description

Definition at line 84 of file StopInfo.cpp.

Constructor & Destructor Documentation

◆ StopInfoBreakpoint() [1/2]

lldb_private::StopInfoBreakpoint::StopInfoBreakpoint ( Thread thread,
break_id_t  break_id 
)
inline

Definition at line 86 of file StopInfo.cpp.

◆ StopInfoBreakpoint() [2/2]

lldb_private::StopInfoBreakpoint::StopInfoBreakpoint ( Thread thread,
break_id_t  break_id,
bool  should_stop 
)
inline

Definition at line 94 of file StopInfo.cpp.

◆ ~StopInfoBreakpoint()

lldb_private::StopInfoBreakpoint::~StopInfoBreakpoint ( )
overridedefault

Member Function Documentation

◆ DoShouldNotify()

bool lldb_private::StopInfoBreakpoint::DoShouldNotify ( Event event_ptr)
inlineoverridevirtual

Reimplemented from lldb_private::StopInfo.

Definition at line 164 of file StopInfo.cpp.

References lldb_private::StopInfo::m_thread_wp, and lldb_private::StopInfo::m_value.

◆ GetDescription()

const char* lldb_private::StopInfoBreakpoint::GetDescription ( )
inlineoverridevirtual

◆ GetStopReason()

StopReason lldb_private::StopInfoBreakpoint::GetStopReason ( ) const
inlineoverridevirtual

Implements lldb_private::StopInfo.

Definition at line 133 of file StopInfo.cpp.

References lldb::eStopReasonBreakpoint.

◆ IsValidForOperatingSystemThread()

bool lldb_private::StopInfoBreakpoint::IsValidForOperatingSystemThread ( Thread thread)
inlineoverridevirtual

Reimplemented from lldb_private::StopInfo.

Definition at line 122 of file StopInfo.cpp.

References lldb_private::Thread::GetProcess(), and lldb_private::StopInfo::m_value.

◆ PerformAction()

void lldb_private::StopInfoBreakpoint::PerformAction ( Event event_ptr)
inlineoverrideprotectedvirtual

◆ ShouldStop()

bool lldb_private::StopInfoBreakpoint::ShouldStop ( Event event_ptr)
inlineoverrideprotectedvirtual

Reimplemented from lldb_private::StopInfo.

Definition at line 250 of file StopInfo.cpp.

◆ ShouldStopSynchronous()

bool lldb_private::StopInfoBreakpoint::ShouldStopSynchronous ( Event event_ptr)
inlineoverridevirtual

◆ StoreBPInfo()

void lldb_private::StopInfoBreakpoint::StoreBPInfo ( )
inline

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