| LLDB mainline
    | 
A child of another ValueObject. More...
#include <ValueObjectChild.h>
| Protected Attributes | |
| CompilerType | m_compiler_type | 
| ConstString | m_type_name | 
| uint64_t | m_byte_size | 
| int32_t | m_byte_offset | 
| uint8_t | m_bitfield_bit_size | 
| uint8_t | m_bitfield_bit_offset | 
| bool | m_is_base_class | 
| bool | m_is_deref_of_parent | 
| std::optional< LazyBool > | m_can_update_with_invalid_exe_ctx | 
| Protected Attributes inherited from lldb_private::ValueObject | |
| ValueObject * | m_parent = nullptr | 
| The parent value object, or nullptr if this has no parent. | |
| ValueObject * | m_root = nullptr | 
| The root of the hierarchy for this ValueObject (or nullptr if never calculated). | |
| EvaluationPoint | m_update_point | 
| Stores both the stop id and the full context at which this value was last updated. | |
| ConstString | m_name | 
| The name of this object. | |
| DataExtractor | m_data | 
| A data extractor that can be used to extract the value. | |
| Value | m_value | 
| Status | m_error | 
| An error object that can describe any errors that occur when updating values. | |
| std::string | m_value_str | 
| Cached value string that will get cleared if/when the value is updated. | |
| std::string | m_old_value_str | 
| Cached old value string from the last time the value was gotten. | |
| std::string | m_location_str | 
| Cached location string that will get cleared if/when the value is updated. | |
| std::string | m_summary_str | 
| Cached summary string that will get cleared if/when the value is updated. | |
| std::string | m_object_desc_str | 
| Cached result of the "object printer". | |
| CompilerType | m_override_type | 
| If the type of the value object should be overridden, the type to impose. | |
| ValueObjectManager * | m_manager = nullptr | 
| This object is managed by the root object (any ValueObject that gets created without a parent.) The manager gets passed through all the generations of dependent objects, and will keep the whole cluster of objects alive as long as a shared pointer to any of them has been handed out. | |
| ChildrenManager | m_children | 
| std::map< ConstString, ValueObject * > | m_synthetic_children | 
| ValueObject * | m_dynamic_value = nullptr | 
| ValueObject * | m_synthetic_value = nullptr | 
| ValueObject * | m_deref_valobj = nullptr | 
| lldb::ValueObjectSP | m_addr_of_valobj_sp | 
| We have to hold onto a shared pointer to this one because it is created as an independent ValueObjectConstResult, which isn't managed by us. | |
| lldb::Format | m_format = lldb::eFormatDefault | 
| lldb::Format | m_last_format = lldb::eFormatDefault | 
| uint32_t | m_last_format_mgr_revision = 0 | 
| lldb::TypeSummaryImplSP | m_type_summary_sp | 
| lldb::TypeFormatImplSP | m_type_format_sp | 
| lldb::SyntheticChildrenSP | m_synthetic_children_sp | 
| ProcessModID | m_user_id_of_forced_summary | 
| AddressType | m_address_type_of_ptr_or_ref_children = eAddressTypeInvalid | 
| llvm::SmallVector< uint8_t, 16 > | m_value_checksum | 
| lldb::LanguageType | m_preferred_display_language = lldb::eLanguageTypeUnknown | 
| uint64_t | m_language_flags = 0 | 
| UserID | m_id | 
| Unique identifier for every value object. | |
| struct lldb_private::ValueObject::Bitflags | m_flags | 
| Friends | |
| class | ValueObject | 
| class | ValueObjectConstResult | 
| class | ValueObjectConstResultImpl | 
| class | ValueObjectVTable | 
A child of another ValueObject.
Definition at line 28 of file ValueObjectChild.h.
| 
 | overridedefault | 
| 
 | protected | 
Definition at line 29 of file ValueObjectChild.cpp.
References m_bitfield_bit_offset, m_bitfield_bit_size, m_byte_offset, m_byte_size, m_can_update_with_invalid_exe_ctx, m_compiler_type, m_is_base_class, m_is_deref_of_parent, lldb_private::ValueObject::m_name, lldb_private::ValueObject::SetAddressTypeOfChildren(), lldb_private::ValueObject::SetLanguageFlags(), and ValueObject.
Referenced by operator=(), ValueObjectChild(), and lldb_private::ValueObjectConstResultChild::ValueObjectConstResultChild().
| 
 | protecteddelete | 
