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

#include <SBSymbol.h>

Collaboration diagram for lldb::SBSymbol:
Collaboration graph
[legend]

Public Member Functions

 SBSymbol ()
 
 ~SBSymbol ()
 
 SBSymbol (const lldb::SBSymbol &rhs)
 
const lldb::SBSymboloperator= (const lldb::SBSymbol &rhs)
 
 operator bool () const
 
bool IsValid () const
 
const char * GetName () const
 
const char * GetDisplayName () const
 
const char * GetMangledName () const
 
lldb::SBInstructionList GetInstructions (lldb::SBTarget target)
 
lldb::SBInstructionList GetInstructions (lldb::SBTarget target, const char *flavor_string)
 
SBAddress GetStartAddress ()
 
SBAddress GetEndAddress ()
 
uint32_t GetPrologueByteSize ()
 
SymbolType GetType ()
 
bool operator== (const lldb::SBSymbol &rhs) const
 
bool operator!= (const lldb::SBSymbol &rhs) const
 
bool GetDescription (lldb::SBStream &description)
 
bool IsExternal ()
 
bool IsSynthetic ()
 

Protected Member Functions

lldb_private::Symbolget ()
 
void reset (lldb_private::Symbol *)
 

Private Member Functions

 SBSymbol (lldb_private::Symbol *lldb_object_ptr)
 
void SetSymbol (lldb_private::Symbol *lldb_object_ptr)
 

Private Attributes

lldb_private::Symbolm_opaque_ptr = nullptr
 

Friends

class SBAddress
 
class SBFrame
 
class SBModule
 
class SBSymbolContext
 

Detailed Description

Definition at line 19 of file SBSymbol.h.

Constructor & Destructor Documentation

◆ SBSymbol() [1/3]

SBSymbol::SBSymbol ( )

Definition at line 21 of file SBSymbol.cpp.

References LLDB_RECORD_CONSTRUCTOR_NO_ARGS.

◆ ~SBSymbol()

SBSymbol::~SBSymbol ( )

Definition at line 38 of file SBSymbol.cpp.

References m_opaque_ptr.

◆ SBSymbol() [2/3]

SBSymbol::SBSymbol ( const lldb::SBSymbol rhs)

Definition at line 26 of file SBSymbol.cpp.

References LLDB_RECORD_CONSTRUCTOR.

◆ SBSymbol() [3/3]

SBSymbol::SBSymbol ( lldb_private::Symbol lldb_object_ptr)
private

Definition at line 23 of file SBSymbol.cpp.

Member Function Documentation

◆ get()

lldb_private::Symbol * SBSymbol::get ( )
protected

Definition at line 143 of file SBSymbol.cpp.

References m_opaque_ptr.

Referenced by lldb::SBSymbolContext::SetSymbol().

◆ GetDescription()

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

◆ GetDisplayName()

const char * SBSymbol::GetDisplayName ( ) const

◆ GetEndAddress()

SBAddress SBSymbol::GetEndAddress ( )

◆ GetInstructions() [1/2]

SBInstructionList SBSymbol::GetInstructions ( lldb::SBTarget  target)

Definition at line 111 of file SBSymbol.cpp.

References LLDB_RECORD_METHOD, and LLDB_RECORD_RESULT.

Referenced by GetInstructions().

◆ GetInstructions() [2/2]

SBInstructionList SBSymbol::GetInstructions ( lldb::SBTarget  target,
const char *  flavor_string 
)

◆ GetMangledName()

const char * SBSymbol::GetMangledName ( ) const

◆ GetName()

const char * SBSymbol::GetName ( ) const

◆ GetPrologueByteSize()

uint32_t SBSymbol::GetPrologueByteSize ( )

◆ GetStartAddress()

SBAddress SBSymbol::GetStartAddress ( )

◆ GetType()

SymbolType SBSymbol::GetType ( )

◆ IsExternal()

bool SBSymbol::IsExternal ( )

◆ IsSynthetic()

bool SBSymbol::IsSynthetic ( )

◆ IsValid()

bool SBSymbol::IsValid ( ) const

Definition at line 44 of file SBSymbol.cpp.

References LLDB_RECORD_METHOD_CONST_NO_ARGS.

◆ operator bool()

SBSymbol::operator bool ( ) const
explicit

Definition at line 48 of file SBSymbol.cpp.

References LLDB_RECORD_METHOD_CONST_NO_ARGS.

◆ operator!=()

bool SBSymbol::operator!= ( const lldb::SBSymbol rhs) const

Definition at line 90 of file SBSymbol.cpp.

References LLDB_RECORD_METHOD_CONST, and m_opaque_ptr.

◆ operator=()

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

Definition at line 30 of file SBSymbol.cpp.

References LLDB_RECORD_METHOD, LLDB_RECORD_RESULT, and m_opaque_ptr.

◆ operator==()

bool SBSymbol::operator== ( const lldb::SBSymbol rhs) const

Definition at line 83 of file SBSymbol.cpp.

References LLDB_RECORD_METHOD_CONST, and m_opaque_ptr.

◆ reset()

void SBSymbol::reset ( lldb_private::Symbol symbol)
protected

Definition at line 145 of file SBSymbol.cpp.

References m_opaque_ptr.

Referenced by lldb::SBFrame::GetSymbol(), and lldb::SBAddress::GetSymbol().

◆ SetSymbol()

void SBSymbol::SetSymbol ( lldb_private::Symbol lldb_object_ptr)
private

Definition at line 40 of file SBSymbol.cpp.

References m_opaque_ptr.

Referenced by lldb::SBModule::FindSymbol(), and lldb::SBModule::GetSymbolAtIndex().

Friends And Related Function Documentation

◆ SBAddress

friend class SBAddress
friend

Definition at line 72 of file SBSymbol.h.

◆ SBFrame

friend class SBFrame
friend

Definition at line 73 of file SBSymbol.h.

◆ SBModule

friend class SBModule
friend

Definition at line 74 of file SBSymbol.h.

◆ SBSymbolContext

friend class SBSymbolContext
friend

Definition at line 75 of file SBSymbol.h.

Member Data Documentation

◆ m_opaque_ptr

lldb_private::Symbol* lldb::SBSymbol::m_opaque_ptr = nullptr
private

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