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

#include <SBAddress.h>

Public Member Functions

 SBAddress ()
 
 SBAddress (const lldb::SBAddress &rhs)
 
 SBAddress (lldb::SBSection section, lldb::addr_t offset)
 
 SBAddress (lldb::addr_t load_addr, lldb::SBTarget &target)
 
 ~SBAddress ()
 
const lldb::SBAddressoperator= (const lldb::SBAddress &rhs)
 
 operator bool () const
 
bool operator!= (const SBAddress &rhs) const
 
bool IsValid () const
 
void Clear ()
 
addr_t GetFileAddress () const
 
addr_t GetLoadAddress (const lldb::SBTarget &target) const
 
void SetAddress (lldb::SBSection section, lldb::addr_t offset)
 
void SetLoadAddress (lldb::addr_t load_addr, lldb::SBTarget &target)
 
bool OffsetAddress (addr_t offset)
 
bool GetDescription (lldb::SBStream &description)
 
lldb::SBSymbolContext GetSymbolContext (uint32_t resolve_scope)
 
lldb::SBSection GetSection ()
 
lldb::addr_t GetOffset ()
 
lldb::SBModule GetModule ()
 
lldb::SBCompileUnit GetCompileUnit ()
 
lldb::SBFunction GetFunction ()
 
lldb::SBBlock GetBlock ()
 
lldb::SBSymbol GetSymbol ()
 
lldb::SBLineEntry GetLineEntry ()
 

Protected Member Functions

lldb_private::Addressoperator-> ()
 
const lldb_private::Addressoperator-> () const
 
lldb_private::Addressget ()
 
lldb_private::Addressref ()
 
const lldb_private::Addressref () const
 
 SBAddress (const lldb_private::Address &address)
 
void SetAddress (const lldb_private::Address &address)
 

Private Attributes

std::unique_ptr< lldb_private::Addressm_opaque_up
 

Friends

class SBAddressRange
 
class SBBlock
 
class SBBreakpoint
 
class SBBreakpointLocation
 
class SBFrame
 
class SBFunction
 
class SBLineEntry
 
class SBInstruction
 
class SBModule
 
class SBSection
 
class SBSymbol
 
class SBSymbolContext
 
class SBTarget
 
class SBThread
 
class SBThreadPlan
 
class SBValue
 
class SBQueueItem
 
bool LLDB_API operator== (const SBAddress &lhs, const SBAddress &rhs)
 

Detailed Description

Definition at line 17 of file SBAddress.h.

Constructor & Destructor Documentation

◆ SBAddress() [1/5]

SBAddress::SBAddress ( )

Definition at line 24 of file SBAddress.cpp.

References LLDB_INSTRUMENT_VA.

◆ SBAddress() [2/5]

SBAddress::SBAddress ( const lldb::SBAddress rhs)

Definition at line 31 of file SBAddress.cpp.

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

◆ SBAddress() [3/5]

SBAddress::SBAddress ( lldb::SBSection  section,
lldb::addr_t  offset 
)

Definition at line 37 of file SBAddress.cpp.

References LLDB_INSTRUMENT_VA.

◆ SBAddress() [4/5]

SBAddress::SBAddress ( lldb::addr_t  load_addr,
lldb::SBTarget target 
)

Definition at line 43 of file SBAddress.cpp.

References LLDB_INSTRUMENT_VA, and SetLoadAddress().

◆ ~SBAddress()

SBAddress::~SBAddress ( )
default

◆ SBAddress() [5/5]

SBAddress::SBAddress ( const lldb_private::Address address)
protected

Definition at line 28 of file SBAddress.cpp.

Member Function Documentation

◆ Clear()

void SBAddress::Clear ( )

Definition at line 82 of file SBAddress.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

◆ get()

Address * SBAddress::get ( )
protected

◆ GetBlock()

SBBlock SBAddress::GetBlock ( )

Definition at line 240 of file SBAddress.cpp.

References LLDB_INSTRUMENT_VA, m_opaque_up, and lldb::SBBlock::SetPtr().

◆ GetCompileUnit()

SBCompileUnit SBAddress::GetCompileUnit ( )

Definition at line 222 of file SBAddress.cpp.

References LLDB_INSTRUMENT_VA, m_opaque_up, and lldb::SBCompileUnit::reset().

◆ GetDescription()

bool SBAddress::GetDescription ( lldb::SBStream description)

◆ GetFileAddress()

lldb::addr_t SBAddress::GetFileAddress ( ) const

Definition at line 98 of file SBAddress.cpp.

References LLDB_INSTRUMENT_VA, LLDB_INVALID_ADDRESS, and m_opaque_up.

◆ GetFunction()

SBFunction SBAddress::GetFunction ( )

Definition at line 231 of file SBAddress.cpp.

References LLDB_INSTRUMENT_VA, m_opaque_up, and lldb::SBFunction::reset().

◆ GetLineEntry()

SBLineEntry SBAddress::GetLineEntry ( )

Definition at line 258 of file SBAddress.cpp.

