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

#include <SBFunction.h>

Public Member Functions

 SBFunction ()
 
 SBFunction (const lldb::SBFunction &rhs)
 
const lldb::SBFunctionoperator= (const lldb::SBFunction &rhs)
 
 ~SBFunction ()
 
 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)
 
lldb::SBAddress GetStartAddress ()
 
lldb::SBAddress GetEndAddress ()
 
lldb::SBAddressRangeList GetRanges ()
 
const char * GetArgumentName (uint32_t arg_idx)
 
uint32_t GetPrologueByteSize ()
 
lldb::SBType GetType ()
 
lldb::SBBlock GetBlock ()
 
lldb::LanguageType GetLanguage ()
 
bool GetIsOptimized ()
 
bool operator== (const lldb::SBFunction &rhs) const
 
bool operator!= (const lldb::SBFunction &rhs) const
 
bool GetDescription (lldb::SBStream &description)
 

Protected Member Functions

lldb_private::Functionget ()
 
void reset (lldb_private::Function *lldb_object_ptr)
 

Private Member Functions

 SBFunction (lldb_private::Function *lldb_object_ptr)
 

Private Attributes

lldb_private::Functionm_opaque_ptr = nullptr
 

Friends

class SBAddress
 
class SBFrame
 
class SBSymbolContext
 

Detailed Description

Definition at line 19 of file SBFunction.h.

Constructor & Destructor Documentation

◆ SBFunction() [1/3]

SBFunction::SBFunction ( )

Definition at line 26 of file SBFunction.cpp.

References LLDB_INSTRUMENT_VA.

◆ SBFunction() [2/3]

SBFunction::SBFunction ( const lldb::SBFunction rhs)

Definition at line 31 of file SBFunction.cpp.

References LLDB_INSTRUMENT_VA.

◆ ~SBFunction()

SBFunction::~SBFunction ( )

Definition at line 43 of file SBFunction.cpp.

References m_opaque_ptr.

◆ SBFunction() [3/3]

SBFunction::SBFunction ( lldb_private::Function lldb_object_ptr)
private

Definition at line 28 of file SBFunction.cpp.

Member Function Documentation

◆ get()

lldb_private::Function * SBFunction::get ( )
protected

Definition at line 135 of file SBFunction.cpp.

References m_opaque_ptr.

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

◆ GetArgumentName()

const char * SBFunction::GetArgumentName ( uint32_t  arg_idx)

◆ GetBlock()

SBBlock SBFunction::GetBlock ( )

◆ GetDescription()

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

◆ GetDisplayName()

const char * SBFunction::GetDisplayName ( ) const

◆ GetEndAddress()

SBAddress SBFunction::GetEndAddress ( )

◆ GetInstructions() [1/2]

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

Definition at line 108 of file SBFunction.cpp.

References GetInstructions(), and LLDB_INSTRUMENT_VA.

Referenced by GetInstructions().

◆ GetInstructions() [2/2]

SBInstructionList SBFunction::GetInstructions ( lldb::SBTarget  target,
const char *  flavor 
)

◆ GetIsOptimized()

bool SBFunction::GetIsOptimized ( )

◆ GetLanguage()

lldb::LanguageType SBFunction::GetLanguage ( )

◆ GetMangledName()

const char * SBFunction::GetMangledName ( ) const

◆ GetName()

const char * SBFunction::GetName ( ) const

◆ GetPrologueByteSize()

uint32_t SBFunction::GetPrologueByteSize ( )

◆ GetRanges()

lldb::SBAddressRangeList SBFunction::GetRanges ( )

◆ GetStartAddress()

SBAddress SBFunction::GetStartAddress ( )

◆ GetType()

SBType SBFunction::GetType ( )

◆ IsValid()

bool SBFunction::IsValid ( ) const

Definition at line 45 of file SBFunction.cpp.

References LLDB_INSTRUMENT_VA.

◆ operator bool()

SBFunction::operator bool ( ) const
explicit

Definition at line 49 of file SBFunction.cpp.

References LLDB_INSTRUMENT_VA.

◆ operator!=()

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

Definition at line 87 of file SBFunction.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_ptr.

◆ operator=()

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

Definition at line 36 of file SBFunction.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_ptr.

◆ operator==()

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

Definition at line 81 of file SBFunction.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_ptr.

◆ reset()

void SBFunction::reset ( lldb_private::Function lldb_object_ptr)
protected

Definition at line 137 of file SBFunction.cpp.

References m_opaque_ptr.

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

Friends And Related Function Documentation

◆ SBAddress

friend class SBAddress
friend

Definition at line 74 of file SBFunction.h.

◆ SBFrame

friend class SBFrame
friend

Definition at line 75 of file SBFunction.h.

◆ SBSymbolContext

friend class SBSymbolContext
friend

Definition at line 76 of file SBFunction.h.

Member Data Documentation

◆ m_opaque_ptr

lldb_private::Function* lldb::SBFunction::m_opaque_ptr = nullptr
private

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