LLDB mainline
|
Public Member Functions | |
BlockPointerSyntheticFrontEnd (lldb::ValueObjectSP valobj_sp) | |
~BlockPointerSyntheticFrontEnd () override=default | |
size_t | CalculateNumChildren () override |
lldb::ValueObjectSP | GetChildAtIndex (size_t idx) override |
bool | Update () override |
bool | MightHaveChildren () override |
size_t | GetIndexOfChildWithName (ConstString name) override |
![]() | |
SyntheticChildrenFrontEnd (ValueObject &backend) | |
virtual | ~SyntheticChildrenFrontEnd ()=default |
virtual size_t | CalculateNumChildren ()=0 |
virtual size_t | CalculateNumChildren (uint32_t max) |
virtual lldb::ValueObjectSP | GetChildAtIndex (size_t idx)=0 |
virtual size_t | GetIndexOfChildWithName (ConstString name)=0 |
virtual bool | Update ()=0 |
virtual bool | MightHaveChildren ()=0 |
virtual lldb::ValueObjectSP | GetSyntheticValue () |
virtual ConstString | GetSyntheticTypeName () |
Private Attributes | |
CompilerType | m_block_struct_type |
Additional Inherited Members | |
![]() | |
typedef std::shared_ptr< SyntheticChildrenFrontEnd > | SharedPointer |
typedef std::unique_ptr< SyntheticChildrenFrontEnd > | AutoPointer |
![]() | |
void | SetValid (bool valid) |
bool | IsValid () |
lldb::ValueObjectSP | CreateValueObjectFromExpression (llvm::StringRef name, llvm::StringRef expression, const ExecutionContext &exe_ctx) |
lldb::ValueObjectSP | CreateValueObjectFromAddress (llvm::StringRef name, uint64_t address, const ExecutionContext &exe_ctx, CompilerType type) |
lldb::ValueObjectSP | CreateValueObjectFromData (llvm::StringRef name, const DataExtractor &data, const ExecutionContext &exe_ctx, CompilerType type) |
![]() | |
ValueObject & | m_backend |
Definition at line 30 of file BlockPointer.cpp.
|
inline |
Definition at line 32 of file BlockPointer.cpp.
References lldb_private::DataFormatters, lldb_private::CompilerType::TypeSystemSPWrapper::dyn_cast_or_null(), lldb::eBasicTypeInt, lldb::eBasicTypeObjCClass, lldb::eLanguageTypeC_plus_plus, lldb_private::ValueObject::GetCompilerType(), lldb_private::GetLog(), lldb_private::ValueObject::GetTargetSP(), lldb_private::CompilerType::GetTypeSystem(), lldb_private::CompilerType::IsBlockPointerType(), LLDB_LOG_ERROR, lldb_private::SyntheticChildrenFrontEnd::m_backend, and m_block_struct_type.
|
overridedefault |
|
inlineoverridevirtual |
Implements lldb_private::SyntheticChildrenFrontEnd.
Definition at line 77 of file BlockPointer.cpp.
References lldb_private::CompilerType::GetNumChildren(), and m_block_struct_type.
Referenced by GetChildAtIndex().
|
inlineoverridevirtual |
Implements lldb_private::SyntheticChildrenFrontEnd.
Definition at line 82 of file BlockPointer.cpp.
References CalculateNumChildren(), lldb_private::ValueObject::Cast(), lldb_private::CompilerType::GetChildCompilerTypeAtIndex(), lldb_private::ValueObject::GetExecutionContextRef(), lldb_private::CompilerType::GetPointerType(), lldb_private::CompilerType::IsValid(), lldb_private::ExecutionContextRef::Lock(), lldb_private::SyntheticChildrenFrontEnd::m_backend, m_block_struct_type, and lldb_private::Status::Success().
|
inlineoverridevirtual |
Implements lldb_private::SyntheticChildrenFrontEnd.
Definition at line 144 of file BlockPointer.cpp.
References lldb_private::ConstString::AsCString(), lldb_private::CompilerType::GetIndexOfChildWithName(), lldb_private::CompilerType::IsValid(), m_block_struct_type, and UINT32_MAX.
|
inlineoverridevirtual |
Implements lldb_private::SyntheticChildrenFrontEnd.
Definition at line 142 of file BlockPointer.cpp.
|
inlineoverridevirtual |
Implements lldb_private::SyntheticChildrenFrontEnd.
Definition at line 139 of file BlockPointer.cpp.
|
private |
Definition at line 154 of file BlockPointer.cpp.
Referenced by BlockPointerSyntheticFrontEnd(), CalculateNumChildren(), GetChildAtIndex(), and GetIndexOfChildWithName().