|
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 28 of file SBBlock.cpp.
References LLDB_INSTRUMENT_VA.
Referenced by GetContainingInlinedBlock(), GetFirstChild(), GetParent(), GetSibling(), operator!=(), operator=(), operator==(), SBBlock(), and SBSymbolContext.
| SBBlock::SBBlock | ( | const lldb::SBBlock & | rhs | ) |
Definition at line 33 of file SBBlock.cpp.
References LLDB_INSTRUMENT_VA, m_opaque_ptr, and SBBlock().
| SBBlock::~SBBlock | ( | ) |
Definition at line 44 of file SBBlock.cpp.
References m_opaque_ptr.
|
private |
Definition at line 30 of file SBBlock.cpp.
References m_opaque_ptr.
|
private |
Definition at line 130 of file SBBlock.cpp.
References IsValid(), and m_opaque_ptr.
Referenced by SBSymbolContext.
| lldb::SBBlock SBBlock::GetContainingInlinedBlock | ( | ) |
Get the inlined block that contains this block.
Definition at line 149 of file SBBlock.cpp.
References LLDB_INSTRUMENT_VA, m_opaque_ptr, and SBBlock().
| bool SBBlock::GetDescription | ( | lldb::SBStream & | description | ) |
Definition at line 180 of file SBBlock.cpp.
References lldb_private::SymbolContext::function, lldb_private::Function::GetAddress(), lldb_private::Address::GetFileAddress(), 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 167 of file SBBlock.cpp.
References LLDB_INSTRUMENT_VA, m_opaque_ptr, and SBBlock().
| uint32_t SBBlock::GetInlinedCallSiteColumn | ( | ) | const |
Definition at line 118 of file SBBlock.cpp.
References lldb_private::InlineFunctionInfo::GetCallSite(), lldb_private::Declaration::GetColumn(), LLDB_INSTRUMENT_VA, and m_opaque_ptr.
| SBFileSpec SBBlock::GetInlinedCallSiteFile | ( | ) | const |
Definition at line 93 of file SBBlock.cpp.
References lldb_private::InlineFunctionInfo::GetCallSite(), lldb_private::Declaration::GetFile(), LLDB_INSTRUMENT_VA, m_opaque_ptr, and lldb::SBFileSpec::SetFileSpec().
| uint32_t SBBlock::GetInlinedCallSiteLine | ( | ) | const |
Definition at line 106 of file SBBlock.cpp.
References lldb_private::InlineFunctionInfo::GetCallSite(), lldb_private::Declaration::GetLine(), LLDB_INSTRUMENT_VA, and m_opaque_ptr.
| const char * SBBlock::GetInlinedName | ( | ) | const |
Definition at line 80 of file SBBlock.cpp.
References lldb_private::ConstString::AsCString(), lldb_private::InlineFunctionInfo::GetName(), LLDB_INSTRUMENT_VA, and m_opaque_ptr.
Referenced by GetDescription().
| uint32_t SBBlock::GetNumRanges | ( | ) |
Definition at line 203 of file SBBlock.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_ptr.
| SBBlock SBBlock::GetParent | ( | ) |
Definition at line 140 of file SBBlock.cpp.
References LLDB_INSTRUMENT_VA, m_opaque_ptr, and SBBlock().
|
private |
Definition at line 176 of file SBBlock.cpp.
References m_opaque_ptr.
Referenced by GetVariables(), GetVariables(), SBSymbolContext, and lldb::SBSymbolContext::SetBlock().
| lldb::SBAddress SBBlock::GetRangeEndAddress | ( | uint32_t | idx | ) |
Definition at line 224 of file SBBlock.cpp.
References lldb_private::AddressRange::GetBaseAddress(), lldb_private::AddressRange::GetByteSize(), 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 247 of file SBBlock.cpp.
References lldb::SBAddress::IsValid(), LLDB_INSTRUMENT_VA, m_opaque_ptr, lldb::SBAddress::ref(), and UINT32_MAX.
| lldb::SBAddressRangeList SBBlock::GetRanges | ( | ) |
Definition at line 238 of file SBBlock.cpp.
References LLDB_INSTRUMENT_VA, m_opaque_ptr, and lldb::SBAddressRangeList::m_opaque_up.
| lldb::SBAddress SBBlock::GetRangeStartAddress | ( | uint32_t | idx | ) |
Definition at line 211 of file SBBlock.cpp.
References lldb_private::AddressRange::GetBaseAddress(), LLDB_INSTRUMENT_VA, m_opaque_ptr, and lldb::SBAddress::ref().
| SBBlock SBBlock::GetSibling | ( | ) |
Definition at line 158 of file SBBlock.cpp.
References LLDB_INSTRUMENT_VA, m_opaque_ptr, and SBBlock().
| lldb::SBValueList SBBlock::GetVariables | ( | lldb::SBFrame & | frame, |
| bool | arguments, | ||
| bool | locals, | ||
| bool | statics, | ||
| lldb::DynamicValueType | use_dynamic ) |
Definition at line 257 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 311 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 72 of file SBBlock.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_ptr.
Referenced by GetDescription().
| bool SBBlock::IsValid | ( | ) | const |
Definition at line 46 of file SBBlock.cpp.
References LLDB_INSTRUMENT_VA.
Referenced by AppendVariables().
|
explicit |
Definition at line 50 of file SBBlock.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_ptr.
| bool SBBlock::operator!= | ( | const lldb::SBBlock & | rhs | ) | const |
Definition at line 66 of file SBBlock.cpp.
References LLDB_INSTRUMENT_VA, and SBBlock().
| const SBBlock & SBBlock::operator= | ( | const lldb::SBBlock & | rhs | ) |
Definition at line 37 of file SBBlock.cpp.
References LLDB_INSTRUMENT_VA, m_opaque_ptr, and SBBlock().
| bool SBBlock::operator== | ( | const lldb::SBBlock & | rhs | ) | const |
Definition at line 56 of file SBBlock.cpp.
References lldb_private::Function::GetCompileUnit(), lldb_private::Block::GetFunction(), LLDB_INSTRUMENT_VA, m_opaque_ptr, and SBBlock().
|
private |
Definition at line 178 of file SBBlock.cpp.
References m_opaque_ptr.
Referenced by lldb::SBAddress::GetBlock(), lldb::SBFunction::GetBlock(), and SBSymbolContext.
|
friend |
|
friend |
|
friend |
|
friend |
Definition at line 88 of file SBBlock.h.
References AppendVariables(), GetPtr(), SBBlock(), SBSymbolContext, and SetPtr().
Referenced by SBSymbolContext.
|
private |
Definition at line 99 of file SBBlock.h.
Referenced by AppendVariables(), GetContainingInlinedBlock(), GetDescription(), GetFirstChild(), GetInlinedCallSiteColumn(), GetInlinedCallSiteFile(), GetInlinedCallSiteLine(), GetInlinedName(), GetNumRanges(), GetParent(), GetPtr(), GetRangeEndAddress(), GetRangeIndexForBlockAddress(), GetRanges(), GetRangeStartAddress(), GetSibling(), IsInlined(), operator bool(), operator=(), operator==(), SBBlock(), SBBlock(), SetPtr(), and ~SBBlock().