References LLDB_INSTRUMENT_VA, m_opaque_up, and lldb::SBLineEntry::SetLineEntry().

◆ GetLoadAddress()

lldb::addr_t SBAddress::GetLoadAddress ( const lldb::SBTarget target) const

◆ GetModule()

SBModule SBAddress::GetModule ( )

Definition at line 203 of file SBAddress.cpp.

References LLDB_INSTRUMENT_VA, m_opaque_up, and lldb::SBModule::SetSP().

◆ GetOffset()

lldb::addr_t SBAddress::GetOffset ( )

Definition at line 161 of file SBAddress.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

◆ GetSection()

lldb::SBSection SBAddress::GetSection ( )

Definition at line 152 of file SBAddress.cpp.

References LLDB_INSTRUMENT_VA, m_opaque_up, and lldb::SBSection::SetSP().

◆ GetSymbol()

SBSymbol SBAddress::GetSymbol ( )

Definition at line 249 of file SBAddress.cpp.

References LLDB_INSTRUMENT_VA, m_opaque_up, and lldb::SBSymbol::reset().

◆ GetSymbolContext()

SBSymbolContext SBAddress::GetSymbolContext ( uint32_t  resolve_scope)

Definition at line 212 of file SBAddress.cpp.

References LLDB_INSTRUMENT_VA, m_opaque_up, and lldb::SBSymbolContext::ref().

◆ IsValid()

bool SBAddress::IsValid ( ) const

◆ OffsetAddress()

bool SBAddress::OffsetAddress ( addr_t  offset)

◆ operator bool()

SBAddress::operator bool ( ) const
explicit

Definition at line 76 of file SBAddress.cpp.

References LLDB_INSTRUMENT_VA.

◆ operator!=()

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

Definition at line 66 of file SBAddress.cpp.

References LLDB_INSTRUMENT_VA.

◆ operator->() [1/2]

Address * SBAddress::operator-> ( )
protected

Definition at line 169 of file SBAddress.cpp.

References m_opaque_up.

◆ operator->() [2/2]

const Address * SBAddress::operator-> ( ) const
protected

Definition at line 171 of file SBAddress.cpp.

References m_opaque_up.

◆ operator=()

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

Definition at line 52 of file SBAddress.cpp.

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

◆ ref() [1/2]

Address & SBAddress::ref ( )
protected

◆ ref() [2/2]

const Address & SBAddress::ref ( ) const
protected

Definition at line 179 of file SBAddress.cpp.

References m_opaque_up.

◆ SetAddress() [1/2]

void SBAddress::SetAddress ( const lldb_private::Address address)
protected

Definition at line 96 of file SBAddress.cpp.

References ref().

◆ SetAddress() [2/2]

void SBAddress::SetAddress ( lldb::SBSection  section,
lldb::addr_t  offset 
)

◆ SetLoadAddress()

void SBAddress::SetLoadAddress ( lldb::addr_t  load_addr,
lldb::SBTarget target 
)

Friends And Related Function Documentation

◆ operator==

bool LLDB_API operator== ( const SBAddress lhs,
const SBAddress rhs 
)
friend

◆ SBAddressRange

friend class SBAddressRange
friend

Definition at line 89 of file SBAddress.h.

◆ SBBlock

friend class SBBlock
friend

Definition at line 90 of file SBAddress.h.

◆ SBBreakpoint

friend class SBBreakpoint
friend

Definition at line 91 of file SBAddress.h.

◆ SBBreakpointLocation

friend class SBBreakpointLocation
friend

Definition at line 92 of file SBAddress.h.

◆ SBFrame

friend class SBFrame
friend

Definition at line 93 of file SBAddress.h.

◆ SBFunction

friend class SBFunction
friend

Definition at line 94 of file SBAddress.h.

◆ SBInstruction

friend class SBInstruction
friend

Definition at line 96 of file SBAddress.h.

◆ SBLineEntry

friend class SBLineEntry
friend

Definition at line 95 of file SBAddress.h.

◆ SBModule

friend class SBModule
friend

Definition at line 97 of file SBAddress.h.

◆ SBQueueItem

friend class SBQueueItem
friend

Definition at line 105 of file SBAddress.h.

◆ SBSection

friend class SBSection
friend

Definition at line 98 of file SBAddress.h.

◆ SBSymbol

friend class SBSymbol
friend

Definition at line 99 of file SBAddress.h.

◆ SBSymbolContext

friend class SBSymbolContext
friend

Definition at line 100 of file SBAddress.h.

◆ SBTarget

friend class SBTarget
friend

Definition at line 101 of file SBAddress.h.

◆ SBThread

friend class SBThread
friend

Definition at line 102 of file SBAddress.h.

◆ SBThreadPlan

friend class SBThreadPlan
friend

Definition at line 103 of file SBAddress.h.

◆ SBValue

friend class SBValue
friend

Definition at line 104 of file SBAddress.h.

Member Data Documentation

◆ m_opaque_up

std::unique_ptr<lldb_private::Address> lldb::SBAddress::m_opaque_up
private

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