LLDB mainline
|
Classes | |
struct | DictionaryItemDescriptor |
Public Member Functions | |
NSConstantDictionarySyntheticFrontEnd (lldb::ValueObjectSP valobj_sp) | |
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 | |
ExecutionContextRef | m_exe_ctx_ref |
CompilerType | m_pair_type |
uint8_t | m_ptr_size = 8 |
lldb::ByteOrder | m_order = lldb::eByteOrderInvalid |
unsigned int | m_size = 0 |
lldb::addr_t | m_keys_ptr = LLDB_INVALID_ADDRESS |
lldb::addr_t | m_objects_ptr = LLDB_INVALID_ADDRESS |
std::vector< DictionaryItemDescriptor > | m_children |
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 144 of file NSDictionary.cpp.
lldb_private::formatters::NSConstantDictionarySyntheticFrontEnd::NSConstantDictionarySyntheticFrontEnd | ( | lldb::ValueObjectSP | valobj_sp | ) |
Definition at line 870 of file NSDictionary.cpp.
|
overridevirtual |
Implements lldb_private::SyntheticChildrenFrontEnd.
Definition at line 883 of file NSDictionary.cpp.
|
overridevirtual |
Implements lldb_private::SyntheticChildrenFrontEnd.
Definition at line 919 of file NSDictionary.cpp.
References CalculateNumChildren(), error(), GetLLDBNSPairType(), lldb_private::StreamString::GetString(), lldb_private::formatters::NSConstantDictionarySyntheticFrontEnd::DictionaryItemDescriptor::key_ptr, lldb_private::Stream::Printf(), lldb_private::formatters::NSConstantDictionarySyntheticFrontEnd::DictionaryItemDescriptor::val_ptr, and lldb_private::formatters::NSConstantDictionarySyntheticFrontEnd::DictionaryItemDescriptor::valobj_sp.
|
overridevirtual |
Implements lldb_private::SyntheticChildrenFrontEnd.
Definition at line 874 of file NSDictionary.cpp.
References CalculateNumChildren(), lldb_private::formatters::ExtractIndexFromString(), lldb_private::ConstString::GetCString(), and UINT32_MAX.
|
overridevirtual |
Implements lldb_private::SyntheticChildrenFrontEnd.
Definition at line 914 of file NSDictionary.cpp.
|
overridevirtual |
Implements lldb_private::SyntheticChildrenFrontEnd.
Definition at line 888 of file NSDictionary.cpp.
References error().
|
private |
Definition at line 173 of file NSDictionary.cpp.
|
private |
Definition at line 159 of file NSDictionary.cpp.
|
private |
Definition at line 164 of file NSDictionary.cpp.
|
private |
Definition at line 165 of file NSDictionary.cpp.
|
private |
Definition at line 162 of file NSDictionary.cpp.
|
private |
Definition at line 160 of file NSDictionary.cpp.
|
private |
Definition at line 161 of file NSDictionary.cpp.
|
private |
Definition at line 163 of file NSDictionary.cpp.