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

#include <SBAddressRange.h>

Public Member Functions

 SBAddressRange ()
 
 SBAddressRange (const lldb::SBAddressRange &rhs)
 
 SBAddressRange (lldb::SBAddress addr, lldb::addr_t byte_size)
 
 ~SBAddressRange ()
 
const lldb::SBAddressRangeoperator= (const lldb::SBAddressRange &rhs)
 
void Clear ()
 
bool IsValid () const
 Check the address range refers to a valid base address and has a byte size greater than zero.
 
lldb::SBAddress GetBaseAddress () const
 Get the base address of the range.
 
lldb::addr_t GetByteSize () const
 Get the byte size of this range.
 
bool operator== (const SBAddressRange &rhs)
 
bool operator!= (const SBAddressRange &rhs)
 
bool GetDescription (lldb::SBStream &description, const SBTarget target)
 

Private Member Functions

lldb_private::AddressRangeref () const
 

Private Attributes

AddressRangeUP m_opaque_up
 

Friends

class SBAddressRangeList
 
class SBBlock
 
class SBFunction
 
class SBProcess
 

Detailed Description

Definition at line 20 of file SBAddressRange.h.

Constructor & Destructor Documentation

◆ SBAddressRange() [1/3]

SBAddressRange::SBAddressRange ( )

Definition at line 24 of file SBAddressRange.cpp.

References LLDB_INSTRUMENT_VA.

◆ SBAddressRange() [2/3]

SBAddressRange::SBAddressRange ( const lldb::SBAddressRange rhs)

Definition at line 29 of file SBAddressRange.cpp.

References lldb_private::clone(), LLDB_INSTRUMENT_VA, and m_opaque_up.

◆ SBAddressRange() [3/3]

SBAddressRange::SBAddressRange ( lldb::SBAddress  addr,
lldb::addr_t  byte_size 
)

Definition at line 35 of file SBAddressRange.cpp.

References LLDB_INSTRUMENT_VA.

◆ ~SBAddressRange()

SBAddressRange::~SBAddressRange ( )
default

References lldb::operator==().

Member Function Documentation

◆ Clear()

void SBAddressRange::Clear ( )

Definition at line 62 of file SBAddressRange.cpp.

References lldb_private::AddressRange::Clear(), LLDB_INSTRUMENT_VA, and ref().

◆ GetBaseAddress()

lldb::SBAddress SBAddressRange::GetBaseAddress ( ) const

Get the base address of the range.

Returns
Base address object.

Definition at line 74 of file SBAddressRange.cpp.

References GetBaseAddress(), LLDB_INSTRUMENT_VA, and ref().

Referenced by GetBaseAddress().

◆ GetByteSize()

lldb::addr_t SBAddressRange::GetByteSize ( ) const

Get the byte size of this range.

Returns
The size in bytes of this address range.

Definition at line 80 of file SBAddressRange.cpp.

References lldb_private::AddressRange::GetByteSize(), LLDB_INSTRUMENT_VA, and ref().

◆ GetDescription()

bool SBAddressRange::GetDescription ( lldb::SBStream description,
const SBTarget  target 
)

◆ IsValid()

bool SBAddressRange::IsValid ( ) const

Check the address range refers to a valid base address and has a byte size greater than zero.

Returns
True if the address range is valid, false otherwise.

Definition at line 68 of file SBAddressRange.cpp.

References lldb_private::AddressRange::IsValid(), LLDB_INSTRUMENT_VA, and ref().

◆ operator!=()

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

Definition at line 56 of file SBAddressRange.cpp.

References LLDB_INSTRUMENT_VA.

◆ operator=()

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

Definition at line 42 of file SBAddressRange.cpp.

References lldb_private::clone(), LLDB_INSTRUMENT_VA, and m_opaque_up.

◆ operator==()

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

Definition at line 50 of file SBAddressRange.cpp.

References LLDB_INSTRUMENT_VA, and ref().

◆ ref()

lldb_private::AddressRange & SBAddressRange::ref ( ) const
private

Friends And Related Function Documentation

◆ SBAddressRangeList

friend class SBAddressRangeList
friend

Definition at line 60 of file SBAddressRange.h.

◆ SBBlock

friend class SBBlock
friend

Definition at line 61 of file SBAddressRange.h.

◆ SBFunction

friend class SBFunction
friend

Definition at line 62 of file SBAddressRange.h.

◆ SBProcess

friend class SBProcess
friend

Definition at line 63 of file SBAddressRange.h.

Member Data Documentation

◆ m_opaque_up

AddressRangeUP lldb::SBAddressRange::m_opaque_up
private

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