References ValueObjectChild().
| 
 | overridevirtual | 
Should only be called by ValueObject::GetNumChildren().
Implements lldb_private::ValueObject.
Definition at line 51 of file ValueObjectChild.cpp.
References lldb_private::ValueObject::GetCompilerType(), lldb_private::ValueObject::GetExecutionContextRef(), and lldb_private::CompilerType::GetNumChildren().
| 
 | overrideprotectedvirtual | 
Reimplemented from lldb_private::ValueObject.
Definition at line 85 of file ValueObjectChild.cpp.
References lldb_private::ValueObject::CanUpdateWithInvalidExecutionContext(), lldb_private::eLazyBoolCalculate, m_can_update_with_invalid_exe_ctx, lldb_private::ValueObject::m_parent, and ValueObject.
| 
 | inlineoverridevirtual | 
Reimplemented from lldb_private::ValueObject.
Definition at line 38 of file ValueObjectChild.h.
References m_bitfield_bit_offset.
| 
 | inlineoverridevirtual | 
Reimplemented from lldb_private::ValueObject.
Definition at line 36 of file ValueObjectChild.h.
References m_bitfield_bit_size.
| 
 | inlineoverridevirtual | 
Reimplemented from lldb_private::ValueObject.
Definition at line 34 of file ValueObjectChild.h.
References m_byte_offset.
| 
 | inlineoverridevirtual | 
Implements lldb_private::ValueObject.
Definition at line 32 of file ValueObjectChild.h.
References m_byte_size.
| 
 | inlineoverrideprotectedvirtual | 
Implements lldb_private::ValueObject.
Definition at line 61 of file ValueObjectChild.h.
References m_compiler_type.
| 
 | overridevirtual | 
Reimplemented from lldb_private::ValueObject.
Definition at line 79 of file ValueObjectChild.cpp.
References AdjustForBitfieldness(), lldb_private::ValueObject::GetCompilerType(), lldb_private::CompilerType::GetDisplayTypeName(), and m_bitfield_bit_size.
| 
 | overridevirtual | 
Reimplemented from lldb_private::ValueObject.
Definition at line 73 of file ValueObjectChild.cpp.
References AdjustForBitfieldness(), lldb_private::ValueObject::GetCompilerType(), lldb_private::CompilerType::GetTypeName(), and m_bitfield_bit_size.
| 
 | overridevirtual | 
Reimplemented from lldb_private::ValueObject.
Definition at line 65 of file ValueObjectChild.cpp.
References AdjustForBitfieldness(), lldb_private::ValueObject::GetCompilerType(), lldb_private::CompilerType::GetTypeName(), m_bitfield_bit_size, and m_type_name.
| 
 | overridevirtual | 
Implements lldb_private::ValueObject.
Definition at line 47 of file ValueObjectChild.cpp.
References lldb_private::ValueObject::m_parent.
| 
 | inlineoverridevirtual | 
Reimplemented from lldb_private::ValueObject.
Definition at line 52 of file ValueObjectChild.h.
References m_is_base_class.
| 
 | inlineoverridevirtual | 
Reimplemented from lldb_private::ValueObject.
Definition at line 54 of file ValueObjectChild.h.
References m_is_deref_of_parent.
| 
 | overridevirtual | 
Reimplemented from lldb_private::ValueObject.
Definition at line 221 of file ValueObjectChild.cpp.
References lldb_private::ValueObject::GetRoot(), lldb_private::ValueObject::IsInScope(), and ValueObject.
| 
 | protecteddelete | 
References ValueObjectChild().
| 
 | overrideprotectedvirtual | 
