LLDB mainline
|
#include <SBSymbolContext.h>
Public Member Functions | |
SBSymbolContext () | |
SBSymbolContext (const lldb::SBSymbolContext &rhs) | |
~SBSymbolContext () | |
operator bool () const | |
bool | IsValid () const |
const lldb::SBSymbolContext & | operator= (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::SymbolContext * | operator-> () const |
lldb_private::SymbolContext & | operator* () |
lldb_private::SymbolContext & | ref () |
const lldb_private::SymbolContext & | operator* () const |
lldb_private::SymbolContext * | get () const |
Private Attributes | |
std::unique_ptr< lldb_private::SymbolContext > | m_opaque_up |
Friends | |
class | SBAddress |
class | SBFrame |
class | SBModule |
class | SBThread |
class | SBTarget |
class | SBSymbolContextList |
class | lldb_private::python::SWIGBridge |
Definition at line 28 of file SBSymbolContext.h.
SBSymbolContext::SBSymbolContext | ( | ) |
Definition at line 21 of file SBSymbolContext.cpp.
References LLDB_INSTRUMENT_VA.
Referenced by GetParentOfInlinedScope().
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.
|
default |
|
protected |
Definition at line 23 of file SBSymbolContext.cpp.
References LLDB_INSTRUMENT_VA.
|
protected |
Definition at line 175 of file SBSymbolContext.cpp.
References m_opaque_up.
SBBlock SBSymbolContext::GetBlock | ( | ) |
Definition at line 86 of file SBSymbolContext.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_up.
SBCompileUnit SBSymbolContext::GetCompileUnit | ( | ) |
Definition at line 67 of file SBSymbolContext.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_up.
bool SBSymbolContext::GetDescription | ( | lldb::SBStream & | description | ) |
Definition at line 179 of file SBSymbolContext.cpp.
References lldb::eDescriptionLevelFull, LLDB_INSTRUMENT_VA, m_opaque_up, lldb_private::Stream::PutCString(), and lldb::SBStream::ref().
SBFunction SBSymbolContext::GetFunction | ( | ) |
Definition at line 73 of file SBSymbolContext.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_up.
SBLineEntry SBSymbolContext::GetLineEntry | ( | ) |
Definition at line 92 of file SBSymbolContext.cpp.
References LLDB_INSTRUMENT_VA, m_opaque_up, and lldb::SBLineEntry::SetLineEntry().
SBModule SBSymbolContext::GetModule | ( | ) |
Definition at line 54 of file SBSymbolContext.cpp.
References LLDB_INSTRUMENT_VA, m_opaque_up, and lldb::SBModule::SetSP().
SBSymbolContext SBSymbolContext::GetParentOfInlinedScope | ( | const SBAddress & | curr_frame_pc, |
SBAddress & | parent_frame_addr | ||
) | const |
Definition at line 193 of file SBSymbolContext.cpp.
References lldb::SBAddress::IsValid(), LLDB_INSTRUMENT_VA, m_opaque_up, lldb::SBAddress::ref(), ref(), and SBSymbolContext().
SBSymbol SBSymbolContext::GetSymbol | ( | ) |
Definition at line 102 of file SBSymbolContext.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_up.
bool SBSymbolContext::IsValid | ( | ) | const |
Definition at line 44 of file SBSymbolContext.cpp.
References LLDB_INSTRUMENT_VA.
Referenced by lldb::SBSymbolContextList::Append().
|
explicit |
Definition at line 48 of file SBSymbolContext.cpp.
References LLDB_INSTRUMENT_VA.
|
protected |
Definition at line 163 of file SBSymbolContext.cpp.
References m_opaque_up.
|
protected |
Definition at line 158 of file SBSymbolContext.cpp.
References m_opaque_up.
|
protected |
Definition at line 154 of file SBSymbolContext.cpp.
References m_opaque_up.
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.
|
protected |
Definition at line 169 of file SBSymbolContext.cpp.
References m_opaque_up.
Referenced by GetParentOfInlinedScope(), lldb::SBAddress::GetSymbolContext(), lldb::SBTarget::ResolveSymbolContextForAddress(), SetBlock(), SetCompileUnit(), SetFunction(), SetLineEntry(), SetModule(), and SetSymbol().
void SBSymbolContext::SetBlock | ( | lldb::SBBlock | block | ) |
Definition at line 133 of file SBSymbolContext.cpp.
References lldb_private::SymbolContext::block, lldb::SBBlock::GetPtr(), LLDB_INSTRUMENT_VA, and ref().
void SBSymbolContext::SetCompileUnit | ( | lldb::SBCompileUnit | compile_unit | ) |
Definition at line 121 of file SBSymbolContext.cpp.
References lldb_private::SymbolContext::comp_unit, lldb::SBCompileUnit::get(), LLDB_INSTRUMENT_VA, and ref().
void SBSymbolContext::SetFunction | ( | lldb::SBFunction | function | ) |
Definition at line 127 of file SBSymbolContext.cpp.
References lldb_private::SymbolContext::function, lldb::SBFunction::get(), LLDB_INSTRUMENT_VA, and ref().
void SBSymbolContext::SetLineEntry | ( | lldb::SBLineEntry | line_entry | ) |
Definition at line 139 of file SBSymbolContext.cpp.
References lldb_private::LineEntry::Clear(), lldb::SBLineEntry::IsValid(), lldb_private::SymbolContext::line_entry, LLDB_INSTRUMENT_VA, lldb::SBLineEntry::ref(), and ref().
void SBSymbolContext::SetModule | ( | lldb::SBModule | module | ) |
Definition at line 115 of file SBSymbolContext.cpp.
References lldb::SBModule::GetSP(), LLDB_INSTRUMENT_VA, lldb_private::SymbolContext::module_sp, and ref().
void SBSymbolContext::SetSymbol | ( | lldb::SBSymbol | symbol | ) |
Definition at line 148 of file SBSymbolContext.cpp.
References lldb::SBSymbol::get(), LLDB_INSTRUMENT_VA, ref(), and lldb_private::SymbolContext::symbol.
|
friend |
Definition at line 69 of file SBSymbolContext.h.
|
friend |
Definition at line 62 of file SBSymbolContext.h.
|
friend |
Definition at line 63 of file SBSymbolContext.h.
|
friend |
Definition at line 64 of file SBSymbolContext.h.
|
friend |
Definition at line 67 of file SBSymbolContext.h.
|
friend |
Definition at line 66 of file SBSymbolContext.h.
|
friend |
Definition at line 65 of file SBSymbolContext.h.
|
private |
Definition at line 84 of file SBSymbolContext.h.
Referenced by get(), GetBlock(), GetCompileUnit(), GetDescription(), GetFunction(), GetLineEntry(), GetModule(), GetParentOfInlinedScope(), GetSymbol(), operator*(), operator->(), operator=(), ref(), and SBSymbolContext().