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

#include <SBWatchpoint.h>

Collaboration diagram for lldb::SBWatchpoint:
Collaboration graph
[legend]

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)
 

Private Attributes

std::weak_ptr< lldb_private::Watchpointm_opaque_wp
 

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_INSTRUMENT_VA.

◆ SBWatchpoint() [2/3]

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

Definition at line 36 of file SBWatchpoint.cpp.

References LLDB_INSTRUMENT_VA.

◆ SBWatchpoint() [3/3]

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

Definition at line 31 of file SBWatchpoint.cpp.

References LLDB_INSTRUMENT_VA.

◆ ~SBWatchpoint()

SBWatchpoint::~SBWatchpoint ( )
default

Member Function Documentation

◆ Clear()

void SBWatchpoint::Clear ( )

Definition at line 249 of file SBWatchpoint.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_wp.

◆ EventIsWatchpointEvent()

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

Definition at line 267 of file SBWatchpoint.cpp.

References lldb::SBEvent::get(), and LLDB_INSTRUMENT_VA.

◆ GetCondition()

const char * SBWatchpoint::GetCondition ( )

Definition at line 208 of file SBWatchpoint.cpp.

References GetSP(), and LLDB_INSTRUMENT_VA.

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

With -1 representing an invalid hardware index.

Definition at line 94 of file SBWatchpoint.cpp.

References GetSP(), and LLDB_INSTRUMENT_VA.

◆ GetHitCount()

uint32_t SBWatchpoint::GetHitCount ( )

Definition at line 171 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 185 of file SBWatchpoint.cpp.

References GetSP(), and LLDB_INSTRUMENT_VA.

◆ GetSP()

lldb::WatchpointSP SBWatchpoint::GetSP ( ) const

◆ GetWatchAddress()

addr_t SBWatchpoint::GetWatchAddress ( )

Definition at line 109 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 124 of file SBWatchpoint.cpp.

References GetSP(), and LLDB_INSTRUMENT_VA.

◆ IsEnabled()

bool SBWatchpoint::IsEnabled ( )

Definition at line 159 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.

◆ 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 220 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 197 of file SBWatchpoint.cpp.

References GetSP(), and LLDB_INSTRUMENT_VA.

◆ 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.

Member Data Documentation

◆ m_opaque_wp

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

Definition at line 80 of file SBWatchpoint.h.

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


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