LLDB mainline
Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Attributes | Friends | List of all members
lldb::SBWatchpoint Class Reference

#include <SBWatchpoint.h>

Public Member Functions

 SBWatchpoint ()
 
 SBWatchpoint (const lldb::SBWatchpoint &rhs)
 
 ~SBWatchpoint ()
 
const lldb::SBWatchpointoperator= (const lldb::SBWatchpoint &rhs)
 
 operator bool () const
 
bool operator== (const SBWatchpoint &rhs) const
 
bool operator!= (const SBWatchpoint &rhs) const
 
bool IsValid () const
 
SBError GetError ()
 
watch_id_t GetID ()
 
int32_t GetHardwareIndex ()
 
lldb::addr_t GetWatchAddress ()
 
size_t GetWatchSize ()
 
void SetEnabled (bool enabled)
 
bool IsEnabled ()
 
uint32_t GetHitCount ()
 
uint32_t GetIgnoreCount ()
 
void SetIgnoreCount (uint32_t n)
 
const char * GetCondition ()
 
void SetCondition (const char *condition)
 
bool GetDescription (lldb::SBStream &description, DescriptionLevel level)
 
void Clear ()
 
lldb::SBType GetType ()
 
WatchpointValueKind GetWatchValueKind ()
 
const char * GetWatchSpec ()
 
bool IsWatchingReads ()
 
bool IsWatchingWrites ()
 

Static Public Member Functions

static bool EventIsWatchpointEvent (const lldb::SBEvent &event)
 
static lldb::WatchpointEventType GetWatchpointEventTypeFromEvent (const lldb::SBEvent &event)
 
static lldb::SBWatchpoint GetWatchpointFromEvent (const lldb::SBEvent &event)
 

Protected Member Functions

 SBWatchpoint (const lldb::WatchpointSP &wp_sp)
 
lldb::WatchpointSP GetSP () const
 
void SetSP (const lldb::WatchpointSP &sp)
 

Private Attributes

std::weak_ptr< lldb_private::Watchpointm_opaque_wp
 

Friends

class lldb_private::python::SWIGBridge
 
class lldb_private::lua::SWIGBridge
 
class SBTarget
 
class SBValue
 

Detailed Description

Definition at line 26 of file SBWatchpoint.h.

Constructor & Destructor Documentation

◆ SBWatchpoint() [1/3]

SBWatchpoint::SBWatchpoint ( )

Definition at line 29 of file SBWatchpoint.cpp.

References LLDB_INSTRUMENT_VA.

◆ SBWatchpoint() [2/3]

SBWatchpoint::SBWatchpoint ( const lldb::SBWatchpoint rhs)

Definition at line 36 of file SBWatchpoint.cpp.

References LLDB_INSTRUMENT_VA.

◆ ~SBWatchpoint()

SBWatchpoint::~SBWatchpoint ( )
default

References lldb::operator==().

◆ SBWatchpoint() [3/3]

SBWatchpoint::SBWatchpoint ( const lldb::WatchpointSP wp_sp)
protected

Definition at line 31 of file SBWatchpoint.cpp.

References LLDB_INSTRUMENT_VA.

Member Function Documentation

◆ Clear()

void SBWatchpoint::Clear ( )

Definition at line 244 of file SBWatchpoint.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_wp.

◆ EventIsWatchpointEvent()

bool SBWatchpoint::EventIsWatchpointEvent ( const lldb::SBEvent event)
static

◆ GetCondition()

const char * SBWatchpoint::GetCondition ( )

◆ GetDescription()

bool SBWatchpoint::GetDescription ( lldb::SBStream description,
DescriptionLevel  level 
)

◆ GetError()

SBError SBWatchpoint::GetError ( )

Definition at line 83 of file SBWatchpoint.cpp.

References GetSP(), LLDB_INSTRUMENT_VA, and lldb::SBError::SetError().

◆ GetHardwareIndex()

int32_t SBWatchpoint::GetHardwareIndex ( )

Definition at line 94 of file SBWatchpoint.cpp.

References LLDB_INSTRUMENT_VA.

◆ GetHitCount()

uint32_t SBWatchpoint::GetHitCount ( )

Definition at line 166 of file SBWatchpoint.cpp.

References GetSP(), and LLDB_INSTRUMENT_VA.

◆ GetID()

watch_id_t SBWatchpoint::GetID ( )

Definition at line 50 of file SBWatchpoint.cpp.

References GetSP(), LLDB_INSTRUMENT_VA, and LLDB_INVALID_WATCH_ID.

◆ GetIgnoreCount()

uint32_t SBWatchpoint::GetIgnoreCount ( )

