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

#include <SBSymbolContext.h>

Public Member Functions

 SBSymbolContext ()
 
 SBSymbolContext (const lldb::SBSymbolContext &rhs)
 
 ~SBSymbolContext ()
 
 operator bool () const
 
bool IsValid () const
 
const lldb::SBSymbolContextoperator= (const lldb::SBSymbolContext &rhs)
 
lldb::SBModule GetModule ()
 
lldb::SBCompileUnit GetCompileUnit ()
 
lldb::SBFunction GetFunction ()
 
lldb::SBBlock GetBlock ()
 
lldb::SBLineEntry GetLineEntry ()
 
lldb::SBSymbol GetSymbol ()
 
void SetModule (lldb::SBModule module)
 
void SetCompileUnit (lldb::SBCompileUnit compile_unit)
 
void SetFunction (lldb::SBFunction function)
 
void SetBlock (lldb::SBBlock block)
 
void SetLineEntry (lldb::SBLineEntry line_entry)
 
void SetSymbol (lldb::SBSymbol symbol)
 
SBSymbolContext GetParentOfInlinedScope (const SBAddress &curr_frame_pc, SBAddress &parent_frame_addr) const
 
bool GetDescription (lldb::SBStream &description)
 

Protected Member Functions

 SBSymbolContext (const lldb_private::SymbolContext &sc_ptr)
 
lldb_private::SymbolContextoperator-> () const
 
lldb_private::SymbolContextoperator* ()
 
lldb_private::SymbolContextref ()
 
const lldb_private::SymbolContextoperator* () const
 
lldb_private::SymbolContextget () const
 

Private Attributes

std::unique_ptr< lldb_private::SymbolContextm_opaque_up
 

Friends

class SBAddress
 
class SBFrame
 
class SBModule
 
class SBThread
 
class SBTarget
 
class SBSymbolContextList
 
class lldb_private::python::SWIGBridge
 

Detailed Description

Definition at line 28 of file SBSymbolContext.h.

Constructor & Destructor Documentation

◆ SBSymbolContext() [1/3]

SBSymbolContext::SBSymbolContext ( )

Definition at line 21 of file SBSymbolContext.cpp.

References LLDB_INSTRUMENT_VA.

Referenced by GetParentOfInlinedScope().

◆ SBSymbolContext() [2/3]

SBSymbolContext::SBSymbolContext ( const lldb::SBSymbolContext rhs)

Definition at line 28 of file SBSymbolContext.cpp.

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

◆ ~SBSymbolContext()

SBSymbolContext::~SBSymbolContext ( )
default

◆ SBSymbolContext() [3/3]

SBSymbolContext::SBSymbolContext ( const lldb_private::SymbolContext sc_ptr)
protected

Definition at line 23 of file SBSymbolContext.cpp.

References LLDB_INSTRUMENT_VA.

Member Function Documentation

◆ get()

lldb_private::SymbolContext * SBSymbolContext::get ( ) const
protected

Definition at line 175 of file SBSymbolContext.cpp.

References m_opaque_up.

◆ GetBlock()

SBBlock SBSymbolContext::GetBlock ( )

Definition at line 86 of file SBSymbolContext.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

◆ GetCompileUnit()

SBCompileUnit SBSymbolContext::GetCompileUnit ( )

Definition at line 67 of file SBSymbolContext.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

◆ GetDescription()

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

◆ GetFunction()

SBFunction SBSymbolContext::GetFunction ( )

Definition at line 73 of file SBSymbolContext.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

◆ GetLineEntry()

SBLineEntry SBSymbolContext::GetLineEntry ( )

◆ GetModule()

SBModule SBSymbolContext::GetModule ( )

Definition at line 54 of file SBSymbolContext.cpp.

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

◆ GetParentOfInlinedScope()

SBSymbolContext SBSymbolContext::GetParentOfInlinedScope ( const SBAddress curr_frame_pc,
SBAddress parent_frame_addr 
) const

◆ GetSymbol()

SBSymbol SBSymbolContext::GetSymbol ( )

Definition at line 102 of file SBSymbolContext.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

◆ IsValid()

bool SBSymbolContext::IsValid ( ) const

Definition at line 44 of file SBSymbolContext.cpp.

References LLDB_INSTRUMENT_VA.

Referenced by lldb::SBSymbolContextList::Append().

◆ operator bool()

SBSymbolContext::operator bool ( ) const
explicit

Definition at line 48 of file SBSymbolContext.cpp.

References LLDB_INSTRUMENT_VA.

◆ operator*() [1/2]

lldb_private::SymbolContext & SBSymbolContext::operator* ( )
protected

Definition at line 163 of file SBSymbolContext.cpp.

References m_opaque_up.

◆ operator*() [2/2]

const lldb_private::SymbolContext & SBSymbolContext::operator* ( ) const
protected

Definition at line 158 of file SBSymbolContext.cpp.

References m_opaque_up.

◆ operator->()

lldb_private::SymbolContext * SBSymbolContext::operator-> ( ) const
protected

Definition at line 154 of file SBSymbolContext.cpp.

References m_opaque_up.

◆ operator=()

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

Definition at line 36 of file SBSymbolContext.cpp.

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

◆ ref()

lldb_private::SymbolContext & SBSymbolContext::ref ( )
protected

◆ SetBlock()

void SBSymbolContext::SetBlock ( lldb::SBBlock  block)

◆ SetCompileUnit()

void SBSymbolContext::SetCompileUnit ( lldb::SBCompileUnit  compile_unit)

◆ SetFunction()

void SBSymbolContext::SetFunction ( lldb::SBFunction  function)

◆ SetLineEntry()

void SBSymbolContext::SetLineEntry ( lldb::SBLineEntry  line_entry)

◆ SetModule()

void SBSymbolContext::SetModule ( lldb::SBModule  module)

◆ SetSymbol()

void SBSymbolContext::SetSymbol ( lldb::SBSymbol  symbol)

Friends And Related Function Documentation

◆ lldb_private::python::SWIGBridge

friend class lldb_private::python::SWIGBridge
friend

Definition at line 69 of file SBSymbolContext.h.

◆ SBAddress

friend class SBAddress
friend

Definition at line 62 of file SBSymbolContext.h.

◆ SBFrame

friend class SBFrame
friend

Definition at line 63 of file SBSymbolContext.h.

◆ SBModule

friend class SBModule
friend

Definition at line 64 of file SBSymbolContext.h.

◆ SBSymbolContextList

friend class SBSymbolContextList
friend

Definition at line 67 of file SBSymbolContext.h.

◆ SBTarget

friend class SBTarget
friend

Definition at line 66 of file SBSymbolContext.h.

◆ SBThread

friend class SBThread
friend

Definition at line 65 of file SBSymbolContext.h.

Member Data Documentation

◆ m_opaque_up

std::unique_ptr<lldb_private::SymbolContext> lldb::SBSymbolContext::m_opaque_up
private

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