Implements lldb_private::ValueObject.
Definition at line 102 of file ValueObjectChild.cpp.
References lldb_private::ValueObject::AddrAndType::address, lldb_private::Flags::AnySet(), lldb_private::Status::AsCString(), lldb_private::eAddressTypeFile, lldb_private::eAddressTypeHost, lldb_private::eAddressTypeInvalid, lldb_private::eAddressTypeLoad, lldb_private::Scalar::ExtractBitfield(), lldb_private::Value::FileAddress, lldb_private::Status::FromErrorString(), lldb_private::Status::FromErrorStringWithFormat(), lldb_private::ValueObject::GetAddressTypeOfChildren(), lldb_private::ExecutionContext::GetBestExecutionContextScope(), lldb_private::ValueObject::GetCompilerType(), lldb_private::ValueObject::GetError(), lldb_private::ValueObject::GetExecutionContextRef(), lldb_private::ValueObject::GetModule(), lldb_private::ValueObject::GetPointerValue(), lldb_private::ValueObject::GetProcessSP(), lldb_private::Value::GetScalar(), lldb_private::CompilerType::GetTypeInfo(), lldb_private::ValueObject::GetTypeInfo(), lldb_private::ValueObject::GetValue(), lldb_private::Value::GetValueAsData(), lldb_private::Value::GetValueType(), lldb_private::Value::HostAddress, lldb_private::Value::Invalid, LLDB_INVALID_ADDRESS, lldb_private::Value::LoadAddress, m_bitfield_bit_offset, m_bitfield_bit_size, m_byte_offset, m_byte_size, lldb_private::ValueObject::m_data, lldb_private::ValueObject::m_error, m_is_base_class, lldb_private::ValueObject::m_parent, lldb_private::ValueObject::m_value, lldb_private::Value::Scalar, lldb_private::ValueObject::SetValueIsValid(), lldb_private::CompilerType::ShouldTreatScalarValueAsAddress(), lldb_private::ValueObject::UpdateValueIfNeeded(), and ValueObject.
| 
 | friend | 
Definition at line 73 of file ValueObjectChild.h.
References ValueObject.
Referenced by CanUpdateWithInvalidExecutionContext(), IsInScope(), UpdateValue(), ValueObject, ValueObjectChild(), and ValueObjectVTable.
| 
 | friend | 
Definition at line 74 of file ValueObjectChild.h.
References ValueObjectConstResult.
Referenced by ValueObjectConstResult.
| 
 | friend | 
Definition at line 75 of file ValueObjectChild.h.
References ValueObjectConstResultImpl.
Referenced by ValueObjectConstResultImpl.
| 
 | friend | 
Definition at line 76 of file ValueObjectChild.h.
References ValueObject, and ValueObjectVTable.
Referenced by ValueObjectVTable.
| 
 | protected | 
Definition at line 68 of file ValueObjectChild.h.
Referenced by GetBitfieldBitOffset(), UpdateValue(), and ValueObjectChild().
| 
 | protected | 
Definition at line 67 of file ValueObjectChild.h.
Referenced by GetBitfieldBitSize(), GetDisplayTypeName(), GetQualifiedTypeName(), GetTypeName(), UpdateValue(), and ValueObjectChild().
| 
 | protected | 
Definition at line 66 of file ValueObjectChild.h.
Referenced by GetByteOffset(), UpdateValue(), and ValueObjectChild().
| 
 | protected | 
Definition at line 65 of file ValueObjectChild.h.
Referenced by GetByteSize(), UpdateValue(), and ValueObjectChild().
| 
 | protected | 
Definition at line 71 of file ValueObjectChild.h.
Referenced by CanUpdateWithInvalidExecutionContext(), and ValueObjectChild().
| 
 | protected | 
Definition at line 63 of file ValueObjectChild.h.
Referenced by GetCompilerTypeImpl(), and ValueObjectChild().
| 
 | protected | 
Definition at line 69 of file ValueObjectChild.h.
Referenced by IsBaseClass(), UpdateValue(), and ValueObjectChild().
| 
 | protected | 
Definition at line 70 of file ValueObjectChild.h.
Referenced by IsDereferenceOfParent(), and ValueObjectChild().
| 
 | protected | 
Definition at line 64 of file ValueObjectChild.h.
Referenced by GetTypeName().