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

Private Attributes

std::weak_ptr< lldb_private::Watchpointm_opaque_wp
 

Friends

class SBTarget
 
class SBValue
 

Detailed Description

Definition at line 17 of file SBWatchpoint.h.

Constructor & Destructor Documentation

◆ SBWatchpoint() [1/3]

SBWatchpoint::SBWatchpoint ( )

Definition at line 30 of file SBWatchpoint.cpp.

References LLDB_INSTRUMENT_VA.

◆ SBWatchpoint() [2/3]

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

Definition at line 37 of file SBWatchpoint.cpp.

References LLDB_INSTRUMENT_VA.

◆ SBWatchpoint() [3/3]

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

Definition at line 32 of file SBWatchpoint.cpp.

References LLDB_INSTRUMENT_VA.

◆ ~SBWatchpoint()

SBWatchpoint::~SBWatchpoint ( )
default

Member Function Documentation

◆ Clear()

void SBWatchpoint::Clear ( )

Definition at line 250 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 ( )

Definition at line 209 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 84 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 95 of file SBWatchpoint.cpp.

References GetSP(), and LLDB_INSTRUMENT_VA.

◆ GetHitCount()

uint32_t SBWatchpoint::GetHitCount ( )

Definition at line 172 of file SBWatchpoint.cpp.

References GetSP(), and LLDB_INSTRUMENT_VA.

◆ GetID()

watch_id_t SBWatchpoint::GetID ( )

Definition at line 51 of file SBWatchpoint.cpp.

References GetSP(), LLDB_INSTRUMENT_VA, and LLDB_INVALID_WATCH_ID.

◆ GetIgnoreCount()

uint32_t SBWatchpoint::GetIgnoreCount ( )

Definition at line 186 of file SBWatchpoint.cpp.

References GetSP(), and LLDB_INSTRUMENT_VA.

◆ GetSP()

lldb::WatchpointSP SBWatchpoint::GetSP ( ) const

◆ GetType()

lldb::SBType SBWatchpoint::GetType ( )

Definition at line 295 of file SBWatchpoint.cpp.

References GetSP(), and LLDB_INSTRUMENT_VA.

◆ GetWatchAddress()

addr_t SBWatchpoint::GetWatchAddress ( )

Definition at line 110 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 125 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 160 of file SBWatchpoint.cpp.

References GetSP(), and LLDB_INSTRUMENT_VA.

◆ IsValid()

bool SBWatchpoint::IsValid ( ) const

Definition at line 62 of file SBWatchpoint.cpp.

References LLDB_INSTRUMENT_VA.

◆ IsWatchingReads()

bool SBWatchpoint::IsWatchingReads ( )

Definition at line 338 of file SBWatchpoint.cpp.

References GetSP(), and LLDB_INSTRUMENT_VA.

◆ IsWatchingWrites()

bool SBWatchpoint::IsWatchingWrites ( )

Definition at line 351 of file SBWatchpoint.cpp.

References GetSP(), and LLDB_INSTRUMENT_VA.

◆ operator bool()

SBWatchpoint::operator bool ( ) const
explicit

Definition at line 66 of file SBWatchpoint.cpp.

References LLDB_INSTRUMENT_VA.

◆ operator!=()

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

Definition at line 78 of file SBWatchpoint.cpp.

References LLDB_INSTRUMENT_VA.

◆ operator=()

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

Definition at line 42 of file SBWatchpoint.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_wp.

◆ operator==()

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

Definition at line 72 of file SBWatchpoint.cpp.

References GetSP(), and LLDB_INSTRUMENT_VA.

◆ SetCondition()

void SBWatchpoint::SetCondition ( const char *  condition)

Definition at line 221 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 198 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 92 of file SBWatchpoint.h.

◆ SBValue

friend class SBValue
friend

Definition at line 93 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 95 of file SBWatchpoint.h.

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


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