LLDB  mainline
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
lldb_private::StoppointLocation Class Reference

#include <StoppointLocation.h>

Inheritance diagram for lldb_private::StoppointLocation:
Inheritance graph
[legend]
Collaboration diagram for lldb_private::StoppointLocation:
Collaboration graph
[legend]

Public Member Functions

 StoppointLocation (lldb::break_id_t bid, lldb::addr_t m_addr, bool hardware)
 
 StoppointLocation (lldb::break_id_t bid, lldb::addr_t m_addr, uint32_t byte_size, bool hardware)
 
virtual ~StoppointLocation ()
 
virtual lldb::addr_t GetLoadAddress () const
 
virtual void SetLoadAddress (lldb::addr_t addr)
 
uint32_t GetByteSize () const
 
uint32_t GetHitCount () const
 
uint32_t GetHardwareIndex () const
 
bool HardwareRequired () const
 
virtual bool IsHardware () const
 
virtual bool ShouldStop (StoppointCallbackContext *context)
 
virtual void Dump (Stream *stream) const
 
void SetHardwareIndex (uint32_t index)
 
lldb::break_id_t GetID () const
 

Protected Member Functions

void IncrementHitCount ()
 
void DecrementHitCount ()
 

Protected Attributes

lldb::break_id_t m_loc_id
 
lldb::addr_t m_addr
 
bool m_hardware
 
uint32_t m_hardware_index
 
uint32_t m_byte_size
 
uint32_t m_hit_count
 

Detailed Description

Definition at line 18 of file StoppointLocation.h.

Constructor & Destructor Documentation

◆ StoppointLocation() [1/2]

StoppointLocation::StoppointLocation ( lldb::break_id_t  bid,
lldb::addr_t  m_addr,
bool  hardware 
)

Definition at line 16 of file StoppointLocation.cpp.

◆ StoppointLocation() [2/2]

StoppointLocation::StoppointLocation ( lldb::break_id_t  bid,
lldb::addr_t  m_addr,
uint32_t  byte_size,
bool  hardware 
)

Definition at line 20 of file StoppointLocation.cpp.

◆ ~StoppointLocation()

StoppointLocation::~StoppointLocation ( )
virtual

Definition at line 27 of file StoppointLocation.cpp.

Member Function Documentation

◆ DecrementHitCount()

void StoppointLocation::DecrementHitCount ( )
protected

Definition at line 29 of file StoppointLocation.cpp.

References m_hit_count.

Referenced by IncrementHitCount().

◆ Dump()

virtual void lldb_private::StoppointLocation::Dump ( Stream stream) const
inlinevirtual

◆ GetByteSize()

uint32_t lldb_private::StoppointLocation::GetByteSize ( ) const
inline

◆ GetHardwareIndex()

uint32_t lldb_private::StoppointLocation::GetHardwareIndex ( ) const
inline

◆ GetHitCount()

uint32_t lldb_private::StoppointLocation::GetHitCount ( ) const
inline

Definition at line 37 of file StoppointLocation.h.

References m_hit_count.

Referenced by lldb_private::Watchpoint::DumpWithLevel().

◆ GetID()

lldb::break_id_t lldb_private::StoppointLocation::GetID ( ) const
inline

◆ GetLoadAddress()

virtual lldb::addr_t lldb_private::StoppointLocation::GetLoadAddress ( ) const
inlinevirtual

◆ HardwareRequired()

bool lldb_private::StoppointLocation::HardwareRequired ( ) const
inline

◆ IncrementHitCount()

void lldb_private::StoppointLocation::IncrementHitCount ( )
inlineprotected

Definition at line 74 of file StoppointLocation.h.

References DecrementHitCount(), and m_hit_count.

Referenced by lldb_private::Watchpoint::ShouldStop().

◆ IsHardware()

virtual bool lldb_private::StoppointLocation::IsHardware ( ) const
inlinevirtual

◆ SetHardwareIndex()

void lldb_private::StoppointLocation::SetHardwareIndex ( uint32_t  index)
inline

◆ SetLoadAddress()

virtual void lldb_private::StoppointLocation::SetLoadAddress ( lldb::addr_t  addr)
inlinevirtual

Definition at line 33 of file StoppointLocation.h.

◆ ShouldStop()

virtual bool lldb_private::StoppointLocation::ShouldStop ( StoppointCallbackContext context)
inlinevirtual

Member Data Documentation

◆ m_addr

lldb::addr_t lldb_private::StoppointLocation::m_addr
protected

Definition at line 59 of file StoppointLocation.h.

Referenced by GetLoadAddress().

◆ m_byte_size

uint32_t lldb_private::StoppointLocation::m_byte_size
protected

Definition at line 65 of file StoppointLocation.h.

Referenced by lldb_private::Watchpoint::DumpWithLevel(), and GetByteSize().

◆ m_hardware

bool lldb_private::StoppointLocation::m_hardware
protected

Definition at line 61 of file StoppointLocation.h.

Referenced by HardwareRequired().

◆ m_hardware_index

uint32_t lldb_private::StoppointLocation::m_hardware_index
protected

Definition at line 63 of file StoppointLocation.h.

Referenced by GetHardwareIndex(), IsHardware(), and SetHardwareIndex().

◆ m_hit_count

uint32_t lldb_private::StoppointLocation::m_hit_count
protected

◆ m_loc_id

lldb::break_id_t lldb_private::StoppointLocation::m_loc_id
protected

Definition at line 57 of file StoppointLocation.h.

Referenced by GetID().


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