LLDB mainline
|
#include <SBBlock.h>
Private Member Functions | |
lldb_private::Block * | GetPtr () |
void | SetPtr (lldb_private::Block *lldb_object_ptr) |
SBBlock (lldb_private::Block *lldb_object_ptr) | |
void | AppendVariables (bool can_create, bool get_parent_variables, lldb_private::VariableList *var_list) |
Private Attributes | |
lldb_private::Block * | m_opaque_ptr = nullptr |
Friends | |
class | SBAddress |
class | SBFrame |
class | SBFunction |
class | SBSymbolContext |
SBBlock::SBBlock | ( | ) |
Definition at line 29 of file SBBlock.cpp.
References LLDB_INSTRUMENT_VA.
SBBlock::SBBlock | ( | const lldb::SBBlock & | rhs | ) |
Definition at line 34 of file SBBlock.cpp.
References LLDB_INSTRUMENT_VA.
SBBlock::~SBBlock | ( | ) |
Definition at line 45 of file SBBlock.cpp.
References m_opaque_ptr.
|
private |
Definition at line 31 of file SBBlock.cpp.
|
private |
Definition at line 115 of file SBBlock.cpp.
References lldb_private::Block::AppendVariables(), IsValid(), and m_opaque_ptr.
lldb::SBBlock SBBlock::GetContainingInlinedBlock | ( | ) |
Get the inlined block that contains this block.
Definition at line 133 of file SBBlock.cpp.
References lldb_private::Block::GetContainingInlinedBlock(), LLDB_INSTRUMENT_VA, and m_opaque_ptr.
bool SBBlock::GetDescription | ( | lldb::SBStream & | description | ) |
Definition at line 164 of file SBBlock.cpp.
References lldb_private::Block::CalculateSymbolContext(), lldb_private::Block::DumpAddressRanges(), lldb_private::SymbolContext::function, lldb_private::Function::GetAddressRange(), lldb_private::AddressRange::GetBaseAddress(), lldb_private::Address::GetFileAddress(), lldb_private::UserID::GetID(), GetInlinedName(), IsInlined(), LLDB_INSTRUMENT_VA, m_opaque_ptr, lldb_private::Stream::Printf(), lldb_private::Stream::PutCString(), and lldb::SBStream::ref().
SBBlock SBBlock::GetFirstChild | ( | ) |
Definition at line 151 of file SBBlock.cpp.
References lldb_private::Block::GetFirstChild(), LLDB_INSTRUMENT_VA, and m_opaque_ptr.
uint32_t SBBlock::GetInlinedCallSiteColumn | ( | ) | const |
Definition at line 103 of file SBBlock.cpp.
References lldb_private::InlineFunctionInfo::GetCallSite(), lldb_private::Declaration::GetColumn(), lldb_private::Block::GetInlinedFunctionInfo(), LLDB_INSTRUMENT_VA, and m_opaque_ptr.
SBFileSpec SBBlock::GetInlinedCallSiteFile | ( | ) | const |
Definition at line 78 of file SBBlock.cpp.
References lldb_private::InlineFunctionInfo::GetCallSite(), lldb_private::Declaration::GetFile(), lldb_private::Block::GetInlinedFunctionInfo(), LLDB_INSTRUMENT_VA, m_opaque_ptr, and lldb::SBFileSpec::SetFileSpec().
uint32_t SBBlock::GetInlinedCallSiteLine | ( | ) | const |
Definition at line 91 of file SBBlock.cpp.
References lldb_private::InlineFunctionInfo::GetCallSite(), lldb_private::Block::GetInlinedFunctionInfo(), lldb_private::Declaration::GetLine(), LLDB_INSTRUMENT_VA, and m_opaque_ptr.
const char * SBBlock::GetInlinedName | ( | ) | const |
Definition at line 65 of file SBBlock.cpp.
References lldb_private::ConstString::AsCString(), lldb_private::Block::GetInlinedFunctionInfo(), lldb_private::InlineFunctionInfo::GetName(), LLDB_INSTRUMENT_VA, and m_opaque_ptr.
Referenced by GetDescription().
uint32_t SBBlock::GetNumRanges | ( | ) |
Definition at line 188 of file SBBlock.cpp.
References lldb_private::Block::GetNumRanges(), LLDB_INSTRUMENT_VA, and m_opaque_ptr.
SBBlock SBBlock::GetParent | ( | ) |
Definition at line 124 of file SBBlock.cpp.
References lldb_private::Block::GetParent(), LLDB_INSTRUMENT_VA, and m_opaque_ptr.
|
private |
Definition at line 160 of file SBBlock.cpp.
References m_opaque_ptr.
Referenced by GetVariables(), and lldb::SBSymbolContext::SetBlock().
lldb::SBAddress SBBlock::GetRangeEndAddress | ( | uint32_t | idx | ) |
Definition at line 209 of file SBBlock.cpp.
References lldb_private::AddressRange::GetBaseAddress(), lldb_private::AddressRange::GetByteSize(), lldb_private::Block::GetRangeAtIndex(), LLDB_INSTRUMENT_VA, m_opaque_ptr, lldb::SBAddress::ref(), and lldb_private::Address::Slide().
uint32_t SBBlock::GetRangeIndexForBlockAddress | ( | lldb::SBAddress | block_addr | ) |
Definition at line 232 of file SBBlock.cpp.
References lldb_private::Block::GetRangeIndexContainingAddress(), lldb::SBAddress::IsValid(), LLDB_INSTRUMENT_VA, m_opaque_ptr, lldb::SBAddress::ref(), and UINT32_MAX.
lldb::SBAddressRangeList SBBlock::GetRanges | ( | ) |
Definition at line 223 of file SBBlock.cpp.
References lldb_private::Block::GetRanges(), LLDB_INSTRUMENT_VA, m_opaque_ptr, and lldb::SBAddressRangeList::m_opaque_up.
lldb::SBAddress SBBlock::GetRangeStartAddress | ( | uint32_t | idx | ) |
Definition at line 196 of file SBBlock.cpp.
References lldb_private::AddressRange::GetBaseAddress(), lldb_private::Block::GetRangeAtIndex(), LLDB_INSTRUMENT_VA, m_opaque_ptr, and lldb::SBAddress::ref().
SBBlock SBBlock::GetSibling | ( | ) |
Definition at line 142 of file SBBlock.cpp.
References lldb_private::Block::GetSibling(), LLDB_INSTRUMENT_VA, and m_opaque_ptr.
lldb::SBValueList SBBlock::GetVariables | ( | lldb::SBFrame & | frame, |
bool | arguments, | ||
bool | locals, | ||
bool | statics, | ||
lldb::DynamicValueType | use_dynamic | ||
) |
Definition at line 242 of file SBBlock.cpp.
References lldb::SBValueList::Append(), lldb::eNoDynamicValues, lldb::eValueTypeVariableArgument, lldb::eValueTypeVariableGlobal, lldb::eValueTypeVariableLocal, lldb::eValueTypeVariableStatic, lldb::eValueTypeVariableThreadLocal, lldb_private::Block::GetBlockVariableList(), lldb::SBFrame::GetFrameSP(), GetPtr(), LLDB_INSTRUMENT_VA, and lldb::SBValue::SetSP().
lldb::SBValueList SBBlock::GetVariables | ( | lldb::SBTarget & | target, |
bool | arguments, | ||
bool | locals, | ||
bool | statics | ||
) |
Definition at line 296 of file SBBlock.cpp.
References lldb::SBValueList::Append(), lldb_private::ValueObjectVariable::Create(), lldb::eValueTypeVariableArgument, lldb::eValueTypeVariableGlobal, lldb::eValueTypeVariableLocal, lldb::eValueTypeVariableStatic, lldb::eValueTypeVariableThreadLocal, lldb_private::Block::GetBlockVariableList(), GetPtr(), lldb::SBTarget::GetSP(), and LLDB_INSTRUMENT_VA.
bool SBBlock::IsInlined | ( | ) | const |
Definition at line 57 of file SBBlock.cpp.
References lldb_private::Block::GetInlinedFunctionInfo(), LLDB_INSTRUMENT_VA, and m_opaque_ptr.
Referenced by GetDescription().
bool SBBlock::IsValid | ( | ) | const |
Definition at line 47 of file SBBlock.cpp.
References LLDB_INSTRUMENT_VA.
Referenced by AppendVariables().
|
explicit |
Definition at line 51 of file SBBlock.cpp.
References LLDB_INSTRUMENT_VA.
const SBBlock & SBBlock::operator= | ( | const lldb::SBBlock & | rhs | ) |
Definition at line 38 of file SBBlock.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_ptr.
|
private |
Definition at line 162 of file SBBlock.cpp.
References m_opaque_ptr.
Referenced by lldb::SBAddress::GetBlock(), lldb::SBFunction::GetBlock(), lldb::SBFrame::GetBlock(), and lldb::SBFrame::GetFrameBlock().
|
friend |
|
friend |
|
private |
Definition at line 94 of file SBBlock.h.
Referenced by AppendVariables(), GetContainingInlinedBlock(), GetDescription(), GetFirstChild(), GetInlinedCallSiteColumn(), GetInlinedCallSiteFile(), GetInlinedCallSiteLine(), GetInlinedName(), GetNumRanges(), GetParent(), GetPtr(), GetRangeEndAddress(), GetRangeIndexForBlockAddress(), GetRanges(), GetRangeStartAddress(), GetSibling(), IsInlined(), operator=(), SetPtr(), and ~SBBlock().