LLDB  mainline
Public Member Functions | Protected Member Functions | 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 *lldb_object_ptr)
 
void SetAddress (const lldb_private::Address *lldb_object_ptr)
 

Friends

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

◆ SBAddress() [2/5]

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

Definition at line 34 of file SBAddress.cpp.

References lldb_private::clone(), and LLDB_RECORD_CONSTRUCTOR.

◆ SBAddress() [3/5]

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

Definition at line 40 of file SBAddress.cpp.

References LLDB_RECORD_CONSTRUCTOR.

◆ SBAddress() [4/5]

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

Definition at line 47 of file SBAddress.cpp.

References LLDB_RECORD_CONSTRUCTOR, and SetLoadAddress().

◆ ~SBAddress()

SBAddress::~SBAddress ( )

Definition at line 55 of file SBAddress.cpp.

◆ SBAddress() [5/5]

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

Definition at line 28 of file SBAddress.cpp.

Member Function Documentation

◆ Clear()

void SBAddress::Clear ( )

◆ get()

Address * SBAddress::get ( )
protected

◆ GetBlock()

SBBlock SBAddress::GetBlock ( )

◆ GetCompileUnit()

SBCompileUnit SBAddress::GetCompileUnit ( )

◆ GetDescription()

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

◆ GetFileAddress()

lldb::addr_t SBAddress::GetFileAddress ( ) const

◆ GetFunction()

SBFunction SBAddress::GetFunction ( )

◆ GetLineEntry()

SBLineEntry SBAddress::GetLineEntry ( )

◆ GetLoadAddress()

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

◆ GetModule()

SBModule SBAddress::GetModule ( )

◆ GetOffset()

lldb::addr_t SBAddress::GetOffset ( )

◆ GetSection()

lldb::SBSection SBAddress::GetSection ( )

◆ GetSymbol()

SBSymbol SBAddress::GetSymbol ( )

◆ GetSymbolContext()

SBSymbolContext SBAddress::GetSymbolContext ( uint32_t  resolve_scope)

◆ IsValid()

bool SBAddress::IsValid ( ) const

◆ OffsetAddress()

bool SBAddress::OffsetAddress ( addr_t  offset)

◆ operator bool()

SBAddress::operator bool ( ) const
explicit

Definition at line 83 of file SBAddress.cpp.

References LLDB_RECORD_METHOD_CONST_NO_ARGS.

◆ operator!=()

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

Definition at line 72 of file SBAddress.cpp.

References LLDB_RECORD_METHOD_CONST.

◆ operator->() [1/2]

Address * SBAddress::operator-> ( )
protected

Definition at line 184 of file SBAddress.cpp.

◆ operator->() [2/2]

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

Definition at line 186 of file SBAddress.cpp.

◆ operator=()

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

Definition at line 57 of file SBAddress.cpp.

References lldb_private::clone(), LLDB_RECORD_METHOD, and LLDB_RECORD_RESULT.

◆ ref() [1/2]

Address & SBAddress::ref ( )
protected

◆ ref() [2/2]

const Address & SBAddress::ref ( ) const
protected

Definition at line 194 of file SBAddress.cpp.

◆ SetAddress() [1/2]

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

◆ SetAddress() [2/2]

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

Definition at line 104 of file SBAddress.cpp.

References ref().

◆ 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

◆ SBBlock

friend class SBBlock
friend

Definition at line 89 of file SBAddress.h.

◆ SBBreakpoint

friend class SBBreakpoint
friend

Definition at line 90 of file SBAddress.h.

◆ SBBreakpointLocation

friend class SBBreakpointLocation
friend

Definition at line 91 of file SBAddress.h.

◆ SBFrame

friend class SBFrame
friend

Definition at line 92 of file SBAddress.h.

◆ SBFunction

friend class SBFunction
friend

Definition at line 93 of file SBAddress.h.

◆ SBInstruction

friend class SBInstruction
friend

Definition at line 95 of file SBAddress.h.

◆ SBLineEntry

friend class SBLineEntry
friend

Definition at line 94 of file SBAddress.h.

◆ SBModule

friend class SBModule
friend

Definition at line 96 of file SBAddress.h.

◆ SBQueueItem

friend class SBQueueItem
friend

Definition at line 104 of file SBAddress.h.

◆ SBSection

friend class SBSection
friend

Definition at line 97 of file SBAddress.h.

◆ SBSymbol

friend class SBSymbol
friend

Definition at line 98 of file SBAddress.h.

◆ SBSymbolContext

friend class SBSymbolContext
friend

Definition at line 99 of file SBAddress.h.

◆ SBTarget

friend class SBTarget
friend

Definition at line 100 of file SBAddress.h.

◆ SBThread

friend class SBThread
friend

Definition at line 101 of file SBAddress.h.

◆ SBThreadPlan

friend class SBThreadPlan
friend

Definition at line 102 of file SBAddress.h.

◆ SBValue

friend class SBValue
friend

Definition at line 103 of file SBAddress.h.


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