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

#include <SBWatchpoint.h>

Public Member Functions

 SBWatchpoint ()
 
 SBWatchpoint (const lldb::SBWatchpoint &rhs)
 
 SBWatchpoint (const lldb::WatchpointSP &wp_sp)
 
 ~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 ()
 With -1 representing an invalid hardware index. More...
 
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::WatchpointSP GetSP () const
 
void SetSP (const lldb::WatchpointSP &sp)
 

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)
 

Friends

class SBTarget
 
class SBValue
 

Detailed Description

Definition at line 16 of file SBWatchpoint.h.

Constructor & Destructor Documentation

◆ SBWatchpoint() [1/3]

SBWatchpoint::SBWatchpoint ( )

Definition at line 29 of file SBWatchpoint.cpp.

References LLDB_RECORD_CONSTRUCTOR_NO_ARGS.

◆ SBWatchpoint() [2/3]

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

Definition at line 36 of file SBWatchpoint.cpp.

References LLDB_RECORD_CONSTRUCTOR.

◆ SBWatchpoint() [3/3]

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

Definition at line 31 of file SBWatchpoint.cpp.

References LLDB_RECORD_CONSTRUCTOR.

◆ ~SBWatchpoint()

SBWatchpoint::~SBWatchpoint ( )

Definition at line 49 of file SBWatchpoint.cpp.

Member Function Documentation

◆ Clear()

void SBWatchpoint::Clear ( )

◆ 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 ( )

◆ GetHardwareIndex()

int32_t SBWatchpoint::GetHardwareIndex ( )

With -1 representing an invalid hardware index.

Definition at line 98 of file SBWatchpoint.cpp.

References GetSP(), and LLDB_RECORD_METHOD_NO_ARGS.

Referenced by lldb_private::repro::RegisterMethods< SBWatchpoint >().

◆ GetHitCount()

uint32_t SBWatchpoint::GetHitCount ( )

◆ GetID()

watch_id_t SBWatchpoint::GetID ( )

◆ GetIgnoreCount()

uint32_t SBWatchpoint::GetIgnoreCount ( )

◆ GetSP()

lldb::WatchpointSP SBWatchpoint::GetSP ( ) const

◆ GetWatchAddress()

addr_t SBWatchpoint::GetWatchAddress ( )

◆ GetWatchpointEventTypeFromEvent()

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

◆ GetWatchpointFromEvent()

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

◆ GetWatchSize()

size_t SBWatchpoint::GetWatchSize ( )

◆ IsEnabled()

bool SBWatchpoint::IsEnabled ( )

◆ IsValid()

bool SBWatchpoint::IsValid ( ) const

◆ operator bool()

SBWatchpoint::operator bool ( ) const
explicit

Definition at line 67 of file SBWatchpoint.cpp.

References LLDB_RECORD_METHOD_CONST_NO_ARGS.

◆ operator!=()

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

Definition at line 80 of file SBWatchpoint.cpp.

References LLDB_RECORD_METHOD_CONST.

◆ operator=()

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

Definition at line 41 of file SBWatchpoint.cpp.

References LLDB_RECORD_METHOD, and LLDB_RECORD_RESULT.

◆ operator==()

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

Definition at line 73 of file SBWatchpoint.cpp.

References GetSP(), and LLDB_RECORD_METHOD_CONST.

◆ SetCondition()

void SBWatchpoint::SetCondition ( const char *  condition)

Definition at line 224 of file SBWatchpoint.cpp.

References GetSP(), and LLDB_RECORD_METHOD.

Referenced by lldb_private::repro::RegisterMethods< SBWatchpoint >().

◆ SetEnabled()

void SBWatchpoint::SetEnabled ( bool  enabled)

◆ SetIgnoreCount()

void SBWatchpoint::SetIgnoreCount ( uint32_t  n)

Definition at line 201 of file SBWatchpoint.cpp.

References GetSP(), and LLDB_RECORD_METHOD.

Referenced by lldb_private::repro::RegisterMethods< SBWatchpoint >().

◆ SetSP()

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

Friends And Related Function Documentation

◆ SBTarget

friend class SBTarget
friend

Definition at line 77 of file SBWatchpoint.h.

◆ SBValue

friend class SBValue
friend

Definition at line 78 of file SBWatchpoint.h.


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