LLDB mainline
|
Public Member Functions | |
LibcxxStdMapSyntheticFrontEnd (lldb::ValueObjectSP valobj_sp) | |
~LibcxxStdMapSyntheticFrontEnd () 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 Member Functions | |
bool | GetDataType () |
void | GetValueOffset (const lldb::ValueObjectSP &node) |
Private Attributes | |
ValueObject * | m_tree = nullptr |
ValueObject * | m_root_node = nullptr |
CompilerType | m_element_type |
uint32_t | m_skip_size = UINT32_MAX |
size_t | m_count = UINT32_MAX |
std::map< size_t, MapIterator > | m_iterators |
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 174 of file LibCxxMap.cpp.
lldb_private::formatters::LibcxxStdMapSyntheticFrontEnd::LibcxxStdMapSyntheticFrontEnd | ( | lldb::ValueObjectSP | valobj_sp | ) |
Definition at line 205 of file LibCxxMap.cpp.
References Update().
|
overridedefault |
|
overridevirtual |
Implements lldb_private::SyntheticChildrenFrontEnd.
Definition at line 212 of file LibCxxMap.cpp.
References UINT32_MAX.
|
overridevirtual |
Implements lldb_private::SyntheticChildrenFrontEnd.
Definition at line 320 of file LibCxxMap.cpp.
References MapIterator::advance(), CalculateNumChildren(), error(), lldb_private::StreamString::GetString(), lldb_private::Stream::Printf(), and UINT32_MAX.
|
private |
Definition at line 243 of file LibCxxMap.cpp.
References error().
|
overridevirtual |
Implements lldb_private::SyntheticChildrenFrontEnd.
Definition at line 434 of file LibCxxMap.cpp.
References lldb_private::formatters::ExtractIndexFromString(), and lldb_private::ConstString::GetCString().
|
private |
Definition at line 278 of file LibCxxMap.cpp.
References lldb_private::CompilerType::TypeSystemSPWrapper::dyn_cast_or_null(), lldb::eBasicTypeBool, lldb::eBasicTypeVoid, lldb_private::CompilerType::GetIndexOfFieldWithName(), lldb_private::CompilerType::GetTypeSystem(), lldb_private::CompilerType::IsValid(), and UINT32_MAX.
|
overridevirtual |
Implements lldb_private::SyntheticChildrenFrontEnd.
Definition at line 429 of file LibCxxMap.cpp.
|
overridevirtual |
Implements lldb_private::SyntheticChildrenFrontEnd.
Definition at line 418 of file LibCxxMap.cpp.
References UINT32_MAX.
Referenced by LibcxxStdMapSyntheticFrontEnd().
|
private |
Definition at line 199 of file LibCxxMap.cpp.
|
private |
Definition at line 197 of file LibCxxMap.cpp.
|
private |
Definition at line 200 of file LibCxxMap.cpp.
|
private |
Definition at line 196 of file LibCxxMap.cpp.
|
private |
Definition at line 198 of file LibCxxMap.cpp.
|
private |
Definition at line 195 of file LibCxxMap.cpp.