Definition at line 180 of file SBWatchpoint.cpp.

References GetSP(), and LLDB_INSTRUMENT_VA.

◆ GetSP()

lldb::WatchpointSP SBWatchpoint::GetSP ( ) const
protected

◆ GetType()

lldb::SBType SBWatchpoint::GetType ( )

Definition at line 289 of file SBWatchpoint.cpp.

References GetSP(), and LLDB_INSTRUMENT_VA.

◆ GetWatchAddress()

addr_t SBWatchpoint::GetWatchAddress ( )

Definition at line 104 of file SBWatchpoint.cpp.

References GetSP(), LLDB_INSTRUMENT_VA, and LLDB_INVALID_ADDRESS.

◆ GetWatchpointEventTypeFromEvent()

WatchpointEventType SBWatchpoint::GetWatchpointEventTypeFromEvent ( const lldb::SBEvent event)
static

◆ GetWatchpointFromEvent()

SBWatchpoint SBWatchpoint::GetWatchpointFromEvent ( const lldb::SBEvent event)
static

◆ GetWatchSize()

size_t SBWatchpoint::GetWatchSize ( )

Definition at line 119 of file SBWatchpoint.cpp.

References GetSP(), and LLDB_INSTRUMENT_VA.

◆ GetWatchSpec()

const char * SBWatchpoint::GetWatchSpec ( )

◆ GetWatchValueKind()

WatchpointValueKind SBWatchpoint::GetWatchValueKind ( )

◆ IsEnabled()

bool SBWatchpoint::IsEnabled ( )

Definition at line 154 of file SBWatchpoint.cpp.

References GetSP(), and LLDB_INSTRUMENT_VA.

◆ IsValid()

bool SBWatchpoint::IsValid ( ) const

Definition at line 61 of file SBWatchpoint.cpp.

References LLDB_INSTRUMENT_VA.

◆ IsWatchingReads()

bool SBWatchpoint::IsWatchingReads ( )

Definition at line 332 of file SBWatchpoint.cpp.

References GetSP(), and LLDB_INSTRUMENT_VA.

◆ IsWatchingWrites()

bool SBWatchpoint::IsWatchingWrites ( )

Definition at line 345 of file SBWatchpoint.cpp.

References GetSP(), and LLDB_INSTRUMENT_VA.

◆ operator bool()

SBWatchpoint::operator bool ( ) const
explicit

Definition at line 65 of file SBWatchpoint.cpp.

References LLDB_INSTRUMENT_VA.

◆ operator!=()

bool SBWatchpoint::operator!= ( const SBWatchpoint rhs) const

Definition at line 77 of file SBWatchpoint.cpp.

References LLDB_INSTRUMENT_VA.

◆ operator=()

const SBWatchpoint & SBWatchpoint::operator= ( const lldb::SBWatchpoint rhs)

Definition at line 41 of file SBWatchpoint.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_wp.

◆ operator==()

bool SBWatchpoint::operator== ( const SBWatchpoint rhs) const

Definition at line 71 of file SBWatchpoint.cpp.

References GetSP(), and LLDB_INSTRUMENT_VA.

◆ SetCondition()

void SBWatchpoint::SetCondition ( const char *  condition)

Definition at line 215 of file SBWatchpoint.cpp.

References GetSP(), and LLDB_INSTRUMENT_VA.

◆ SetEnabled()

void SBWatchpoint::SetEnabled ( bool  enabled)

◆ SetIgnoreCount()

void SBWatchpoint::SetIgnoreCount ( uint32_t  n)

Definition at line 192 of file SBWatchpoint.cpp.

References GetSP(), and LLDB_INSTRUMENT_VA.

◆ SetSP()

void SBWatchpoint::SetSP ( const lldb::WatchpointSP sp)
protected

Friends And Related Function Documentation

◆ lldb_private::lua::SWIGBridge

friend class lldb_private::lua::SWIGBridge
friend

Definition at line 92 of file SBWatchpoint.h.

◆ lldb_private::python::SWIGBridge

friend class lldb_private::python::SWIGBridge
friend

Definition at line 91 of file SBWatchpoint.h.

◆ SBTarget

friend class SBTarget
friend

Definition at line 101 of file SBWatchpoint.h.

◆ SBValue

friend class SBValue
friend

Definition at line 102 of file SBWatchpoint.h.

Member Data Documentation

◆ m_opaque_wp

std::weak_ptr<lldb_private::Watchpoint> lldb::SBWatchpoint::m_opaque_wp
private

Definition at line 104 of file SBWatchpoint.h.

Referenced by Clear(), GetSP(), operator=(), and SetSP().


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