LLDB mainline
|
#include <ValueObject.h>
Classes | |
struct | Bitflags |
class | ChildrenManager |
class | EvaluationPoint |
struct | GetValueForExpressionPathOptions |
Static Public Member Functions | |
static lldb::ValueObjectSP | CreateValueObjectFromExpression (llvm::StringRef name, llvm::StringRef expression, const ExecutionContext &exe_ctx) |
static lldb::ValueObjectSP | CreateValueObjectFromExpression (llvm::StringRef name, llvm::StringRef expression, const ExecutionContext &exe_ctx, const EvaluateExpressionOptions &options) |
static lldb::ValueObjectSP | CreateValueObjectFromAddress (llvm::StringRef name, uint64_t address, const ExecutionContext &exe_ctx, CompilerType type) |
static lldb::ValueObjectSP | CreateValueObjectFromData (llvm::StringRef name, const DataExtractor &data, const ExecutionContext &exe_ctx, CompilerType type) |
Protected Types | |
typedef ClusterManager< ValueObject > | ValueObjectManager |
Protected Attributes | |
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 |
Private Member Functions | |
virtual CompilerType | MaybeCalculateCompleteType () |
void | UpdateChildrenAddressType () |
lldb::ValueObjectSP | GetValueForExpressionPath_Impl (llvm::StringRef expression_cstr, ExpressionPathScanEndReason *reason_to_stop, ExpressionPathEndResultType *final_value_type, const GetValueForExpressionPathOptions &options, ExpressionPathAftermath *final_task_on_target) |
ValueObject (const ValueObject &)=delete | |
const ValueObject & | operator= (const ValueObject &)=delete |
Friends | |
class | ValueObjectChild |
class | ExpressionVariable |
class | Target |
class | ValueObjectConstResultImpl |
class | ValueObjectSynthetic |
This abstract class provides an interface to a particular value, be it a register, a local or global variable, that is evaluated in some particular scope. The ValueObject also has the capability of being the "child" of some other variable object, and in turn of having children. If a ValueObject is a root variable object - having no parent - then it must be constructed with respect to some particular ExecutionContextScope. If it is a child, it inherits the ExecutionContextScope from its parent. The ValueObject will update itself if necessary before fetching its value, summary, object description, etc. But it will always update itself in the ExecutionContextScope with which it was originally created. A brief note on life cycle management for ValueObjects. This is a little tricky because a ValueObject can contain various other ValueObjects - the Dynamic Value, its children, the dereference value, etc. Any one of these can be handed out as a shared pointer, but for that contained value object to be valid, the root object and potentially other of the value objects need to stay around. We solve this problem by handing out shared pointers to the Value Object and any of its dependents using a shared ClusterManager. This treats each shared pointer handed out for the entire cluster as a reference to the whole cluster. The whole cluster will stay around until the last reference is released.
The ValueObject mostly handle this automatically, if a value object is made with a Parent ValueObject, then it adds itself to the ClusterManager of the parent. It does mean that external to the ValueObjects we should only ever make available ValueObjectSP's, never ValueObjects or pointers to them. So all the "Root level" ValueObject derived constructors should be private, and should implement a Create function that new's up object and returns a Shared Pointer that it gets from the GetSP() method.
However, if you are making an derived ValueObject that will be contained in a parent value object, you should just hold onto a pointer to it internally, and by virtue of passing the parent ValueObject into its constructor, it will be added to the ClusterManager for the parent. Then if you ever hand out a Shared Pointer to the contained ValueObject, just do so by calling GetSP() on the contained object.
Definition at line 105 of file ValueObject.h.
|
protected |
Definition at line 789 of file ValueObject.h.
Definition at line 182 of file ValueObject.h.
Enumerator | |
---|---|
eExpressionPathAftermathNothing | Just return it. |
eExpressionPathAftermathDereference | Dereference the target. |
eExpressionPathAftermathTakeAddress | Take target's address. |
Definition at line 173 of file ValueObject.h.
Definition at line 159 of file ValueObject.h.
Definition at line 123 of file ValueObject.h.
Enumerator | |
---|---|
eGetExpressionPathFormatDereferencePointers | |
eGetExpressionPathFormatHonorPointers |
Definition at line 107 of file ValueObject.h.
|
strong |
Enumerator | |
---|---|
eDisable | |
eAllow |
Definition at line 522 of file ValueObject.h.
Definition at line 112 of file ValueObject.h.
|
virtualdefault |
|
protected |
Use this constructor to create a "root variable object".
The ValueObject will be locked to this context through-out its lifespan.
Definition at line 93 of file ValueObject.cpp.
References lldb_private::ExecutionContextScope::CalculateTarget(), lldb_private::ArchSpec::GetAddressByteSize(), lldb_private::ArchSpec::GetByteOrder(), m_data, m_manager, lldb_private::ClusterManager< T >::ManageObject(), lldb_private::DataExtractor::SetAddressByteSize(), and lldb_private::DataExtractor::SetByteOrder().
|
protected |
Use this constructor to create a ValueObject owned by another ValueObject.
It will inherit the ExecutionContext of its parent.
Definition at line 82 of file ValueObject.cpp.
References lldb_private::DataExtractor::GetAddressByteSize(), lldb_private::DataExtractor::GetByteOrder(), GetDataExtractor(), m_data, m_flags, lldb_private::ValueObject::Bitflags::m_is_synthetic_children_generated, m_manager, lldb_private::ClusterManager< T >::ManageObject(), lldb_private::DataExtractor::SetAddressByteSize(), and lldb_private::DataExtractor::SetByteOrder().
|
privatedelete |
|
virtual |
Reimplemented in lldb_private::ValueObjectConstResult, lldb_private::ValueObjectConstResultCast, and lldb_private::ValueObjectConstResultChild.
Definition at line 2698 of file ValueObject.cpp.
References lldb_private::ConstString::AsCString(), lldb_private::ValueObjectConstResult::Create(), lldb_private::eAddressTypeFile, lldb_private::eAddressTypeHost, lldb_private::eAddressTypeInvalid, lldb_private::eAddressTypeLoad, error(), lldb_private::DataExtractor::GetAddressByteSize(), GetAddressOf(), lldb_private::ExecutionContext::GetBestExecutionContextScope(), GetCompilerType(), lldb_private::StreamString::GetData(), GetExecutionContextRef(), GetExpressionPath(), lldb_private::CompilerType::GetPointerType(), LLDB_INVALID_ADDRESS, m_addr_of_valobj_sp, m_data, and m_name.
Referenced by lldb_private::ClangExpressionDeclMap::LookUpLldbClass(), and lldb_private::ClangExpressionDeclMap::LookUpLldbObjCClass().
|
protected |
Definition at line 1535 of file ValueObject.cpp.
References m_synthetic_children.
Referenced by GetSyntheticArrayMember(), GetSyntheticBase(), GetSyntheticBitFieldChild(), GetSyntheticChildAtOffset(), and GetSyntheticExpressionPathChild().
|
protectedvirtual |
Definition at line 1801 of file ValueObject.cpp.
References ClearDynamicTypeInformation(), lldb::eNoDynamicValues, GetExecutionContextRef(), lldb_private::ExecutionContext::GetProcessPtr(), IsDynamic(), lldb_private::Process::IsPossibleDynamicValue(), and m_dynamic_value.
Referenced by GetDynamicValue().
|
protectedpure virtual |
Should only be called by ValueObject::GetNumChildren().
Implemented in lldb_private::ValueObjectCast, lldb_private::ValueObjectChild, lldb_private::ValueObjectConstResult, lldb_private::ValueObjectDynamicValue, lldb_private::ValueObjectMemory, lldb_private::ValueObjectRegisterSet, lldb_private::ValueObjectRegister, lldb_private::ValueObjectSynthetic, lldb_private::ValueObjectVariable, lldb_private::ValueObjectVTable, ValueObjectVTableChild, and lldb_private::ValueObjectRecognizerSynthesizedValue.
Referenced by GetNumChildren().
|
protectedvirtual |
Reimplemented in lldb_private::ValueObjectSynthetic.
Definition at line 1780 of file ValueObject.cpp.
References GetTargetSP(), m_synthetic_children_sp, m_synthetic_value, UpdateFormatsIfNeeded(), and ValueObjectSynthetic.
Referenced by GetSyntheticValue(), and HasSyntheticValue().
|
virtual |
Reimplemented in lldb_private::ValueObjectSynthetic.
Definition at line 3113 of file ValueObject.cpp.
References GetCompilerType(), lldb_private::CompilerType::GetTypeInfo(), and lldb_private::CompilerType::IsValid().
Referenced by lldb_private::ValueObjectSynthetic::CanProvideValue(), DumpPrintableRepresentation(), lldb_private::TypeFormatImpl_Format::FormatObject(), lldb_private::TypeFormatImpl_EnumType::FormatObject(), GetExpressionPath(), GetValueAsSigned(), GetValueAsUnsigned(), lldb_private::ValueObjectCast::UpdateValue(), lldb_private::ValueObjectDynamicValue::UpdateValue(), lldb_private::ValueObjectMemory::UpdateValue(), lldb_private::ValueObjectVariable::UpdateValue(), and UpdateValueIfNeeded().
|
inlineprotectedvirtual |
Reimplemented in lldb_private::ValueObjectChild, lldb_private::ValueObjectDynamicValue, and lldb_private::ValueObjectSynthetic.
Definition at line 945 of file ValueObject.h.
References lldb_private::eLazyBoolCalculate.
Referenced by lldb_private::ValueObjectChild::CanUpdateWithInvalidExecutionContext(), and NeedsUpdating().
ValueObjectSP ValueObject::Cast | ( | const CompilerType & | compiler_type | ) |
Definition at line 2745 of file ValueObject.cpp.
References lldb_private::ValueObjectConstResult::Create(), DoCast(), error(), lldb_private::ExecutionContext::GetBestExecutionContextScope(), GetByteSize(), lldb_private::CompilerType::GetByteSize(), GetCompilerType(), GetExecutionContextRef(), lldb_private::Value::GetValueType(), lldb_private::Value::LoadAddress, and m_value.
Referenced by lldb_private::formatters::BlockPointerSyntheticFrontEnd::GetChildAtIndex().
|
virtual |
Definition at line 2783 of file ValueObject.cpp.
References lldb_private::ValueObjectMemory::Create(), lldb_private::ExecutionContext::GetBestExecutionContextScope(), GetExecutionContextRef(), GetPointerValue(), and LLDB_INVALID_ADDRESS.
|
virtual |
Definition at line 2798 of file ValueObject.cpp.
References lldb_private::ValueObjectMemory::Create(), lldb_private::ExecutionContext::GetBestExecutionContextScope(), GetExecutionContextRef(), GetPointerValue(), and LLDB_INVALID_ADDRESS.
|
protected |
Definition at line 236 of file ValueObject.cpp.
References lldb_private::ValueObject::Bitflags::m_children_count_valid, lldb_private::ValueObject::Bitflags::m_did_calculate_complete_objc_class_type, m_flags, m_last_format_mgr_revision, m_override_type, SetSummaryFormat(), SetSyntheticChildren(), and SetValueFormat().
Referenced by CalculateDynamicValue(), and lldb_private::ValueObjectDynamicValue::UpdateValue().
|
protected |
Definition at line 2939 of file ValueObject.cpp.
References eClearUserVisibleDataItemsDescription, eClearUserVisibleDataItemsLocation, eClearUserVisibleDataItemsSummary, eClearUserVisibleDataItemsSyntheticChildren, eClearUserVisibleDataItemsValue, m_location_str, m_object_desc_str, m_summary_str, m_synthetic_value, and m_value_str.
Referenced by SetFormat(), lldb_private::ValueObjectSynthetic::SetFormat(), SetNeedsUpdate(), SetSummaryFormat(), SetSyntheticChildren(), SetValueFormat(), UpdateValueIfNeeded(), and ValueUpdated().
|
virtual |
Creates a copy of the ValueObject with a new name and setting the current ValueObject as its parent.
It should be used when we want to change the name of a ValueObject without modifying the actual ValueObject itself (e.g. sythetic child provider).
Definition at line 2779 of file ValueObject.cpp.
References lldb_private::ValueObjectCast::Create(), and GetCompilerType().
|
protectedvirtual |
Should only be called by ValueObject::GetChildAtIndex().
Reimplemented in lldb_private::ValueObjectConstResult, lldb_private::ValueObjectConstResultCast, lldb_private::ValueObjectConstResultChild, lldb_private::ValueObjectRegisterSet, and lldb_private::ValueObjectVTable.
Definition at line 491 of file ValueObject.cpp.
References lldb_private::eAddressTypeInvalid, GetChildAtIndex(), lldb_private::CompilerType::GetChildCompilerTypeAtIndex(), GetCompilerType(), GetExecutionContextRef(), GetSyntheticValue(), lldb_private::ConstString::SetCString(), and ValueObjectChild.
Referenced by GetChildAtIndex(), and GetSyntheticArrayMember().
|
virtual |
Definition at line 2549 of file ValueObject.cpp.
References lldb_private::ValueObjectConstResult::Create(), lldb_private::DataExtractor::GetAddressByteSize(), GetAddressOf(), lldb_private::ExecutionContext::GetBestExecutionContextScope(), lldb_private::DataExtractor::GetByteOrder(), GetCompilerType(), GetExecutionContextRef(), GetModule(), lldb_private::Value::GetValueAsData(), GetValueAsUnsigned(), IsBitfield(), m_data, m_error, m_value, lldb_private::DataExtractor::SetAddressByteSize(), lldb_private::DataExtractor::SetByteOrder(), lldb_private::Status::Success(), UINT64_MAX, and UpdateValueIfNeeded().
|
static |
Definition at line 2995 of file ValueObject.cpp.
References lldb_private::ValueObjectConstResult::Create(), lldb_private::ExecutionContext::GetAddressByteSize(), lldb_private::ExecutionContext::GetBestExecutionContextScope(), lldb_private::ExecutionContext::GetByteOrder(), lldb_private::CompilerType::GetPointerType(), and lldb_private::Value::LoadAddress.
Referenced by lldb::SBValue::CreateValueFromAddress(), lldb::SBTarget::CreateValueFromAddress(), lldb_private::SyntheticChildrenFrontEnd::CreateValueObjectFromAddress(), lldb_private::formatters::NSAttributedStringSummaryProvider(), and lldb_private::formatters::ObjCSELSummaryProvider().
|
static |
Definition at line 3021 of file ValueObject.cpp.
References lldb_private::ValueObjectConstResult::Create(), lldb_private::eAddressTypeLoad, lldb_private::ExecutionContext::GetBestExecutionContextScope(), and LLDB_INVALID_ADDRESS.
Referenced by lldb::SBTarget::CreateValueFromData(), lldb::SBValue::CreateValueFromData(), lldb_private::SyntheticChildrenFrontEnd::CreateValueObjectFromData(), ExtractFields(), lldb_private::ItaniumABILanguageRuntime::GetExceptionObjectForThread(), lldb_private::formatters::NSError_SummaryProvider(), and lldb_private::formatters::ObjCSELSummaryProvider().
|
static |
Definition at line 2972 of file ValueObject.cpp.
References CreateValueObjectFromExpression().
Referenced by lldb::SBTarget::CreateValueFromExpression(), lldb::SBValue::CreateValueFromExpression(), CreateValueObjectFromExpression(), and lldb_private::SyntheticChildrenFrontEnd::CreateValueObjectFromExpression().
|
static |
Definition at line 2979 of file ValueObject.cpp.
References lldb_private::ExecutionContext::GetFrameSP(), and lldb_private::ExecutionContext::GetTargetSP().
|
virtual |
Reimplemented in lldb_private::ValueObjectConstResult, lldb_private::ValueObjectConstResultCast, and lldb_private::ValueObjectConstResultChild.
Definition at line 2609 of file ValueObject.cpp.
References lldb_private::eAddressTypeInvalid, error(), lldb_private::CompilerType::GetChildCompilerTypeAtIndex(), GetChildMemberWithName(), GetCompilerType(), lldb_private::StreamString::GetData(), GetExecutionContextRef(), GetExpressionPath(), lldb_private::CompilerType::GetPointeeType(), GetPreferredDisplayLanguage(), GetSP(), GetSyntheticValue(), GetTypeName(), HasSyntheticValue(), IsPointerOrReferenceType(), IsSynthetic(), lldb_private::Language::LanguageIsObjC(), m_deref_valobj, lldb_private::ConstString::SetCString(), and ValueObjectChild.
Referenced by lldb_private::ValueObjectSynthetic::CreateSynthFilter(), DumpValue(), lldb_private::UserExpression::Evaluate(), GetPointeeData(), lldb_private::formatters::LibStdcppStringSummaryProvider(), and lldb_private::formatters::ObjCBOOLSummaryProvider().
|
virtual |
Reimplemented in lldb_private::ValueObjectConstResult, lldb_private::ValueObjectConstResultCast, and lldb_private::ValueObjectConstResultChild.
Definition at line 2741 of file ValueObject.cpp.
References lldb_private::ValueObjectCast::Create(), and GetName().
Referenced by Cast().
|
inlinevirtual |
Reimplemented in lldb_private::ValueObjectSynthetic.
Definition at line 635 of file ValueObject.h.
|
inlineprotectedvirtual |
Reimplemented in lldb_private::ValueObjectVariable.
Definition at line 999 of file ValueObject.h.
Referenced by UpdateChildrenAddressType().
void ValueObject::Dump | ( | Stream & | s | ) |
void ValueObject::Dump | ( | Stream & | s, |
const DumpValueObjectOptions & | options | ||
) |
Definition at line 2544 of file ValueObject.cpp.
References lldb_private::ValueObjectPrinter::PrintValueObject().
bool ValueObject::DumpPrintableRepresentation | ( | Stream & | s, |
ValueObjectRepresentationStyle | val_obj_display = eValueObjectRepresentationStyleSummary , |
||
lldb::Format | custom_format = lldb::eFormatInvalid , |
||
PrintableRepresentationSpecialCases | special = PrintableRepresentationSpecialCases::eAllow , |
||
bool | do_dump_error = true |
||
) |
Definition at line 1129 of file ValueObject.cpp.
References lldb_private::Flags::AnySet(), lldb_private::Status::AsCString(), CanProvideValue(), eAllow, lldb::eByteOrderInvalid, lldb::eFormatBinary, lldb::eFormatBoolean, lldb::eFormatBytes, lldb::eFormatBytesWithASCII, lldb::eFormatChar, lldb::eFormatCharArray, lldb::eFormatCharPrintable, lldb::eFormatComplex, lldb::eFormatComplexFloat, lldb::eFormatComplexInteger, lldb::eFormatCString, lldb::eFormatDecimal, lldb::eFormatDefault, lldb::eFormatEnum, lldb::eFormatFloat, lldb::eFormatHex, lldb::eFormatHexUppercase, lldb::eFormatInvalid, lldb::eFormatOctal, lldb::eFormatOSType, lldb::eFormatPointer, lldb::eFormatUnicode16, lldb::eFormatUnicode32, lldb::eFormatUnsigned, lldb::eFormatVectorOfChar, lldb::eFormatVectorOfFloat32, lldb::eFormatVectorOfFloat64, lldb::eFormatVectorOfSInt16, lldb::eFormatVectorOfSInt32, lldb::eFormatVectorOfSInt64, lldb::eFormatVectorOfSInt8, lldb::eFormatVectorOfUInt128, lldb::eFormatVectorOfUInt16, lldb::eFormatVectorOfUInt32, lldb::eFormatVectorOfUInt64, lldb::eFormatVectorOfUInt8, error(), eValueObjectRepresentationStyleChildrenCount, eValueObjectRepresentationStyleExpressionPath, eValueObjectRepresentationStyleLanguageSpecific, eValueObjectRepresentationStyleLocation, eValueObjectRepresentationStyleName, eValueObjectRepresentationStyleSummary, eValueObjectRepresentationStyleType, eValueObjectRepresentationStyleValue, lldb_private::Status::Fail(), GetChildAtIndex(), GetCompilerType(), GetExpressionPath(), GetLocationAsCString(), GetName(), GetNumChildrenIgnoringErrors(), GetObjectDescription(), lldb_private::FormatManager::GetSingleItemFormat(), lldb_private::StreamString::GetString(), lldb_private::ConstString::GetStringRef(), GetSummaryAsCString(), GetTypeInfo(), GetTypeName(), GetValueAsCString(), IsCStringContainer(), m_error, lldb_private::Stream::Printf(), lldb_private::Stream::PutCString(), lldb_private::formatters::StringPrinter::ReadBufferAndDumpToStream(), ReadPointedString(), SetFormat(), and lldb_private::Flags::Test().
Referenced by DumpValue().
ValueObject * ValueObject::FollowParentChain | ( | std::function< bool(ValueObject *)> | f | ) |
Given a ValueObject, loop over itself and its parent, and its parent's parent, .
. until either the given callback returns false, or you end up at a null pointer
Definition at line 3050 of file ValueObject.cpp.
References m_parent.
Referenced by lldb_private::ValueObjectChild::CanUpdateWithInvalidExecutionContext(), and GetRoot().
|
virtual |
Reimplemented in lldb_private::ValueObjectConstResult, and lldb_private::ValueObjectConstResultChild.
Definition at line 1379 of file ValueObject.cpp.
References lldb_private::eAddressTypeInvalid, lldb_private::eAddressTypeLoad, lldb_private::Value::FileAddress, lldb_private::Value::GetScalar(), lldb_private::Value::GetValueAddressType(), lldb_private::Value::GetValueType(), lldb_private::Value::HostAddress, lldb_private::Value::Invalid, IsBitfield(), LLDB_INVALID_ADDRESS, lldb_private::Value::LoadAddress, m_value, lldb_private::Value::Scalar, lldb_private::Scalar::ULongLong(), and UpdateValueIfNeeded().
Referenced by lldb_private::ClangUserExpression::AddArguments(), AddressOf(), CreateConstantValue(), lldb_private::formatters::GetArrayAddressOrPointerValue(), GetPointeeData(), lldb_private::ItaniumABILanguageRuntime::GetVTableInfo(), lldb_private::formatters::LibStdcppStringSummaryProvider(), lldb_private::formatters::LibStdcppWStringSummaryProvider(), ReadPointedString(), and lldb_private::ValueObjectVTable::UpdateValue().
AddressType ValueObject::GetAddressTypeOfChildren | ( | ) |
Definition at line 3060 of file ValueObject.cpp.
References lldb_private::eAddressTypeInvalid, GetAddressTypeOfChildren(), GetRoot(), and m_address_type_of_ptr_or_ref_children.
Referenced by GetAddressTypeOfChildren(), GetPointerValue(), GetVTableAddress(), lldb_private::ValueObjectCast::UpdateValue(), and lldb_private::ValueObjectChild::UpdateValue().
|
inlinevirtual |
Reimplemented in lldb_private::ValueObjectChild.
Definition at line 426 of file ValueObject.h.
Referenced by lldb_private::TypeFormatImpl_Format::FormatObject(), IsBitfield(), and ResolveValue().
|
inlinevirtual |
Reimplemented in lldb_private::ValueObjectChild.
Definition at line 424 of file ValueObject.h.
Referenced by DumpValue(), lldb_private::TypeFormatImpl_Format::FormatObject(), lldb_private::FormatManager::GetPossibleMatches(), IsBitfield(), and ResolveValue().
|
inlinevirtual |
Reimplemented in lldb_private::ValueObjectChild.
Definition at line 422 of file ValueObject.h.
|
pure virtual |
Implemented in lldb_private::ValueObjectCast, lldb_private::ValueObjectChild, lldb_private::ValueObjectConstResult, lldb_private::ValueObjectDynamicValue, lldb_private::ValueObjectMemory, lldb_private::ValueObjectRegisterSet, lldb_private::ValueObjectRegister, lldb_private::ValueObjectSynthetic, lldb_private::ValueObjectVariable, lldb_private::ValueObjectVTable, lldb_private::ValueObjectRecognizerSynthesizedValue, and ValueObjectVTableChild.
Referenced by Cast(), lldb_private::ValueObjectDynamicValue::GetByteSize(), lldb_private::ValueObjectSynthetic::GetByteSize(), lldb_private::ValueObjectRecognizerSynthesizedValue::GetByteSize(), GetSyntheticBitFieldChild(), SetData(), and SetValueFromCString().
|
virtual |
Reimplemented in lldb_private::ValueObjectSynthetic.
Definition at line 375 of file ValueObject.cpp.
References CreateChildAtIndex(), lldb_private::ValueObject::ChildrenManager::GetChildAtIndex(), GetNumChildrenIgnoringErrors(), GetSP(), lldb_private::ValueObject::ChildrenManager::HasChildAtIndex(), IsPossibleDynamicType(), m_children, lldb_private::ValueObject::ChildrenManager::SetChildAtIndex(), and UpdateValueIfNeeded().
Referenced by CreateChildAtIndex(), DumpPrintableRepresentation(), lldb_private::ValueObjectPrinter::GenerateChild(), DummySyntheticFrontEnd::GetChildAtIndex(), lldb_private::formatters::GetFirstValueOfLibCXXCompressedPair(), GetPointeeData(), lldb_private::formatters::GetSecondValueOfLibCXXCompressedPair(), lldb_private::formatters::ObjCBOOLSummaryProvider(), lldb_private::ValueObjectPrinter::PrintChildrenOneLiner(), and lldb_private::FormatManager::ShouldPrintAsOneLiner().
lldb::ValueObjectSP ValueObject::GetChildAtNamePath | ( | llvm::ArrayRef< llvm::StringRef > | names | ) |
Definition at line 396 of file ValueObject.cpp.
References GetSP().
|
virtual |
Reimplemented in lldb_private::ValueObjectRegisterSet, and lldb_private::ValueObjectSynthetic.
Definition at line 415 of file ValueObject.cpp.
References GetCompilerType(), lldb_private::CompilerType::GetIndexOfChildMemberWithName(), GetSP(), IsPossibleDynamicType(), and UpdateValueIfNeeded().
Referenced by Dereference(), ExtractLibcxxStringInfo(), lldb_private::formatters::GetChildMemberWithName(), lldb_private::formatters::GetFirstValueOfLibCXXCompressedPair(), lldb_private::formatters::GetSecondValueOfLibCXXCompressedPair(), lldb_private::formatters::LibcxxChronoMonthSummaryProvider(), lldb_private::formatters::LibcxxChronoSysDaysSummaryProvider(), lldb_private::formatters::LibcxxChronoSysSecondsSummaryProvider(), lldb_private::formatters::LibcxxChronoWeekdaySummaryProvider(), and lldb_private::formatters::LibcxxChronoYearMonthDaySummaryProvider().
|
inline |
Definition at line 352 of file ValueObject.h.
References MaybeCalculateCompleteType().
Referenced by AddressOf(), lldb_private::ValueObjectConstResultImpl::AddressOf(), lldb_private::formatters::BlockPointerSyntheticFrontEnd::BlockPointerSyntheticFrontEnd(), lldb_private::ValueObjectCast::CalculateNumChildren(), lldb_private::ValueObjectChild::CalculateNumChildren(), lldb_private::ValueObjectConstResult::CalculateNumChildren(), lldb_private::ValueObjectDynamicValue::CalculateNumChildren(), lldb_private::ValueObjectRegister::CalculateNumChildren(), lldb_private::ValueObjectVariable::CalculateNumChildren(), CanProvideValue(), Cast(), Clone(), lldb_private::formatters::CMTimeSummaryProvider(), lldb_private::AppleObjCRuntime::CouldHaveDynamicValue(), lldb_private::GNUstepObjCRuntime::CouldHaveDynamicValue(), CreateChildAtIndex(), lldb_private::ValueObjectConstResultImpl::CreateChildAtIndex(), CreateConstantValue(), lldb_private::ValueObjectSynthetic::CreateSynthFilter(), Dereference(), DerefToNSErrorPointer(), lldb_private::ValueObjectVariable::DoUpdateChildrenAddressType(), DumpPrintableRepresentation(), DumpValue(), ExtractFields(), lldb_private::ItaniumABILanguageRuntime::FixUpDynamicType(), lldb_private::AppleObjCRuntime::FixUpDynamicType(), lldb_private::GNUstepObjCRuntime::FixUpDynamicType(), lldb_private::ValueObjectConstResult::GetByteSize(), lldb_private::ValueObjectVariable::GetByteSize(), GetChildMemberWithName(), lldb_private::ObjCLanguageRuntime::GetClassDescriptor(), lldb_private::AppleObjCRuntimeV2::GetClassDescriptor(), lldb_private::ValueObjectConstResultCast::GetCompilerType(), lldb_private::ValueObjectConstResultChild::GetCompilerType(), lldb_private::ValueObjectDynamicValue::GetCompilerTypeImpl(), lldb_private::ValueObjectSynthetic::GetCompilerTypeImpl(), lldb_private::ValueObjectRecognizerSynthesizedValue::GetCompilerTypeImpl(), lldb_private::ValueObjectChild::GetDisplayTypeName(), lldb_private::ValueObjectConstResult::GetDisplayTypeName(), lldb_private::ValueObjectDynamicValue::GetDisplayTypeName(), lldb_private::ItaniumABILanguageRuntime::GetDynamicTypeAndAddress(), GetExpressionPath(), lldb_private::CPlusPlusLanguage::GetHardcodedSummaries(), lldb_private::CPlusPlusLanguage::GetHardcodedSynthetics(), GetIndexOfChildWithName(), lldb_private::AppleObjCRuntime::GetObjectDescription(), GetObjectRuntimeLanguage(), GetPointeeData(), lldb_private::ObjCLanguage::GetPossibleFormattersMatches(), lldb_private::FormatManager::GetPossibleMatches(), GetQualifiedTypeName(), lldb_private::ValueObjectChild::GetQualifiedTypeName(), GetSummaryAsCString(), GetSyntheticBitFieldChild(), GetTypeImpl(), GetTypeInfo(), GetTypeName(), lldb_private::ValueObjectChild::GetTypeName(), lldb_private::ValueObjectConstResult::GetTypeName(), lldb_private::ValueObjectRegister::GetTypeName(), GetVTableAddress(), lldb_private::ItaniumABILanguageRuntime::GetVTableInfo(), IsArrayType(), IsIntegerType(), lldb_private::ObjCLanguage::IsNilReference(), IsPointerOrReferenceType(), IsPointerType(), IsPossibleDynamicType(), IsScalarType(), lldb_private::formatters::LibStdcppWStringSummaryProvider(), lldb_private::ClangExpressionDeclMap::LookUpLldbClass(), lldb_private::ClangExpressionDeclMap::LookUpLldbObjCClass(), lldb_private::formatters::NSAttributedStringSummaryProvider(), lldb_private::formatters::NSBundleSummaryProvider(), lldb_private::formatters::NSNotificationSummaryProvider(), lldb_private::formatters::NSStringSummaryProvider(), lldb_private::formatters::NSTimeZoneSummaryProvider(), lldb_private::formatters::NSURLSummaryProvider(), lldb_private::formatters::ObjCBOOLSummaryProvider(), lldb_private::formatters::ObjCSELSummaryProvider(), lldb_private::ValueObjectPrinter::PrintValueAndSummaryIfNeeded(), lldb_private::ValueObjectPrinter::PrintValueObject(), ReadPointedString(), SetData(), lldb_private::ValueObjectPrinter::SetupMostSpecializedValue(), SetValueFromCString(), lldb_private::FormatManager::ShouldPrintAsOneLiner(), lldb_private::formatters::VectorTypeSyntheticFrontEnd::Update(), NSIndexPathSyntheticFrontEnd::Update(), lldb_private::ValueObjectCast::UpdateValue(), lldb_private::ValueObjectChild::UpdateValue(), lldb_private::ValueObjectDynamicValue::UpdateValue(), lldb_private::ValueObjectSynthetic::UpdateValue(), lldb_private::ValueObjectVariable::UpdateValue(), lldb_private::ValueObjectSynthetic::ValueObjectSynthetic(), lldb_private::formatters::WCharStringSummaryProvider(), and lldb_private::formatters::WCharSummaryProvider().
|
protectedpure virtual |
Implemented in lldb_private::ValueObjectCast, lldb_private::ValueObjectChild, lldb_private::ValueObjectConstResult, lldb_private::ValueObjectDynamicValue, lldb_private::ValueObjectMemory, lldb_private::ValueObjectRegisterSet, lldb_private::ValueObjectRegister, lldb_private::ValueObjectSynthetic, lldb_private::ValueObjectVariable, lldb_private::ValueObjectVTable, lldb_private::ValueObjectRecognizerSynthesizedValue, and ValueObjectVTableChild.
Referenced by MaybeCalculateCompleteType().
|
virtual |
Definition at line 733 of file ValueObject.cpp.
References error(), lldb_private::DataExtractor::GetAddressByteSize(), lldb_private::DataExtractor::GetByteOrder(), lldb_private::DataExtractor::GetByteSize(), GetExecutionContextRef(), GetModule(), lldb_private::Value::GetValueAsData(), m_data, m_value, lldb_private::DataExtractor::SetAddressByteSize(), lldb_private::DataExtractor::SetByteOrder(), and UpdateValueIfNeeded().
Referenced by CharSummaryProvider(), lldb_private::TypeFormatImpl_Format::FormatObject(), lldb_private::TypeFormatImpl_EnumType::FormatObject(), GetVTableAddress(), lldb_private::formatters::ObjCSELSummaryProvider(), and lldb_private::formatters::WCharSummaryProvider().
|
protected |
Definition at line 278 of file ValueObject.cpp.
References m_data, and UpdateValueIfNeeded().
Referenced by GetSyntheticBitFieldChild(), ReadPointedString(), and ValueObject().
|
virtual |
Reimplemented in lldb_private::ValueObjectDynamicValue, lldb_private::ValueObjectSynthetic, and lldb_private::ValueObjectVariable.
Definition at line 1530 of file ValueObject.cpp.
References lldb_private::Declaration::Clear().
Referenced by lldb_private::ValueObjectDynamicValue::GetDeclaration(), and lldb_private::ValueObjectSynthetic::GetDeclaration().
|
inlinevirtual |
Reimplemented in lldb_private::ValueObjectChild, lldb_private::ValueObjectConstResult, lldb_private::ValueObjectDynamicValue, lldb_private::ValueObjectMemory, lldb_private::ValueObjectSynthetic, lldb_private::ValueObjectVariable, and lldb_private::ValueObjectVTable.
Definition at line 367 of file ValueObject.h.
References GetTypeName().
Referenced by lldb_private::ValueObjectDynamicValue::GetDisplayTypeName(), lldb_private::ValueObjectSynthetic::GetDisplayTypeName(), and lldb_private::ValueObjectPrinter::PrintDecl().
|
virtual |
Reimplemented in lldb_private::ValueObjectConstResult, and lldb_private::ValueObjectSynthetic.
Definition at line 1815 of file ValueObject.cpp.
References CalculateDynamicValue(), lldb::eNoDynamicValues, GetError(), GetSP(), IsDynamic(), m_dynamic_value, and lldb_private::Status::Success().
Referenced by lldb_private::ValueObjectSynthetic::GetDynamicValue(), GetQualifiedRepresentationIfAvailable(), and lldb_private::ValueObjectPrinter::SetupMostSpecializedValue().
lldb::DynamicValueType ValueObject::GetDynamicValueType | ( | ) |
Definition at line 3069 of file ValueObject.cpp.
References lldb::eNoDynamicValues, GetDynamicValueTypeImpl(), HasDynamicValueTypeInfo(), and m_parent.
Referenced by DumpValue(), lldb_private::DumpValueObjectOptions::DumpValueObjectOptions(), lldb_private::ValueObjectSynthetic::GetDynamicValueType(), and UpdateFormatsIfNeeded().
|
inlineprotectedvirtual |
Reimplemented in lldb_private::ValueObjectDynamicValue.
Definition at line 951 of file ValueObject.h.
References lldb::eNoDynamicValues.
Referenced by GetDynamicValueType().
const Status & ValueObject::GetError | ( | ) |
Definition at line 283 of file ValueObject.cpp.
References m_error, and UpdateValueIfNeeded().
Referenced by GetDynamicValue(), lldb_private::ValueObjectConstResult::GetDynamicValue(), lldb_private::ValueObjectPrinter::GetValueSummaryError(), lldb_private::ValueObjectPrinter::PrintValueObject(), lldb_private::ValueObjectCast::UpdateValue(), lldb_private::ValueObjectChild::UpdateValue(), lldb_private::ValueObjectDynamicValue::UpdateValue(), and lldb_private::ValueObjectSynthetic::UpdateValue().
|
inline |
Definition at line 330 of file ValueObject.h.
References lldb_private::ValueObject::EvaluationPoint::GetExecutionContextRef(), and m_update_point.
Referenced by AddressOf(), lldb_private::ValueObjectConstResultImpl::AddressOf(), CalculateDynamicValue(), lldb_private::ValueObjectCast::CalculateNumChildren(), lldb_private::ValueObjectChild::CalculateNumChildren(), lldb_private::ValueObjectConstResult::CalculateNumChildren(), lldb_private::ValueObjectDynamicValue::CalculateNumChildren(), lldb_private::ValueObjectMemory::CalculateNumChildren(), lldb_private::ValueObjectRegister::CalculateNumChildren(), lldb_private::ValueObjectVariable::CalculateNumChildren(), Cast(), CastPointerType(), lldb_private::ValueObjectSynthetic::CopyValueData(), CreateChildAtIndex(), lldb_private::ValueObjectConstResultImpl::CreateChildAtIndex(), CreateConstantValue(), lldb_private::formatters::CXXFunctionPointerSummaryProvider(), Dereference(), lldb_private::ValueObjectVariable::DoUpdateChildrenAddressType(), ExtractFields(), lldb_private::TypeFormatImpl_Format::FormatObject(), lldb_private::TypeFormatImpl_EnumType::FormatObject(), lldb_private::StringSummaryFormat::FormatObject(), lldb_private::ValueObjectCast::GetByteSize(), lldb_private::ValueObjectConstResult::GetByteSize(), lldb_private::ValueObjectDynamicValue::GetByteSize(), lldb_private::ValueObjectMemory::GetByteSize(), lldb_private::ValueObjectVariable::GetByteSize(), lldb_private::formatters::BlockPointerSyntheticFrontEnd::GetChildAtIndex(), lldb_private::ObjCLanguageRuntime::GetClassDescriptor(), lldb_private::AppleObjCRuntimeV2::GetClassDescriptor(), lldb_private::ValueObjectRegister::GetCompilerTypeImpl(), GetData(), lldb_private::ValueObjectConstResult::GetDynamicValue(), GetObjectDescription(), lldb_private::AppleObjCRuntime::GetObjectDescription(), GetPointeeData(), lldb_private::FormatManager::GetPossibleMatches(), GetSyntheticBase(), GetSyntheticChildAtOffset(), GetVBaseBitOffset(), lldb_private::ItaniumABILanguageRuntime::GetVTableInfo(), lldb_private::ValueObjectVariable::IsInScope(), IsPossibleDynamicType(), MaybeCalculateCompleteType(), lldb_private::formatters::NSError_SummaryProvider(), lldb_private::formatters::ObjCSELSummaryProvider(), ReadPointedString(), ResolveValue(), SetData(), lldb_private::ValueObjectVariable::SetData(), SetValueFromCString(), lldb_private::ValueObjectVariable::SetValueFromCString(), NSErrorSyntheticFrontEnd::Update(), NSIndexPathSyntheticFrontEnd::Update(), lldb_private::ValueObjectCast::UpdateValue(), lldb_private::ValueObjectChild::UpdateValue(), lldb_private::ValueObjectDynamicValue::UpdateValue(), lldb_private::ValueObjectMemory::UpdateValue(), lldb_private::ValueObjectRegisterSet::UpdateValue(), lldb_private::ValueObjectRegister::UpdateValue(), lldb_private::ValueObjectVariable::UpdateValue(), and ValueObjectVTableChild::UpdateValue().
|
virtual |
Reimplemented in lldb_private::ValueObjectRegister.
Definition at line 1873 of file ValueObject.cpp.
References CanProvideValue(), eGetExpressionPathFormatDereferencePointers, eGetExpressionPathFormatHonorPointers, GetCompilerType(), lldb_private::ConstString::GetCString(), GetExpressionPath(), GetName(), GetNonBaseClassParent(), GetParent(), lldb_private::Value::GetScalar(), lldb_private::ConstString::GetStringRef(), lldb_private::CompilerType::GetTypeInfo(), GetTypeName(), GetValueAsCString(), GetValueAsUnsigned(), lldb_private::Value::GetValueType(), IsBaseClass(), IsDereferenceOfParent(), lldb_private::ConstString::IsEmpty(), IsPointerOrReferenceType(), LLDB_INVALID_ADDRESS, lldb_private::Value::LoadAddress, m_flags, lldb_private::ValueObject::Bitflags::m_is_array_item_for_pointer, lldb_private::ValueObject::Bitflags::m_is_synthetic_children_generated, m_name, m_value, lldb_private::Stream::Printf(), lldb_private::Stream::PutChar(), lldb_private::Stream::PutCString(), lldb_private::Scalar::ULongLong(), and UpdateValueIfNeeded().
Referenced by AddressOf(), Dereference(), DumpPrintableRepresentation(), GetExpressionPath(), and lldb_private::ValueObjectPrinter::PrintDecl().
lldb::Format ValueObject::GetFormat | ( | ) | const |
Definition at line 3079 of file ValueObject.cpp.
References lldb::eFormatDefault, m_format, and m_parent.
Referenced by GetValueAsCString(), lldb_private::ValueObjectPrinter::GetValueSummaryError(), and lldb_private::formatters::VectorTypeSyntheticFrontEnd::Update().
|
inline |
Definition at line 346 of file ValueObject.h.
References lldb_private::ValueObject::EvaluationPoint::GetExecutionContextRef(), lldb_private::ExecutionContextRef::GetFrameSP(), and m_update_point.
Referenced by GetPreferredDisplayLanguage().
|
inline |
Returns a unique id for this ValueObject.
Definition at line 466 of file ValueObject.h.
References lldb_private::UserID::GetID(), and m_id.
Referenced by lldb_private::ValueObjectList::FindValueObjectByUID(), and lldb_private::ScriptedSyntheticChildren::FrontEnd::FrontEnd().
|
virtual |
Reimplemented in lldb_private::ValueObjectRegisterSet, and lldb_private::ValueObjectSynthetic.
Definition at line 409 of file ValueObject.cpp.
References GetCompilerType(), and lldb_private::CompilerType::GetIndexOfChildWithName().
Referenced by DummySyntheticFrontEnd::GetIndexOfChildWithName().
|
inlinevirtual |
Reimplemented in lldb_private::ValueObjectDynamicValue, and lldb_private::ValueObjectSynthetic.
Definition at line 688 of file ValueObject.h.
References lldb_private::ValueObject::EvaluationPoint::IsConstant(), and m_update_point.
Referenced by UpdateValueIfNeeded().
|
inlinevirtual |
Reimplemented in lldb_private::ValueObjectDynamicValue, and lldb_private::ValueObjectSynthetic.
Definition at line 784 of file ValueObject.h.
References m_language_flags.
Referenced by lldb_private::ValueObjectDynamicValue::GetLanguageFlags(), and lldb_private::ValueObjectSynthetic::GetLanguageFlags().
|
inlinevirtual |
Reimplemented in lldb_private::ValueObjectConstResult.
Definition at line 606 of file ValueObject.h.
References LLDB_INVALID_ADDRESS.
|
inlinevirtual |
Reimplemented in lldb_private::ValueObjectVariable.
Definition at line 498 of file ValueObject.h.
References GetLocationAsCStringImpl(), m_data, and m_value.
Referenced by DumpPrintableRepresentation(), DumpValue(), and lldb_private::ValueObjectVariable::GetLocationAsCString().
|
protected |
Definition at line 288 of file ValueObject.cpp.
References lldb_private::RegisterInfo::alt_name, lldb::eEncodingVector, lldb_private::RegisterInfo::encoding, lldb_private::Value::FileAddress, lldb_private::DataExtractor::GetAddressByteSize(), lldb_private::Value::GetContextType(), lldb_private::Value::GetRegisterInfo(), lldb_private::Value::GetScalar(), lldb_private::StreamString::GetString(), lldb_private::Value::GetValueType(), lldb_private::Value::HostAddress, lldb_private::Value::Invalid, LLDB_INVALID_ADDRESS, lldb_private::Value::LoadAddress, m_location_str, lldb_private::RegisterInfo::name, lldb_private::Stream::Printf(), lldb_private::Value::RegisterInfo, lldb_private::Value::Scalar, lldb_private::Scalar::ULongLong(), and UpdateValueIfNeeded().
Referenced by GetLocationAsCString(), and lldb_private::ValueObjectVariable::GetLocationAsCString().
|
inlineprotected |
Definition at line 941 of file ValueObject.h.
References m_manager.
|
virtual |
Return the module associated with this value object in case the value is from an executable file and might have its data in sections of the file.
This can be used for variables.
Reimplemented in lldb_private::ValueObjectMemory, and lldb_private::ValueObjectVariable.
Definition at line 3034 of file ValueObject.cpp.
References GetModule(), and GetRoot().
Referenced by lldb_private::ValueObjectSynthetic::CopyValueData(), CreateConstantValue(), lldb_private::formatters::GetArrayAddressOrPointerValue(), GetData(), GetModule(), GetPointeeData(), ResolveValue(), lldb_private::ValueObjectCast::UpdateValue(), lldb_private::ValueObjectChild::UpdateValue(), lldb_private::ValueObjectDynamicValue::UpdateValue(), and ValueObjectVTableChild::UpdateValue().
|
inline |
Definition at line 463 of file ValueObject.h.
References m_name.
Referenced by lldb_private::ValueObjectConstResultImpl::AddressOf(), lldb_private::ValueObjectSynthetic::CalculateNumChildren(), lldb_private::ValueObjectConstResultImpl::Cast(), DoCast(), DumpPrintableRepresentation(), lldb_private::ValueObjectList::FindValueObjectByValueName(), lldb_private::ValueObjectSynthetic::GetChildAtIndex(), lldb_private::TypeSystemClang::GetChildCompilerTypeAtIndex(), GetExpressionPath(), lldb_private::ValueObjectPrinter::GetRootNameForDisplay(), IsRuntimeSupportValue(), UpdateFormatsIfNeeded(), lldb_private::ValueObjectDynamicValue::UpdateValue(), lldb_private::ValueObjectSynthetic::UpdateValue(), lldb_private::ValueObjectDynamicValue::ValueObjectDynamicValue(), lldb_private::ValueObjectRecognizerSynthesizedValue::ValueObjectRecognizerSynthesizedValue(), and lldb_private::ValueObjectSynthetic::ValueObjectSynthetic().
ValueObject * ValueObject::GetNonBaseClassParent | ( | ) |
Definition at line 1848 of file ValueObject.cpp.
References GetNonBaseClassParent(), GetParent(), and IsBaseClass().
Referenced by GetExpressionPath(), and GetNonBaseClassParent().
|
inlinevirtual |
Reimplemented in lldb_private::ValueObjectSynthetic.
Definition at line 582 of file ValueObject.h.
References GetSP().
Referenced by lldb_private::formatters::GetLibCxxAtomicValue(), lldb_private::formatters::LibcxxFunctionSummaryProvider(), lldb_private::formatters::LibcxxSmartPointerSummaryProvider(), lldb_private::formatters::LibcxxStdSliceArraySummaryProvider(), lldb_private::formatters::LibcxxUniquePointerSummaryProvider(), lldb_private::formatters::LibcxxVariantSummaryProvider(), lldb_private::formatters::LibStdcppSmartPointerSummaryProvider(), lldb_private::ValueObjectPrinter::SetupMostSpecializedValue(), and lldb_private::formatters::StdlibCoroutineHandleSummaryProvider().
llvm::Expected< uint32_t > ValueObject::GetNumChildren | ( | uint32_t | max = UINT32_MAX | ) |
Definition at line 443 of file ValueObject.cpp.
References CalculateNumChildren(), lldb_private::ValueObject::ChildrenManager::GetChildrenCount(), m_children, lldb_private::ValueObject::Bitflags::m_children_count_valid, m_flags, SetNumChildren(), UINT32_MAX, and UpdateValueIfNeeded().
Referenced by DummySyntheticFrontEnd::CalculateNumChildren(), lldb_private::ValueObjectDynamicValue::CalculateNumChildren(), lldb_private::ValueObjectRecognizerSynthesizedValue::CalculateNumChildren(), lldb_private::ValueObjectPrinter::GetMaxNumChildrenToPrint(), GetNumChildrenIgnoringErrors(), and lldb_private::FormatManager::ShouldPrintAsOneLiner().
uint32_t ValueObject::GetNumChildrenIgnoringErrors | ( | uint32_t | max = UINT32_MAX | ) |
Like GetNumChildren
but returns 0 on error.
You probably shouldn't be using this function. It exists primarily to ease the transition to more pervasive error handling while not all APIs have been updated.
Definition at line 464 of file ValueObject.cpp.
References lldb_private::DataFormatters, lldb_private::GetLog(), GetNumChildren(), and LLDB_LOG_ERRORV.
Referenced by lldb_private::ValueObjectRegisterSet::CreateChildAtIndex(), DumpPrintableRepresentation(), DumpValue(), lldb_private::formatters::GenericOptionalSummaryProvider(), GetChildAtIndex(), lldb_private::formatters::GetSecondValueOfLibCXXCompressedPair(), HasChildren(), and MightHaveChildren().
const char * ValueObject::GetObjectDescription | ( | ) |
Definition at line 965 of file ValueObject.cpp.
References lldb::eLanguageTypeObjC, GetExecutionContextRef(), lldb_private::Process::GetLanguageRuntime(), GetObjectRuntimeLanguage(), lldb_private::ExecutionContext::GetProcessPtr(), lldb_private::StreamString::GetString(), lldb_private::Language::LanguageIsCFamily(), m_object_desc_str, and UpdateValueIfNeeded().
Referenced by DumpPrintableRepresentation(), lldb_private::ValueObjectPrinter::GetDescriptionForDisplay(), and lldb_private::ValueObjectPrinter::PrintObjectDescriptionIfNeeded().
|
inline |
Definition at line 373 of file ValueObject.h.
References GetCompilerType(), and lldb_private::CompilerType::GetMinimumLanguage().
Referenced by lldb_private::TypeCategoryMap::Get(), lldb_private::LanguageCategory::Get(), GetObjectDescription(), lldb_private::FormatManager::GetPossibleMatches(), IsLogicalTrue(), IsNilReference(), lldb_private::CPlusPlusLanguage::IsNilReference(), lldb_private::Process::IsPossibleDynamicValue(), IsUninitializedReference(), MaybeCalculateCompleteType(), lldb_private::ClangUserExpression::ScanContext(), lldb_private::ValueObjectDynamicValue::UpdateValue(), lldb_private::ValueObjectVTable::UpdateValue(), and ValueObjectVTableChild::UpdateValue().
|
inlinevirtual |
Reimplemented in lldb_private::ValueObjectCast, lldb_private::ValueObjectDynamicValue, and lldb_private::ValueObjectSynthetic.
Definition at line 748 of file ValueObject.h.
References m_parent.
Referenced by DerefToNSErrorPointer(), ExtractFields(), lldb_private::AppleObjCRuntimeV2::GetClassDescriptor(), GetExpressionPath(), GetNonBaseClassParent(), lldb_private::ValueObjectCast::GetParent(), lldb_private::ValueObjectDynamicValue::GetParent(), lldb_private::ValueObjectSynthetic::GetParent(), IsBaseClass(), lldb_private::ValueObjectVTable::IsInScope(), ValueObjectVTableChild::IsInScope(), lldb_private::ValueObjectVTable::UpdateValue(), and ValueObjectVTableChild::UpdateValue().
|
inlinevirtual |
Reimplemented in lldb_private::ValueObjectCast, lldb_private::ValueObjectDynamicValue, and lldb_private::ValueObjectSynthetic.
Definition at line 750 of file ValueObject.h.
References m_parent.
|
virtual |
Reimplemented in lldb_private::ValueObjectConstResult, lldb_private::ValueObjectConstResultCast, and lldb_private::ValueObjectConstResultChild.
Definition at line 631 of file ValueObject.cpp.
References lldb_private::DataBufferHeap::CopyData(), Dereference(), lldb_private::eAddressTypeFile, lldb_private::eAddressTypeHost, lldb_private::eAddressTypeInvalid, lldb_private::eAddressTypeLoad, error(), GetAddressOf(), lldb_private::ExecutionContext::GetBestExecutionContextScope(), lldb_private::WritableDataBuffer::GetBytes(), lldb_private::CompilerType::GetByteSize(), GetChildAtIndex(), GetCompilerType(), GetExecutionContextRef(), GetModule(), GetPointerValue(), lldb_private::ExecutionContext::GetProcessPtr(), lldb_private::Value::GetScalar(), lldb_private::ExecutionContext::GetTargetPtr(), GetTypeInfo(), LLDB_INVALID_ADDRESS, m_value, lldb_private::Target::ReadMemory(), lldb_private::Process::ReadMemory(), lldb_private::DataBufferHeap::SetByteSize(), lldb_private::DataExtractor::SetData(), and lldb_private::Scalar::ULongLong().
Referenced by ReadPointedString().
addr_t ValueObject::GetPointerValue | ( | AddressType * | address_type = nullptr | ) |
Definition at line 1416 of file ValueObject.cpp.
References lldb_private::eAddressTypeInvalid, lldb_private::Value::FileAddress, lldb_private::DataExtractor::GetAddress(), GetAddressTypeOfChildren(), lldb_private::Value::GetScalar(), lldb_private::Value::GetValueType(), lldb_private::Value::HostAddress, lldb_private::Value::Invalid, LLDB_INVALID_ADDRESS, lldb_private::Value::LoadAddress, m_data, m_value, lldb_private::Value::Scalar, lldb_private::Scalar::ULongLong(), and UpdateValueIfNeeded().
Referenced by CastPointerType(), lldb_private::formatters::CXXFunctionPointerSummaryProvider(), lldb_private::TypeFormatImpl_Format::FormatObject(), lldb_private::formatters::GetArrayAddressOrPointerValue(), lldb_private::ObjCLanguageRuntime::GetClassDescriptor(), lldb_private::AppleObjCRuntimeV2::GetClassDescriptor(), lldb_private::ItaniumABILanguageRuntime::GetDynamicTypeAndAddress(), lldb_private::AppleObjCRuntimeV1::GetDynamicTypeAndAddress(), lldb_private::AppleObjCRuntimeV2::GetDynamicTypeAndAddress(), GetPointeeData(), lldb_private::ItaniumABILanguageRuntime::GetTypeInfo(), lldb_private::ItaniumABILanguageRuntime::GetVTableInfo(), IsCStringContainer(), ReadPointedString(), lldb_private::ValueObjectPrinter::ShouldPrintChildren(), and lldb_private::ValueObjectChild::UpdateValue().
|
virtual |
Reimplemented in lldb_private::ValueObjectConstResult, lldb_private::ValueObjectDynamicValue, and lldb_private::ValueObjectSynthetic.
Definition at line 3089 of file ValueObject.cpp.
References lldb_private::SymbolContext::comp_unit, lldb::eLanguageTypeUnknown, GetFrameSP(), GetPreferredDisplayLanguage(), GetRoot(), and m_preferred_display_language.
Referenced by Dereference(), lldb_private::DumpValueObjectOptions::DumpValueObjectOptions(), GetPreferredDisplayLanguage(), lldb_private::ValueObjectDynamicValue::GetPreferredDisplayLanguage(), lldb_private::ValueObjectSynthetic::GetPreferredDisplayLanguage(), GetSummaryAsCString(), lldb_private::ValueObjectPrinter::GetValueSummaryError(), Persist(), and lldb_private::ValueObjectPrinter::PrintDecl().
|
inline |
Definition at line 338 of file ValueObject.h.
References lldb_private::ValueObject::EvaluationPoint::GetExecutionContextRef(), lldb_private::ExecutionContextRef::GetProcessSP(), and m_update_point.
Referenced by lldb_private::formatters::CFBagSummaryProvider(), lldb_private::formatters::CFBinaryHeapSummaryProvider(), lldb_private::formatters::CFBitVectorSummaryProvider(), lldb_private::AppleObjCRuntimeV1::ClassDescriptorV1::ClassDescriptorV1(), DerefToNSErrorPointer(), ExtractFields(), lldb_private::TypeFormatImpl_EnumType::FormatObject(), lldb_private::AppleObjCRuntimeV2::GetDynamicTypeAndAddress(), lldb_private::AppleObjCRuntime::GetObjectDescription(), lldb_private::ObjCLanguage::GetPossibleFormattersMatches(), lldb_private::AppleObjCRuntimeV2::GetPreferredLanguageRuntime(), IsRuntimeSupportValue(), lldb_private::formatters::LibStdcppStringSummaryProvider(), lldb_private::formatters::LibStdcppWStringSummaryProvider(), MaybeCalculateCompleteType(), lldb_private::formatters::NSArraySummaryProvider(), lldb_private::formatters::NSBundleSummaryProvider(), lldb_private::formatters::NSDataSummaryProvider(), lldb_private::formatters::NSDateSummaryProvider(), lldb_private::formatters::NSDecimalNumberSummaryProvider(), lldb_private::formatters::NSDictionarySummaryProvider(), lldb_private::formatters::NSError_SummaryProvider(), lldb_private::formatters::NSIndexSetSummaryProvider(), lldb_private::formatters::NSMachPortSummaryProvider(), lldb_private::formatters::NSNotificationSummaryProvider(), lldb_private::formatters::NSNumberSummaryProvider(), lldb_private::formatters::NSSetSummaryProvider(), lldb_private::formatters::NSStringSummaryProvider(), lldb_private::formatters::NSTimeZoneSummaryProvider(), lldb_private::formatters::NSURLSummaryProvider(), lldb_private::formatters::ObjCBooleanSummaryProvider(), lldb_private::formatters::ObjCClassSummaryProvider(), NSErrorSyntheticFrontEnd::Update(), NSIndexPathSyntheticFrontEnd::Update(), lldb_private::ValueObjectChild::UpdateValue(), lldb_private::ValueObjectVTable::UpdateValue(), and ValueObjectVTableChild::UpdateValue().
ValueObjectSP ValueObject::GetQualifiedRepresentationIfAvailable | ( | lldb::DynamicValueType | dynValue, |
bool | synthValue | ||
) |
Definition at line 2578 of file ValueObject.cpp.
References lldb::eDynamicCanRunTarget, lldb::eDynamicDontRunTarget, lldb::eNoDynamicValues, GetDynamicValue(), GetSP(), GetStaticValue(), and IsDynamic().
Referenced by DumpValue(), and lldb_private::FormatManager::GetTypeForCache().
|
inlinevirtual |
Reimplemented in lldb_private::ValueObjectChild, lldb_private::ValueObjectDynamicValue, lldb_private::ValueObjectRegisterSet, lldb_private::ValueObjectSynthetic, lldb_private::ValueObjectVariable, and lldb_private::ValueObjectVTable.
Definition at line 369 of file ValueObject.h.
References GetCompilerType(), and lldb_private::CompilerType::GetTypeName().
Referenced by lldb_private::ValueObjectDynamicValue::GetQualifiedTypeName(), lldb_private::ValueObjectSynthetic::GetQualifiedTypeName(), and lldb_private::ValueObjectPrinter::PrintDecl().
ValueObject * ValueObject::GetRoot | ( | ) |
Definition at line 3041 of file ValueObject.cpp.
References FollowParentChain(), m_parent, and m_root.
Referenced by GetAddressTypeOfChildren(), GetModule(), GetPreferredDisplayLanguage(), lldb_private::ValueObjectChild::IsInScope(), and UpdateChildrenAddressType().
|
inline |
Definition at line 545 of file ValueObject.h.
References lldb_private::ClusterManager< T >::GetSharedPointer(), and m_manager.
Referenced by lldb_private::formatters::BlockPointerSummaryProvider(), lldb_private::ValueObjectConstResultImpl::Cast(), lldb_private::ValueObjectCast::Create(), lldb::SBTypeSummary::CreateWithCallback(), Dereference(), lldb_private::ScriptSummaryFormat::FormatObject(), lldb_private::ScriptedSyntheticChildren::FrontEnd::FrontEnd(), NSErrorSyntheticFrontEnd::GetChildAtIndex(), GetChildAtIndex(), lldb_private::ValueObjectSynthetic::GetChildAtIndex(), GetChildAtNamePath(), GetChildMemberWithName(), lldb_private::ValueObjectRegisterSet::GetChildMemberWithName(), GetDynamicValue(), lldb_private::ValueObjectConstResult::GetDynamicValue(), lldb_private::ValueObjectSynthetic::GetDynamicValue(), lldb_private::CXXSyntheticChildren::GetFrontEnd(), GetNonSyntheticValue(), lldb_private::ValueObjectSynthetic::GetNonSyntheticValue(), GetQualifiedRepresentationIfAvailable(), GetStaticValue(), lldb_private::ValueObjectDynamicValue::GetStaticValue(), lldb_private::ValueObjectSynthetic::GetStaticValue(), GetSyntheticArrayMember(), GetSyntheticBase(), GetSyntheticBitFieldChild(), GetSyntheticChildAtOffset(), GetSyntheticValue(), GetValueForExpressionPath_Impl(), lldb_private::formatters::LibStdcppUniquePointerSummaryProvider(), lldb_private::formatters::ObjCBOOLSummaryProvider(), lldb_private::formatters::VectorIteratorSyntheticFrontEnd::Update(), and lldb_private::formatters::VectorTypeSummaryProvider().
|
inlinevirtual |
Reimplemented in lldb_private::ValueObjectDynamicValue, and lldb_private::ValueObjectSynthetic.
Definition at line 580 of file ValueObject.h.
References GetSP().
Referenced by lldb_private::FormatManager::GetPossibleMatches(), GetQualifiedRepresentationIfAvailable(), lldb_private::ValueObjectSynthetic::GetStaticValue(), and lldb_private::ValueObjectPrinter::SetupMostSpecializedValue().
const char * ValueObject::GetSummaryAsCString | ( | lldb::LanguageType | lang = lldb::eLanguageTypeUnknown | ) |
Definition at line 597 of file ValueObject.cpp.
References GetSummaryAsCString(), GetSummaryFormat(), m_summary_str, lldb_private::TypeSummaryOptions::SetLanguage(), and UpdateValueIfNeeded().
Referenced by DumpPrintableRepresentation(), lldb_private::ValueObjectPrinter::GetDescriptionForDisplay(), GetSummaryAsCString(), and lldb_private::ValueObjectPrinter::GetValueSummaryError().
bool ValueObject::GetSummaryAsCString | ( | std::string & | destination, |
const TypeSummaryOptions & | options | ||
) |
Definition at line 609 of file ValueObject.cpp.
References GetSummaryAsCString(), and GetSummaryFormat().
bool ValueObject::GetSummaryAsCString | ( | TypeSummaryImpl * | summary_ptr, |
std::string & | destination, | ||
const TypeSummaryOptions & | options | ||
) |
Definition at line 552 of file ValueObject.cpp.
References lldb::eLanguageTypeUnknown, lldb_private::TypeSummaryImpl::FormatObject(), GetCompilerType(), lldb_private::TypeSummaryOptions::GetLanguage(), GetPreferredDisplayLanguage(), HasSyntheticValue(), m_flags, lldb_private::ValueObject::Bitflags::m_is_getting_summary, m_synthetic_value, lldb_private::TypeSummaryOptions::SetLanguage(), and UpdateValueIfNeeded().
bool ValueObject::GetSummaryAsCString | ( | TypeSummaryImpl * | summary_ptr, |
std::string & | destination, | ||
lldb::LanguageType | lang = lldb::eLanguageTypeUnknown |
||
) |
Definition at line 545 of file ValueObject.cpp.
References GetSummaryAsCString().
|
inline |
Definition at line 712 of file ValueObject.h.
References m_type_summary_sp, and UpdateFormatsIfNeeded().
Referenced by GetSummaryAsCString(), lldb_private::ValueObjectPrinter::GetSummaryFormatter(), and lldb_private::FormatManager::ShouldPrintAsOneLiner().
|
virtual |
Reimplemented in lldb_private::ValueObjectVariable.
Definition at line 2963 of file ValueObject.cpp.
References GetSymbolContextScope(), IsPointerOrReferenceType(), and m_parent.
Referenced by GetSymbolContextScope().
ValueObjectSP ValueObject::GetSyntheticArrayMember | ( | size_t | index, |
bool | can_create | ||
) |
Definition at line 1598 of file ValueObject.cpp.
References AddSyntheticChild(), CreateChildAtIndex(), GetSP(), GetSyntheticChild(), IsArrayType(), and IsPointerType().
Referenced by lldb_private::ValueObjectPrinter::GenerateChild(), and NSIndexPathSyntheticFrontEnd::Impl::OutsourcedIndexes::GetIndexAtIndex().
|
virtual |
Definition at line 1696 of file ValueObject.cpp.
References AddSyntheticChild(), lldb_private::ConstString::AsCString(), lldb_private::eAddressTypeInvalid, lldb_private::ExecutionContext::GetBestExecutionContextScope(), lldb_private::CompilerType::GetByteSize(), GetExecutionContextRef(), GetSP(), GetSyntheticChild(), lldb_private::CompilerType::GetTypeName(), lldb_private::ConstString::IsEmpty(), lldb_private::ConstString::SetCString(), and ValueObjectChild.
ValueObjectSP ValueObject::GetSyntheticBitFieldChild | ( | uint32_t | from, |
uint32_t | to, | ||
bool | can_create | ||
) |
Definition at line 1625 of file ValueObject.cpp.
References AddSyntheticChild(), lldb_private::eAddressTypeInvalid, lldb::eByteOrderBig, GetByteSize(), GetCompilerType(), GetDataExtractor(), GetSP(), GetSyntheticChild(), IsScalarType(), and ValueObjectChild.
ValueObjectSP ValueObject::GetSyntheticChild | ( | ConstString | key | ) | const |
Definition at line 1540 of file ValueObject.cpp.
References m_synthetic_children.
Referenced by GetSyntheticArrayMember(), GetSyntheticBase(), GetSyntheticBitFieldChild(), GetSyntheticChildAtOffset(), and GetSyntheticExpressionPathChild().
|
virtual |
Reimplemented in lldb_private::ValueObjectConstResult, lldb_private::ValueObjectConstResultCast, and lldb_private::ValueObjectConstResultChild.
Definition at line 1659 of file ValueObject.cpp.
References AddSyntheticChild(), lldb_private::eAddressTypeInvalid, lldb_private::ExecutionContext::GetBestExecutionContextScope(), lldb_private::CompilerType::GetByteSize(), GetExecutionContextRef(), GetSP(), GetSyntheticChild(), lldb_private::ConstString::IsEmpty(), lldb_private::ConstString::SetString(), and ValueObjectChild.
Referenced by lldb_private::formatters::CMTimeSummaryProvider(), lldb_private::formatters::VectorTypeSyntheticFrontEnd::GetChildAtIndex(), lldb_private::formatters::NSBundleSummaryProvider(), lldb_private::formatters::NSNotificationSummaryProvider(), lldb_private::formatters::NSStringSummaryProvider(), lldb_private::formatters::NSTimeZoneSummaryProvider(), lldb_private::formatters::NSURLSummaryProvider(), and NSIndexPathSyntheticFrontEnd::Update().
|
inline |
Definition at line 739 of file ValueObject.h.
References m_synthetic_children_sp, and UpdateFormatsIfNeeded().
ValueObjectSP ValueObject::GetSyntheticExpressionPathChild | ( | const char * | expression, |
bool | can_create | ||
) |
Definition at line 1752 of file ValueObject.cpp.
References AddSyntheticChild(), GetSyntheticChild(), GetValueForExpressionPath(), and SkipLeadingExpressionPathSeparators().
Referenced by lldb_private::TypeFilterImpl::FrontEnd::GetChildAtIndex().
ValueObjectSP ValueObject::GetSyntheticValue | ( | ) |
Definition at line 1828 of file ValueObject.cpp.
References CalculateSyntheticValue(), GetSP(), and m_synthetic_value.
Referenced by CreateChildAtIndex(), Dereference(), DumpValue(), and lldb_private::ValueObjectPrinter::SetupMostSpecializedValue().
|
inline |
Definition at line 334 of file ValueObject.h.
References lldb_private::ValueObject::EvaluationPoint::GetExecutionContextRef(), lldb_private::ExecutionContextRef::GetTargetSP(), and m_update_point.
Referenced by lldb_private::formatters::BlockPointerSyntheticFrontEnd::BlockPointerSyntheticFrontEnd(), CalculateSyntheticValue(), CharStringSummaryProvider(), DumpValue(), lldb_private::TypeFormatImpl_Format::FormatObject(), lldb_private::TypeFormatImpl_EnumType::FormatObject(), lldb_private::ScriptSummaryFormat::FormatObject(), lldb_private::ScriptedSyntheticChildren::FrontEnd::FrontEnd(), lldb_private::AppleObjCRuntimeV2::GetDynamicTypeAndAddress(), lldb_private::AppleObjCRuntime::GetObjectDescription(), lldb_private::ObjCLanguage::GetPossibleFormattersMatches(), lldb_private::FormatManager::GetPossibleMatches(), LibcxxStringSummaryProvider(), LibcxxWStringSummaryProvider(), lldb_private::formatters::LibStdcppStringSummaryProvider(), lldb_private::formatters::LibStdcppWStringSummaryProvider(), lldb_private::formatters::NSAttributedStringSummaryProvider(), NSIndexPathSyntheticFrontEnd::NSIndexPathSyntheticFrontEnd(), lldb_private::formatters::NSStringSummaryProvider(), Persist(), lldb_private::ValueObjectPrinter::PrintChildrenIfNeeded(), lldb_private::formatters::StringPrinter::ReadBufferAndDumpToStreamOptions::ReadBufferAndDumpToStreamOptions(), lldb_private::formatters::StringPrinter::ReadStringAndDumpToStreamOptions::ReadStringAndDumpToStreamOptions(), lldb_private::FormatManager::ShouldPrintAsOneLiner(), lldb_private::ValueObjectDynamicValue::UpdateValue(), lldb_private::ValueObjectVTable::UpdateValue(), ValueObjectVTableChild::UpdateValue(), lldb_private::ValueObjectMemory::ValueObjectMemory(), and lldb_private::formatters::WCharStringSummaryProvider().
|
inline |
Definition at line 342 of file ValueObject.h.
References lldb_private::ValueObject::EvaluationPoint::GetExecutionContextRef(), lldb_private::ExecutionContextRef::GetThreadSP(), and m_update_point.
|
inlinevirtual |
Reimplemented in lldb_private::ValueObjectDynamicValue.
Definition at line 355 of file ValueObject.h.
References GetCompilerType().
Referenced by lldb_private::ValueObjectDynamicValue::GetTypeImpl().
|
inline |
Definition at line 378 of file ValueObject.h.
References GetCompilerType(), and lldb_private::CompilerType::GetTypeInfo().
Referenced by DumpPrintableRepresentation(), lldb_private::UserExpression::Evaluate(), GetPointeeData(), HasSpecialPrintableRepresentation(), IsCStringContainer(), MightHaveChildren(), ReadPointedString(), and lldb_private::ValueObjectChild::UpdateValue().
|
inlinevirtual |
Reimplemented in lldb_private::ValueObjectChild, lldb_private::ValueObjectConstResult, lldb_private::ValueObjectDynamicValue, lldb_private::ValueObjectMemory, lldb_private::ValueObjectRegisterSet, lldb_private::ValueObjectRegister, lldb_private::ValueObjectSynthetic, lldb_private::ValueObjectVariable, and lldb_private::ValueObjectVTable.
Definition at line 365 of file ValueObject.h.
References GetCompilerType(), and lldb_private::CompilerType::GetTypeName().
Referenced by lldb_private::formatters::CFBagSummaryProvider(), lldb_private::formatters::CFBinaryHeapSummaryProvider(), lldb_private::formatters::CFBitVectorSummaryProvider(), Dereference(), DumpPrintableRepresentation(), DumpValue(), GetDisplayTypeName(), GetExpressionPath(), lldb_private::ItaniumABILanguageRuntime::GetTypeInfo(), lldb_private::ValueObjectDynamicValue::GetTypeName(), lldb_private::ValueObjectSynthetic::GetTypeName(), and lldb_private::ValueObjectSynthetic::UpdateValue().
|
inline |
Definition at line 328 of file ValueObject.h.
References m_update_point.
|
inline |
Definition at line 326 of file ValueObject.h.
References m_update_point.
Referenced by MaybeCalculateCompleteType().
|
inline |
Definition at line 489 of file ValueObject.h.
References m_value.
|
inline |
Definition at line 487 of file ValueObject.h.
References m_value.
Referenced by lldb_private::ValueObjectSynthetic::CopyValueData(), lldb_private::ValueObjectVariable::DoUpdateChildrenAddressType(), lldb_private::TypeFormatImpl_Format::FormatObject(), GetValueAsCString(), IRInterpreter::Interpret(), lldb_private::ValueObjectPrinter::IsInstancePointer(), Persist(), lldb_private::ValueObjectCast::UpdateValue(), lldb_private::ValueObjectChild::UpdateValue(), and lldb_private::ValueObjectRecognizerSynthesizedValue::UpdateValue().
|
virtual |
Definition at line 1015 of file ValueObject.cpp.
References lldb::eFormatDefault, lldb::eFormatUnsigned, lldb_private::RegisterInfo::format, lldb_private::Value::GetCompilerType(), lldb_private::Value::GetContextType(), GetFormat(), lldb_private::CompilerType::GetFormat(), lldb_private::Value::GetRegisterInfo(), GetValue(), GetValueAsCString(), m_flags, lldb_private::ValueObject::Bitflags::m_is_bitfield_for_scalar, m_last_format, m_old_value_str, lldb_private::ValueObject::Bitflags::m_old_value_valid, m_type_format_sp, m_value, lldb_private::ValueObject::Bitflags::m_value_did_change, m_value_str, lldb_private::Value::RegisterInfo, SetValueDidChange(), and UpdateValueIfNeeded().
Referenced by CharSummaryProvider(), DumpPrintableRepresentation(), lldb_private::ValueObjectPrinter::GetDescriptionForDisplay(), GetExpressionPath(), GetValueAsCString(), and lldb_private::ValueObjectPrinter::GetValueSummaryError().
|
virtual |
Definition at line 1002 of file ValueObject.cpp.
References lldb_private::TypeFormatImpl::FormatObject(), and UpdateValueIfNeeded().
bool ValueObject::GetValueAsCString | ( | lldb::Format | format, |
std::string & | destination | ||
) |
Definition at line 1010 of file ValueObject.cpp.
References GetValueAsCString().
|
virtual |
Definition at line 1074 of file ValueObject.cpp.
References CanProvideValue(), lldb_private::Scalar::MakeSigned(), ResolveValue(), and lldb_private::Scalar::SLongLong().
Referenced by lldb_private::formatters::CFAbsoluteTimeSummaryProvider().
|
virtual |
Definition at line 1056 of file ValueObject.cpp.
References CanProvideValue(), lldb_private::Scalar::MakeUnsigned(), ResolveValue(), and lldb_private::Scalar::ULongLong().
Referenced by lldb_private::formatters::CFBagSummaryProvider(), lldb_private::formatters::CFBinaryHeapSummaryProvider(), lldb_private::formatters::CFBitVectorSummaryProvider(), lldb_private::AppleObjCRuntimeV1::ClassDescriptorV1::ClassDescriptorV1(), CreateConstantValue(), DerefToNSErrorPointer(), ExtractFields(), GetExpressionPath(), GetVTableAddress(), lldb_private::CPlusPlusLanguage::IsNilReference(), lldb_private::ObjCLanguage::IsNilReference(), lldb_private::formatters::LibcxxContainerSummaryProvider(), lldb_private::formatters::NSArraySummaryProvider(), lldb_private::formatters::NSAttributedStringSummaryProvider(), lldb_private::formatters::NSBundleSummaryProvider(), lldb_private::formatters::NSDataSummaryProvider(), lldb_private::formatters::NSDateSummaryProvider(), lldb_private::formatters::NSDecimalNumberSummaryProvider(), lldb_private::formatters::NSDictionarySummaryProvider(), lldb_private::formatters::NSIndexSetSummaryProvider(), lldb_private::formatters::NSMachPortSummaryProvider(), lldb_private::formatters::NSNotificationSummaryProvider(), lldb_private::formatters::NSNumberSummaryProvider(), lldb_private::formatters::NSSetSummaryProvider(), lldb_private::formatters::NSStringSummaryProvider(), lldb_private::formatters::NSTimeZoneSummaryProvider(), lldb_private::formatters::NSURLSummaryProvider(), lldb_private::formatters::ObjCBooleanSummaryProvider(), lldb_private::formatters::ObjCClassSummaryProvider(), lldb_private::formatters::ObjCSELSummaryProvider(), lldb_private::ValueObjectPrinter::PrintChildrenIfNeeded(), lldb_private::ValueObjectDynamicValue::SetData(), lldb_private::ValueObjectDynamicValue::SetValueFromCString(), and ValueObjectVTableChild::UpdateValue().
|
inline |
Definition at line 539 of file ValueObject.h.
References m_flags, and lldb_private::ValueObject::Bitflags::m_value_did_change.
Referenced by lldb_private::ValueObjectCast::UpdateValue().
ValueObjectSP ValueObject::GetValueForExpressionPath | ( | llvm::StringRef | expression, |
ExpressionPathScanEndReason * | reason_to_stop = nullptr , |
||
ExpressionPathEndResultType * | final_value_type = nullptr , |
||
const GetValueForExpressionPathOptions & | options = GetValueForExpressionPathOptions::DefaultOptions() , |
||
ExpressionPathAftermath * | final_task_on_target = nullptr |
||
) |
Definition at line 1968 of file ValueObject.cpp.
References eExpressionPathAftermathDereference, eExpressionPathAftermathNothing, eExpressionPathAftermathTakeAddress, eExpressionPathEndResultTypeInvalid, eExpressionPathEndResultTypePlain, eExpressionPathScanEndReasonDereferencingFailed, eExpressionPathScanEndReasonTakingAddressFailed, eExpressionPathScanEndReasonUnknown, error(), and GetValueForExpressionPath_Impl().
Referenced by DumpValue(), ExpandIndexedExpression(), and GetSyntheticExpressionPathChild().
|
private |
Definition at line 2036 of file ValueObject.cpp.
References lldb_private::Flags::AllClear(), lldb_private::ValueObject::GetValueForExpressionPathOptions::Both, eExpressionPathAftermathDereference, eExpressionPathAftermathNothing, eExpressionPathEndResultTypeBitfield, eExpressionPathEndResultTypeBoundedRange, eExpressionPathEndResultTypeInvalid, eExpressionPathEndResultTypePlain, eExpressionPathEndResultTypeUnboundedRange, eExpressionPathScanEndReasonArrayRangeOperatorMet, eExpressionPathScanEndReasonArrowInsteadOfDot, eExpressionPathScanEndReasonBitfieldRangeOperatorMet, eExpressionPathScanEndReasonDereferencingFailed, eExpressionPathScanEndReasonDotInsteadOfArrow, eExpressionPathScanEndReasonEmptyRangeNotAllowed, eExpressionPathScanEndReasonEndOfString, eExpressionPathScanEndReasonFragileIVarNotAllowed, eExpressionPathScanEndReasonNoSuchChild, eExpressionPathScanEndReasonRangeOperatorInvalid, eExpressionPathScanEndReasonRangeOperatorNotAllowed, eExpressionPathScanEndReasonSyntheticValueMissing, eExpressionPathScanEndReasonUnexpectedSymbol, lldb::eLanguageTypeObjC, error(), lldb_private::ValueObject::GetValueForExpressionPathOptions::FromSynthetic, GetSP(), lldb_private::CompilerType::GetTypeInfo(), lldb_private::ValueObject::GetValueForExpressionPathOptions::m_allow_bitfields_syntax, lldb_private::ValueObject::GetValueForExpressionPathOptions::m_check_dot_vs_arrow_syntax, lldb_private::ValueObject::GetValueForExpressionPathOptions::m_no_fragile_ivar, lldb_private::ValueObject::GetValueForExpressionPathOptions::m_synthetic_children_traversal, lldb_private::ValueObject::GetValueForExpressionPathOptions::None, lldb_private::Flags::Reset(), lldb_private::Flags::Test(), and lldb_private::ValueObject::GetValueForExpressionPathOptions::ToSynthetic.
Referenced by GetValueForExpressionPath().
|
inline |
Definition at line 727 of file ValueObject.h.
References m_type_format_sp, and UpdateFormatsIfNeeded().
|
inline |
Definition at line 535 of file ValueObject.h.
References m_flags, and lldb_private::ValueObject::Bitflags::m_value_is_valid.
Referenced by UpdateValueIfNeeded().
|
pure virtual |
Implemented in lldb_private::ValueObjectCast, lldb_private::ValueObjectChild, lldb_private::ValueObjectConstResult, lldb_private::ValueObjectDynamicValue, lldb_private::ValueObjectMemory, lldb_private::ValueObjectRegisterSet, lldb_private::ValueObjectRegister, lldb_private::ValueObjectSynthetic, lldb_private::ValueObjectVariable, lldb_private::ValueObjectVTable, lldb_private::ValueObjectRecognizerSynthesizedValue, and ValueObjectVTableChild.
Referenced by lldb_private::formatters::CXXFunctionPointerSummaryProvider(), lldb_private::CPlusPlusLanguage::GetHardcodedSummaries(), lldb_private::ValueObjectCast::GetValueType(), lldb_private::ValueObjectChild::GetValueType(), lldb_private::ValueObjectDynamicValue::GetValueType(), and lldb_private::ValueObjectSynthetic::GetValueType().
|
inlinevirtual |
Reimplemented in lldb_private::ValueObjectDynamicValue, lldb_private::ValueObjectSynthetic, and lldb_private::ValueObjectVariable.
Definition at line 780 of file ValueObject.h.
Referenced by lldb_private::ValueObjectDynamicValue::GetVariable(), lldb_private::ValueObjectSynthetic::GetVariable(), and IsRuntimeSupportValue().
lldb::ValueObjectSP ValueObject::GetVTable | ( | ) |
If this object represents a C++ class with a vtable, return an object that represents the virtual function table.
If the object isn't a class with a vtable, return a valid ValueObject with the error set correctly.
Definition at line 3151 of file ValueObject.cpp.
References lldb_private::ValueObjectVTable::Create().
|
inline |
Definition at line 485 of file ValueObject.h.
References GetNumChildrenIgnoringErrors().
|
inlineprotectedvirtual |
Reimplemented in lldb_private::ValueObjectDynamicValue.
Definition at line 955 of file ValueObject.h.
Referenced by GetDynamicValueType().
bool ValueObject::HasSpecialPrintableRepresentation | ( | ValueObjectRepresentationStyle | val_obj_display, |
lldb::Format | custom_format | ||
) |
Definition at line 1096 of file ValueObject.cpp.
References lldb_private::Flags::AnySet(), lldb::eFormatBytes, lldb::eFormatBytesWithASCII, lldb::eFormatChar, lldb::eFormatCharArray, lldb::eFormatCString, lldb::eFormatVectorOfChar, lldb::eFormatVectorOfFloat32, lldb::eFormatVectorOfFloat64, lldb::eFormatVectorOfSInt16, lldb::eFormatVectorOfSInt32, lldb::eFormatVectorOfSInt64, lldb::eFormatVectorOfSInt8, lldb::eFormatVectorOfUInt128, lldb::eFormatVectorOfUInt16, lldb::eFormatVectorOfUInt32, lldb::eFormatVectorOfUInt64, lldb::eFormatVectorOfUInt8, eValueObjectRepresentationStyleValue, GetTypeInfo(), IsCStringContainer(), and lldb_private::Flags::Test().
Referenced by DumpValue().
|
virtual |
Reimplemented in lldb_private::ValueObjectSynthetic.
Definition at line 1837 of file ValueObject.cpp.
References CalculateSyntheticValue(), m_synthetic_children_sp, m_synthetic_value, and UpdateFormatsIfNeeded().
Referenced by Dereference(), and GetSummaryAsCString().
|
inline |
Definition at line 384 of file ValueObject.h.
References GetCompilerType(), and lldb_private::CompilerType::IsArrayType().
Referenced by lldb_private::formatters::GetArrayAddressOrPointerValue(), and GetSyntheticArrayMember().
|
inlinevirtual |
Reimplemented in lldb_private::ValueObjectChild, and lldb_private::ValueObjectDynamicValue.
Definition at line 398 of file ValueObject.h.
Referenced by DerefToNSErrorPointer(), ExtractFields(), lldb_private::AppleObjCRuntimeV2::GetClassDescriptor(), GetExpressionPath(), GetNonBaseClassParent(), lldb_private::ValueObjectDynamicValue::IsBaseClass(), IsBaseClass(), and lldb_private::ValueObjectPrinter::IsInstancePointer().
bool ValueObject::IsBaseClass | ( | uint32_t & | depth | ) |
Definition at line 1858 of file ValueObject.cpp.
References GetParent(), and IsBaseClass().
|
inline |
Definition at line 428 of file ValueObject.h.
References GetBitfieldBitOffset(), and GetBitfieldBitSize().
Referenced by CreateConstantValue(), DumpValue(), and GetAddressOf().
|
inlineprotected |
Definition at line 994 of file ValueObject.h.
References m_value_checksum.
Referenced by UpdateValueIfNeeded().
bool ValueObject::IsCStringContainer | ( | bool | check_pointer = false | ) |
Returns true if this is a char* or a char[] if it is a char* and check_pointer is true, it also checks that the pointer is valid.
Definition at line 614 of file ValueObject.cpp.
References lldb_private::Flags::AnySet(), lldb_private::eAddressTypeInvalid, GetPointerValue(), GetTypeInfo(), lldb_private::CompilerType::IsCharType(), LLDB_INVALID_ADDRESS, and lldb_private::Flags::Test().
Referenced by DumpPrintableRepresentation(), and HasSpecialPrintableRepresentation().
|
inlinevirtual |
Reimplemented in lldb_private::ValueObjectChild.
Definition at line 402 of file ValueObject.h.
Referenced by GetExpressionPath().
|
inlinevirtual |
Reimplemented in lldb_private::ValueObjectDynamicValue, and lldb_private::ValueObjectSynthetic.
Definition at line 633 of file ValueObject.h.
Referenced by CalculateDynamicValue(), GetDynamicValue(), lldb_private::ValueObjectConstResult::GetDynamicValue(), lldb_private::FormatManager::GetPossibleMatches(), GetQualifiedRepresentationIfAvailable(), lldb_private::ValueObjectSynthetic::IsDynamic(), lldb_private::Process::IsPossibleDynamicValue(), and lldb_private::ValueObjectPrinter::SetupMostSpecializedValue().
|
inlinevirtual |
Reimplemented in lldb_private::ValueObjectCast, lldb_private::ValueObjectChild, lldb_private::ValueObjectConstResult, lldb_private::ValueObjectDynamicValue, lldb_private::ValueObjectMemory, lldb_private::ValueObjectSynthetic, lldb_private::ValueObjectVariable, lldb_private::ValueObjectVTable, and ValueObjectVTableChild.
Definition at line 420 of file ValueObject.h.
Referenced by lldb_private::ValueObjectPrinter::CheckScopeIfNeeded(), lldb_private::ValueObjectCast::IsInScope(), lldb_private::ValueObjectChild::IsInScope(), lldb_private::ValueObjectDynamicValue::IsInScope(), lldb_private::ValueObjectSynthetic::IsInScope(), lldb_private::ValueObjectVTable::IsInScope(), and UpdateValueIfNeeded().
|
inline |
Definition at line 404 of file ValueObject.h.
References GetCompilerType(), and lldb_private::CompilerType::IsIntegerType().
|
virtual |
Definition at line 350 of file ValueObject.cpp.
References lldb_private::eLazyBoolCalculate, lldb_private::eLazyBoolNo, lldb_private::eLazyBoolYes, error(), lldb_private::Language::FindPlugin(), GetObjectRuntimeLanguage(), ResolveValue(), and lldb_private::Scalar::ULongLong().
bool ValueObject::IsNilReference | ( | ) |
Definition at line 1575 of file ValueObject.cpp.
References lldb_private::Language::FindPlugin(), and GetObjectRuntimeLanguage().
Referenced by lldb_private::ValueObjectPrinter::IsNil().
|
inline |
Definition at line 388 of file ValueObject.h.
References GetCompilerType(), and lldb_private::CompilerType::IsPointerOrReferenceType().
Referenced by Dereference(), GetExpressionPath(), GetSymbolContextScope(), and lldb_private::formatters::LibStdcppStringSummaryProvider().
|
inline |
Definition at line 382 of file ValueObject.h.
References GetCompilerType(), and lldb_private::CompilerType::IsPointerType().
Referenced by lldb_private::formatters::CFBagSummaryProvider(), lldb_private::formatters::CFBinaryHeapSummaryProvider(), lldb_private::formatters::CFBitVectorSummaryProvider(), lldb_private::formatters::GetArrayAddressOrPointerValue(), GetSyntheticArrayMember(), lldb_private::CPlusPlusLanguage::IsNilReference(), and lldb_private::formatters::LibcxxContainerSummaryProvider().
bool ValueObject::IsPossibleDynamicType | ( | ) |
Definition at line 1549 of file ValueObject.cpp.
References GetCompilerType(), GetExecutionContextRef(), lldb_private::ExecutionContext::GetProcessPtr(), lldb_private::CompilerType::IsPossibleDynamicType(), and lldb_private::Process::IsPossibleDynamicValue().
Referenced by GetChildAtIndex(), and GetChildMemberWithName().
|
virtual |
Definition at line 1558 of file ValueObject.cpp.
References lldb_private::Process::GetLanguageRuntime(), GetName(), GetProcessSP(), and GetVariable().
|
inline |
Definition at line 386 of file ValueObject.h.
References GetCompilerType(), and lldb_private::CompilerType::IsScalarType().
Referenced by GetSyntheticBitFieldChild().
|
inlinevirtual |
Reimplemented in lldb_private::ValueObjectSynthetic, and lldb_private::ValueObjectRecognizerSynthesizedValue.
Definition at line 588 of file ValueObject.h.
Referenced by Dereference(), DumpValue(), lldb_private::DumpValueObjectOptions::DumpValueObjectOptions(), lldb_private::FormatManager::GetTypeForCache(), and lldb_private::ValueObjectPrinter::SetupMostSpecializedValue().
|
inlinevirtual |
Reimplemented in lldb_private::ValueObjectDynamicValue, and lldb_private::ValueObjectSynthetic.
Definition at line 637 of file ValueObject.h.
References m_flags, and lldb_private::ValueObject::Bitflags::m_is_synthetic_children_generated.
Referenced by lldb_private::ValueObjectDynamicValue::IsSyntheticChildrenGenerated(), and lldb_private::ValueObjectSynthetic::IsSyntheticChildrenGenerated().
bool ValueObject::IsUninitializedReference | ( | ) |
Definition at line 1582 of file ValueObject.cpp.
References lldb_private::Language::FindPlugin(), and GetObjectRuntimeLanguage().
Referenced by lldb_private::ValueObjectPrinter::IsUninitialized().
|
privatevirtual |
Definition at line 246 of file ValueObject.cpp.
References GetCompilerTypeImpl(), GetExecutionContextRef(), GetObjectRuntimeLanguage(), GetProcessSP(), GetUpdatePoint(), lldb_private::CompilerType::IsValid(), lldb_private::ValueObject::Bitflags::m_did_calculate_complete_objc_class_type, m_flags, and m_override_type.
Referenced by GetCompilerType().
|
virtual |
Find out if a ValueObject might have children.
This call is much more efficient than CalculateNumChildren() as it doesn't need to complete the underlying type. This is designed to be used in a UI environment in order to detect if the disclosure triangle should be displayed or not.
This function returns true for class, union, structure, pointers, references, arrays and more. Again, it does so without doing any expensive type completion.
Reimplemented in lldb_private::ValueObjectSynthetic.
Definition at line 473 of file ValueObject.cpp.
References GetNumChildrenIgnoringErrors(), and GetTypeInfo().
Referenced by DummySyntheticFrontEnd::MightHaveChildren(), and lldb_private::ValueObjectPrinter::ShouldPrintEmptyBrackets().
|
inline |
Definition at line 690 of file ValueObject.h.
References CanUpdateWithInvalidExecutionContext(), lldb_private::eLazyBoolYes, m_update_point, and lldb_private::ValueObject::EvaluationPoint::NeedsUpdating().
Referenced by UpdateValueIfNeeded().
|
privatedelete |
ValueObjectSP ValueObject::Persist | ( | ) |
Definition at line 3123 of file ValueObject.cpp.
References lldb_private::ValueObjectConstResult::Create(), lldb_private::PersistentExpressionState::CreatePersistentVariable(), lldb_private::ExpressionVariable::EVIsProgramReference, lldb_private::PersistentExpressionState::GetNextPersistentVariableName(), GetPreferredDisplayLanguage(), GetTargetSP(), GetValue(), and UpdateValueIfNeeded().
std::pair< size_t, bool > ValueObject::ReadPointedString | ( | lldb::WritableDataBufferSP & | buffer_sp, |
Status & | error, | ||
bool | honor_array | ||
) |
Definition at line 828 of file ValueObject.cpp.
References lldb_private::Flags::AnySet(), CopyStringDataToBufferSP(), lldb_private::eAddressTypeHost, lldb_private::eAddressTypeInvalid, error(), GetAddressOf(), lldb_private::DataExtractor::GetByteSize(), GetCompilerType(), GetDataExtractor(), GetExecutionContextRef(), lldb_private::TargetProperties::GetMaximumSizeOfStringSummary(), GetPointeeData(), GetPointerValue(), lldb_private::ExecutionContext::GetTargetPtr(), GetTypeInfo(), lldb_private::CompilerType::IsArrayType(), lldb_private::CompilerType::IsCharType(), LLDB_INVALID_ADDRESS, lldb_private::DataExtractor::PeekCStr(), lldb_private::DataExtractor::PeekData(), lldb_private::Stream::Printf(), and lldb_private::Flags::Test().
Referenced by DumpPrintableRepresentation().
|
virtual |
Reimplemented in lldb_private::ValueObjectRegister.
Definition at line 332 of file ValueObject.cpp.
References lldb_private::Scalar::ExtractBitfield(), GetBitfieldBitOffset(), GetBitfieldBitSize(), GetExecutionContextRef(), GetModule(), lldb_private::Scalar::IsValid(), m_value, lldb_private::Value::ResolveValue(), and UpdateValueIfNeeded().
Referenced by lldb_private::AppleObjCRuntime::GetObjectDescription(), GetValueAsSigned(), GetValueAsUnsigned(), and IsLogicalTrue().
|
inline |
Definition at line 754 of file ValueObject.h.
References m_address_type_of_ptr_or_ref_children.
Referenced by lldb_private::ValueObjectVariable::DoUpdateChildrenAddressType(), lldb_private::ValueObjectCast::UpdateValue(), lldb_private::ValueObjectChild::ValueObjectChild(), and lldb_private::ValueObjectConstResult::ValueObjectConstResult().
|
virtual |
Reimplemented in lldb_private::ValueObjectDynamicValue, lldb_private::ValueObjectRegister, and lldb_private::ValueObjectVariable.
Definition at line 751 of file ValueObject.cpp.
References lldb_private::Status::AsCString(), lldb_private::DataExtractor::CopyByteOrderedData(), error(), lldb_private::Value::FileAddress, lldb_private::DataExtractor::GetByteOrder(), GetByteSize(), GetCompilerType(), lldb_private::DataExtractor::GetDataStart(), lldb_private::CompilerType::GetEncoding(), GetExecutionContextRef(), lldb_private::ExecutionContext::GetProcessPtr(), lldb_private::Value::GetScalar(), lldb_private::Value::GetValueType(), lldb_private::Value::HostAddress, lldb_private::Value::Invalid, LLDB_INVALID_ADDRESS, lldb_private::Value::LoadAddress, m_data, m_value, lldb_private::Value::Scalar, lldb_private::DataExtractor::SetData(), SetNeedsUpdate(), lldb_private::Scalar::SetValueFromData(), lldb_private::Status::Success(), lldb_private::Scalar::ULongLong(), UpdateValueIfNeeded(), and lldb_private::Process::WriteMemory().
Referenced by lldb_private::ValueObjectDynamicValue::SetData(), and lldb_private::ValueObjectVariable::SetData().
|
inlinevirtual |
Reimplemented in lldb_private::ValueObjectSynthetic.
Definition at line 700 of file ValueObject.h.
References ClearUserVisibleData(), eClearUserVisibleDataItemsValue, and m_format.
Referenced by DumpPrintableRepresentation(), lldb_private::ValueObjectSynthetic::SetFormat(), lldb_private::ValueObjectVTable::ValueObjectVTable(), and ValueObjectVTableChild::ValueObjectVTableChild().
|
inline |
Definition at line 760 of file ValueObject.h.
References lldb_private::ValueObject::Bitflags::m_did_calculate_complete_objc_class_type, and m_flags.
|
inline |
Definition at line 696 of file ValueObject.h.
References m_update_point, and lldb_private::ValueObject::EvaluationPoint::SetIsConstant().
Referenced by lldb_private::ValueObjectConstResult::ValueObjectConstResult().
|
inlinevirtual |
Reimplemented in lldb_private::ValueObjectDynamicValue, and lldb_private::ValueObjectSynthetic.
Definition at line 786 of file ValueObject.h.
References m_language_flags.
Referenced by lldb_private::ValueObjectDynamicValue::SetLanguageFlags(), lldb_private::ValueObjectSynthetic::SetLanguageFlags(), and lldb_private::ValueObjectChild::ValueObjectChild().
|
inlinevirtual |
Reimplemented in lldb_private::ValueObjectConstResult.
Definition at line 608 of file ValueObject.h.
|
inline |
Change the name of the current ValueObject.
Should not be used from a synthetic child provider as it would change the name of the non synthetic child as well.
Definition at line 550 of file ValueObject.h.
References m_name.
Referenced by lldb_private::ValueObjectVTable::UpdateValue(), lldb_private::ValueObjectCast::ValueObjectCast(), lldb_private::ValueObjectDynamicValue::ValueObjectDynamicValue(), lldb_private::ValueObjectMemory::ValueObjectMemory(), lldb_private::ValueObjectRecognizerSynthesizedValue::ValueObjectRecognizerSynthesizedValue(), lldb_private::ValueObjectSynthetic::ValueObjectSynthetic(), and ValueObjectVTableChild::ValueObjectVTableChild().
void ValueObject::SetNeedsUpdate | ( | ) |
Definition at line 229 of file ValueObject.cpp.
References ClearUserVisibleData(), eClearUserVisibleDataItemsValue, m_update_point, and lldb_private::ValueObject::EvaluationPoint::SetNeedsUpdate().
Referenced by SetData(), lldb_private::ValueObjectDynamicValue::SetData(), lldb_private::ValueObjectRegister::SetData(), lldb_private::ValueObjectVariable::SetData(), SetValueFromCString(), lldb_private::ValueObjectDynamicValue::SetValueFromCString(), lldb_private::ValueObjectRegister::SetValueFromCString(), and lldb_private::ValueObjectVariable::SetValueFromCString().
|
protected |
Definition at line 486 of file ValueObject.cpp.
References m_children, lldb_private::ValueObject::Bitflags::m_children_count_valid, m_flags, and lldb_private::ValueObject::ChildrenManager::SetChildrenCount().
Referenced by GetNumChildren().
|
inline |
Definition at line 708 of file ValueObject.h.
References m_preferred_display_language.
Referenced by lldb_private::ValueObjectDynamicValue::SetPreferredDisplayLanguage(), lldb_private::ValueObjectSynthetic::SetPreferredDisplayLanguage(), and SetPreferredDisplayLanguageIfNeeded().
|
protected |
Definition at line 3108 of file ValueObject.cpp.
References lldb::eLanguageTypeUnknown, m_preferred_display_language, and SetPreferredDisplayLanguage().
|
inline |
Definition at line 717 of file ValueObject.h.
References ClearUserVisibleData(), eClearUserVisibleDataItemsSummary, and m_type_summary_sp.
Referenced by ClearDynamicTypeInformation(), and UpdateFormatsIfNeeded().
|
inline |
Definition at line 732 of file ValueObject.h.
References ClearUserVisibleData(), eClearUserVisibleDataItemsSyntheticChildren, and m_synthetic_children_sp.
Referenced by ClearDynamicTypeInformation(), and UpdateFormatsIfNeeded().
|
inlinevirtual |
Reimplemented in lldb_private::ValueObjectDynamicValue, and lldb_private::ValueObjectSynthetic.
Definition at line 641 of file ValueObject.h.
References m_flags, and lldb_private::ValueObject::Bitflags::m_is_synthetic_children_generated.
Referenced by lldb_private::ValueObjectDynamicValue::SetSyntheticChildrenGenerated(), and lldb_private::ValueObjectSynthetic::SetSyntheticChildrenGenerated().
|
inlineprotected |
Definition at line 972 of file ValueObject.h.
References m_flags, and lldb_private::ValueObject::Bitflags::m_value_did_change.
Referenced by GetValueAsCString(), lldb_private::ValueObjectCast::UpdateValue(), lldb_private::ValueObjectDynamicValue::UpdateValue(), lldb_private::ValueObjectMemory::UpdateValue(), lldb_private::ValueObjectRegisterSet::UpdateValue(), lldb_private::ValueObjectRegister::UpdateValue(), lldb_private::ValueObjectVariable::UpdateValue(), lldb_private::ValueObjectVTable::UpdateValue(), ValueObjectVTableChild::UpdateValue(), and UpdateValueIfNeeded().
|
inline |
Definition at line 722 of file ValueObject.h.
References ClearUserVisibleData(), eClearUserVisibleDataItemsValue, and m_type_format_sp.
Referenced by ClearDynamicTypeInformation(), and UpdateFormatsIfNeeded().
|
virtual |
Reimplemented in lldb_private::ValueObjectDynamicValue, lldb_private::ValueObjectRegister, lldb_private::ValueObjectSynthetic, and lldb_private::ValueObjectVariable.
Definition at line 1445 of file ValueObject.cpp.
References lldb_private::DataExtractor::CopyByteOrderedData(), error(), lldb_private::Value::FileAddress, lldb_private::DataExtractor::GetByteOrder(), GetByteSize(), GetCompilerType(), lldb_private::Scalar::GetData(), lldb_private::DataExtractor::GetDataStart(), lldb_private::CompilerType::GetEncoding(), GetExecutionContextRef(), lldb_private::ExecutionContext::GetProcessPtr(), lldb_private::Value::GetScalar(), lldb_private::Value::GetValueType(), lldb_private::Value::HostAddress, lldb_private::Value::Invalid, LLDB_INVALID_ADDRESS, lldb_private::Value::LoadAddress, m_data, m_value, lldb_private::Value::Scalar, lldb_private::DataExtractor::SetByteOrder(), lldb_private::DataExtractor::SetData(), SetNeedsUpdate(), lldb_private::Scalar::SetValueFromCString(), lldb_private::Scalar::ULongLong(), UpdateValueIfNeeded(), and lldb_private::Process::WriteScalarToMemory().
Referenced by lldb_private::ValueObjectDynamicValue::SetValueFromCString(), lldb_private::ValueObjectSynthetic::SetValueFromCString(), and lldb_private::ValueObjectVariable::SetValueFromCString().
|
inlineprotected |
Definition at line 976 of file ValueObject.h.
References m_flags, and lldb_private::ValueObject::Bitflags::m_value_is_valid.
Referenced by lldb_private::ValueObjectCast::UpdateValue(), lldb_private::ValueObjectChild::UpdateValue(), lldb_private::ValueObjectConstResult::UpdateValue(), lldb_private::ValueObjectDynamicValue::UpdateValue(), lldb_private::ValueObjectMemory::UpdateValue(), lldb_private::ValueObjectRegisterSet::UpdateValue(), lldb_private::ValueObjectRegister::UpdateValue(), lldb_private::ValueObjectSynthetic::UpdateValue(), lldb_private::ValueObjectVariable::UpdateValue(), lldb_private::ValueObjectVTable::UpdateValue(), ValueObjectVTableChild::UpdateValue(), UpdateValueIfNeeded(), and lldb_private::ValueObjectConstResult::ValueObjectConstResult().
|
inlineprivate |
Definition at line 1003 of file ValueObject.h.
References DoUpdateChildrenAddressType(), and GetRoot().
Referenced by UpdateValueIfNeeded().
bool ValueObject::UpdateFormatsIfNeeded | ( | ) |
Definition at line 204 of file ValueObject.cpp.
References lldb_private::DataFormatters, lldb::eNoDynamicValues, lldb_private::DataVisualization::GetCurrentRevision(), GetDynamicValueType(), lldb_private::DataVisualization::GetFormat(), lldb_private::GetLog(), GetName(), lldb_private::DataVisualization::GetSummaryFormat(), lldb_private::DataVisualization::GetSyntheticChildren(), LLDB_LOGF, m_last_format_mgr_revision, SetSummaryFormat(), SetSyntheticChildren(), and SetValueFormat().
Referenced by CalculateSyntheticValue(), GetSummaryFormat(), GetSyntheticChildren(), GetValueFormat(), HasSyntheticValue(), and UpdateValueIfNeeded().
|
protectedpure virtual |
Implemented in lldb_private::ValueObjectCast, lldb_private::ValueObjectChild, lldb_private::ValueObjectConstResult, lldb_private::ValueObjectDynamicValue, lldb_private::ValueObjectMemory, lldb_private::ValueObjectRegisterSet, lldb_private::ValueObjectRegister, lldb_private::ValueObjectSynthetic, lldb_private::ValueObjectVariable, lldb_private::ValueObjectVTable, lldb_private::ValueObjectRecognizerSynthesizedValue, and ValueObjectVTableChild.
Referenced by UpdateValueIfNeeded().
bool ValueObject::UpdateValueIfNeeded | ( | bool | update_format = true | ) |
Definition at line 113 of file ValueObject.cpp.
References CanProvideValue(), lldb_private::DataExtractor::Checksum(), lldb_private::Status::Clear(), ClearUserVisibleData(), eClearUserVisibleDataItemsDescription, eClearUserVisibleDataItemsSummary, eClearUserVisibleDataItemsValue, GetIsConstant(), GetValueIsValid(), IsChecksumEmpty(), IsInScope(), m_data, m_error, m_flags, m_old_value_str, lldb_private::ValueObject::Bitflags::m_old_value_valid, m_update_point, m_value_checksum, lldb_private::ValueObject::Bitflags::m_value_did_change, m_value_str, NeedsUpdating(), lldb_private::Status::SetErrorString(), lldb_private::ValueObject::EvaluationPoint::SetUpdated(), SetValueDidChange(), SetValueIsValid(), lldb_private::Status::Success(), UpdateChildrenAddressType(), UpdateFormatsIfNeeded(), and UpdateValue().
Referenced by lldb_private::ValueObjectDynamicValue::CalculateNumChildren(), lldb_private::ValueObjectSynthetic::CalculateNumChildren(), lldb_private::ValueObjectVTable::CalculateNumChildren(), lldb_private::ValueObjectSynthetic::CanProvideValue(), lldb_private::ValueObjectSynthetic::CopyValueData(), lldb_private::ValueObjectConstResultImpl::CreateChildAtIndex(), CreateConstantValue(), lldb_private::ValueObjectSynthetic::DoesProvideSyntheticValue(), GetAddressOf(), lldb_private::ValueObjectDynamicValue::GetByteSize(), GetChildAtIndex(), lldb_private::ValueObjectSynthetic::GetChildAtIndex(), GetChildMemberWithName(), lldb_private::ValueObjectSynthetic::GetChildMemberWithName(), lldb_private::ValueObjectDynamicValue::GetCompilerTypeImpl(), GetData(), GetDataExtractor(), lldb_private::ValueObjectDynamicValue::GetDisplayTypeName(), GetError(), GetExpressionPath(), lldb_private::ValueObjectSynthetic::GetIndexOfChildWithName(), GetLocationAsCStringImpl(), GetNumChildren(), GetObjectDescription(), GetPointerValue(), lldb_private::ValueObjectDynamicValue::GetQualifiedTypeName(), GetSummaryAsCString(), lldb_private::ValueObjectDynamicValue::GetTypeImpl(), lldb_private::ValueObjectDynamicValue::GetTypeName(), GetValueAsCString(), Persist(), ResolveValue(), lldb_private::ValueObjectRegister::ResolveValue(), SetData(), lldb_private::ValueObjectDynamicValue::SetData(), lldb_private::ValueObjectVariable::SetData(), lldb_private::ValueObjectPrinter::SetupMostSpecializedValue(), SetValueFromCString(), lldb_private::ValueObjectDynamicValue::SetValueFromCString(), lldb_private::ValueObjectVariable::SetValueFromCString(), lldb_private::ValueObjectCast::UpdateValue(), lldb_private::ValueObjectChild::UpdateValue(), lldb_private::ValueObjectDynamicValue::UpdateValue(), lldb_private::ValueObjectSynthetic::UpdateValue(), and lldb_private::ValueObjectRecognizerSynthesizedValue::UpdateValue().
|
inline |
Definition at line 627 of file ValueObject.h.
References ClearUserVisibleData(), eClearUserVisibleDataItemsDescription, eClearUserVisibleDataItemsSummary, and eClearUserVisibleDataItemsValue.
|
friend |
Definition at line 927 of file ValueObject.h.
|
friend |
Definition at line 928 of file ValueObject.h.
|
friend |
Definition at line 926 of file ValueObject.h.
Referenced by CreateChildAtIndex(), Dereference(), GetSyntheticBase(), GetSyntheticBitFieldChild(), and GetSyntheticChildAtOffset().
|
friend |
Definition at line 929 of file ValueObject.h.
|
friend |
Definition at line 930 of file ValueObject.h.
Referenced by CalculateSyntheticValue().
|
protected |
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.
Definition at line 882 of file ValueObject.h.
Referenced by AddressOf().
|
protected |
Definition at line 891 of file ValueObject.h.
Referenced by GetAddressTypeOfChildren(), and SetAddressTypeOfChildren().
|
protected |
Definition at line 873 of file ValueObject.h.
Referenced by GetChildAtIndex(), GetNumChildren(), SetNumChildren(), and lldb_private::ValueObjectRegisterSet::UpdateValue().
|
protected |
A data extractor that can be used to extract the value.
Definition at line 846 of file ValueObject.h.
Referenced by AddressOf(), lldb_private::ValueObjectSynthetic::CopyValueData(), CreateConstantValue(), GetData(), GetDataExtractor(), GetLocationAsCString(), lldb_private::ValueObjectVariable::GetLocationAsCString(), GetPointerValue(), SetData(), SetValueFromCString(), lldb_private::ValueObjectCast::UpdateValue(), lldb_private::ValueObjectChild::UpdateValue(), lldb_private::ValueObjectDynamicValue::UpdateValue(), lldb_private::ValueObjectMemory::UpdateValue(), lldb_private::ValueObjectRegister::UpdateValue(), lldb_private::ValueObjectVariable::UpdateValue(), ValueObjectVTableChild::UpdateValue(), UpdateValueIfNeeded(), ValueObject(), and lldb_private::ValueObjectConstResult::ValueObjectConstResult().
|
protected |
Definition at line 878 of file ValueObject.h.
Referenced by Dereference().
|
protected |
Definition at line 876 of file ValueObject.h.
Referenced by CalculateDynamicValue(), GetDynamicValue(), and lldb_private::ValueObjectConstResult::GetDynamicValue().
|
protected |
An error object that can describe any errors that occur when updating values.
Definition at line 850 of file ValueObject.h.
Referenced by lldb_private::ValueObjectSynthetic::CopyValueData(), CreateConstantValue(), DumpPrintableRepresentation(), GetError(), lldb_private::ValueObjectCast::UpdateValue(), lldb_private::ValueObjectChild::UpdateValue(), lldb_private::ValueObjectDynamicValue::UpdateValue(), lldb_private::ValueObjectMemory::UpdateValue(), lldb_private::ValueObjectRegisterSet::UpdateValue(), lldb_private::ValueObjectRegister::UpdateValue(), lldb_private::ValueObjectSynthetic::UpdateValue(), lldb_private::ValueObjectVariable::UpdateValue(), lldb_private::ValueObjectVTable::UpdateValue(), ValueObjectVTableChild::UpdateValue(), UpdateValueIfNeeded(), and lldb_private::ValueObjectConstResult::ValueObjectConstResult().
|
protected |
Referenced by ClearDynamicTypeInformation(), GetExpressionPath(), GetNumChildren(), GetSummaryAsCString(), GetValueAsCString(), GetValueDidChange(), GetValueIsValid(), IsSyntheticChildrenGenerated(), MaybeCalculateCompleteType(), SetHasCompleteType(), SetNumChildren(), SetSyntheticChildrenGenerated(), SetValueDidChange(), SetValueIsValid(), lldb_private::ValueObjectSynthetic::UpdateValue(), lldb_private::ValueObjectVTable::UpdateValue(), UpdateValueIfNeeded(), and ValueObject().
|
protected |
Definition at line 884 of file ValueObject.h.
Referenced by GetFormat(), and SetFormat().
|
protected |
Unique identifier for every value object.
Definition at line 900 of file ValueObject.h.
Referenced by GetID().
|
protected |
Definition at line 897 of file ValueObject.h.
Referenced by GetLanguageFlags(), and SetLanguageFlags().
|
protected |
Definition at line 885 of file ValueObject.h.
Referenced by GetValueAsCString().
|
protected |
Definition at line 886 of file ValueObject.h.
Referenced by ClearDynamicTypeInformation(), and UpdateFormatsIfNeeded().
|
protected |
Cached location string that will get cleared if/when the value is updated.
Definition at line 856 of file ValueObject.h.
Referenced by ClearUserVisibleData(), and GetLocationAsCStringImpl().
|
protected |
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.
Shared pointers to value objects must always be made with the GetSP method.
Definition at line 871 of file ValueObject.h.
Referenced by GetManager(), GetSP(), and ValueObject().
|
protected |
The name of this object.
Definition at line 844 of file ValueObject.h.
Referenced by AddressOf(), lldb_private::ValueObjectRegister::ConstructObject(), GetExpressionPath(), GetName(), SetName(), lldb_private::ValueObjectRegisterSet::UpdateValue(), lldb_private::ValueObjectChild::ValueObjectChild(), lldb_private::ValueObjectConstResult::ValueObjectConstResult(), lldb_private::ValueObjectConstResultCast::ValueObjectConstResultCast(), lldb_private::ValueObjectConstResultChild::ValueObjectConstResultChild(), lldb_private::ValueObjectRegisterSet::ValueObjectRegisterSet(), and lldb_private::ValueObjectVariable::ValueObjectVariable().
|
protected |
Cached result of the "object printer".
This differs from the summary in that the summary is consed up by us, the object_desc_string is builtin.
Definition at line 861 of file ValueObject.h.
Referenced by ClearUserVisibleData(), and GetObjectDescription().
|
protected |
Cached old value string from the last time the value was gotten.
Definition at line 854 of file ValueObject.h.
Referenced by GetValueAsCString(), and UpdateValueIfNeeded().
|
protected |
If the type of the value object should be overridden, the type to impose.
Definition at line 863 of file ValueObject.h.
Referenced by ClearDynamicTypeInformation(), and MaybeCalculateCompleteType().
|
protected |
The parent value object, or nullptr if this has no parent.
Definition at line 835 of file ValueObject.h.
Referenced by lldb_private::ValueObjectDynamicValue::CalculateNumChildren(), lldb_private::ValueObjectRecognizerSynthesizedValue::CalculateNumChildren(), lldb_private::ValueObjectSynthetic::CanProvideValue(), lldb_private::ValueObjectChild::CanUpdateWithInvalidExecutionContext(), lldb_private::ValueObjectSynthetic::CreateSynthFilter(), FollowParentChain(), lldb_private::ValueObjectDynamicValue::GetByteSize(), lldb_private::ValueObjectSynthetic::GetByteSize(), lldb_private::ValueObjectRecognizerSynthesizedValue::GetByteSize(), lldb_private::ValueObjectDynamicValue::GetCompilerTypeImpl(), lldb_private::ValueObjectSynthetic::GetCompilerTypeImpl(), lldb_private::ValueObjectRecognizerSynthesizedValue::GetCompilerTypeImpl(), lldb_private::ValueObjectDynamicValue::GetDeclaration(), lldb_private::ValueObjectSynthetic::GetDeclaration(), lldb_private::ValueObjectDynamicValue::GetDisplayTypeName(), lldb_private::ValueObjectSynthetic::GetDisplayTypeName(), lldb_private::ValueObjectSynthetic::GetDynamicValue(), GetDynamicValueType(), lldb_private::ValueObjectSynthetic::GetDynamicValueType(), GetFormat(), lldb_private::ValueObjectDynamicValue::GetLanguageFlags(), lldb_private::ValueObjectSynthetic::GetLanguageFlags(), lldb_private::ValueObjectSynthetic::GetNonSyntheticValue(), GetParent(), lldb_private::ValueObjectCast::GetParent(), lldb_private::ValueObjectDynamicValue::GetParent(), lldb_private::ValueObjectSynthetic::GetParent(), lldb_private::ValueObjectDynamicValue::GetPreferredDisplayLanguage(), lldb_private::ValueObjectSynthetic::GetPreferredDisplayLanguage(), lldb_private::ValueObjectDynamicValue::GetQualifiedTypeName(), lldb_private::ValueObjectSynthetic::GetQualifiedTypeName(), GetRoot(), lldb_private::ValueObjectDynamicValue::GetStaticValue(), lldb_private::ValueObjectSynthetic::GetStaticValue(), GetSymbolContextScope(), lldb_private::ValueObjectDynamicValue::GetTypeImpl(), lldb_private::ValueObjectDynamicValue::GetTypeName(), lldb_private::ValueObjectSynthetic::GetTypeName(), lldb_private::ValueObjectCast::GetValueType(), lldb_private::ValueObjectChild::GetValueType(), lldb_private::ValueObjectDynamicValue::GetValueType(), lldb_private::ValueObjectSynthetic::GetValueType(), lldb_private::ValueObjectDynamicValue::GetVariable(), lldb_private::ValueObjectSynthetic::GetVariable(), lldb_private::ValueObjectDynamicValue::IsBaseClass(), lldb_private::ValueObjectSynthetic::IsDynamic(), lldb_private::ValueObjectCast::IsInScope(), lldb_private::ValueObjectDynamicValue::IsInScope(), lldb_private::ValueObjectSynthetic::IsInScope(), lldb_private::ValueObjectDynamicValue::IsSyntheticChildrenGenerated(), lldb_private::ValueObjectSynthetic::IsSyntheticChildrenGenerated(), lldb_private::ValueObjectDynamicValue::SetData(), lldb_private::ValueObjectSynthetic::SetFormat(), lldb_private::ValueObjectDynamicValue::SetLanguageFlags(), lldb_private::ValueObjectSynthetic::SetLanguageFlags(), lldb_private::ValueObjectDynamicValue::SetPreferredDisplayLanguage(), lldb_private::ValueObjectSynthetic::SetPreferredDisplayLanguage(), lldb_private::ValueObjectDynamicValue::SetSyntheticChildrenGenerated(), lldb_private::ValueObjectSynthetic::SetSyntheticChildrenGenerated(), lldb_private::ValueObjectDynamicValue::SetValueFromCString(), lldb_private::ValueObjectSynthetic::SetValueFromCString(), lldb_private::ValueObjectCast::UpdateValue(), lldb_private::ValueObjectChild::UpdateValue(), lldb_private::ValueObjectDynamicValue::UpdateValue(), lldb_private::ValueObjectSynthetic::UpdateValue(), lldb_private::ValueObjectRecognizerSynthesizedValue::UpdateValue(), and lldb_private::ValueObjectSynthetic::ValueObjectSynthetic().
|
protected |
Definition at line 895 of file ValueObject.h.
Referenced by GetPreferredDisplayLanguage(), lldb_private::ValueObjectConstResult::GetPreferredDisplayLanguage(), lldb_private::ValueObjectDynamicValue::GetPreferredDisplayLanguage(), lldb_private::ValueObjectSynthetic::GetPreferredDisplayLanguage(), SetPreferredDisplayLanguage(), and SetPreferredDisplayLanguageIfNeeded().
|
protected |
The root of the hierarchy for this ValueObject (or nullptr if never calculated).
Definition at line 838 of file ValueObject.h.
Referenced by GetRoot().
|
protected |
Cached summary string that will get cleared if/when the value is updated.
Definition at line 858 of file ValueObject.h.
Referenced by ClearUserVisibleData(), and GetSummaryAsCString().
|
protected |
Definition at line 874 of file ValueObject.h.
Referenced by AddSyntheticChild(), and GetSyntheticChild().
|
protected |
Definition at line 889 of file ValueObject.h.
Referenced by CalculateSyntheticValue(), GetSyntheticChildren(), HasSyntheticValue(), and SetSyntheticChildren().
|
protected |
Definition at line 877 of file ValueObject.h.
Referenced by CalculateSyntheticValue(), ClearUserVisibleData(), GetSummaryAsCString(), GetSyntheticValue(), and HasSyntheticValue().
|
protected |
Definition at line 888 of file ValueObject.h.
Referenced by GetValueAsCString(), GetValueFormat(), and SetValueFormat().
|
protected |
Definition at line 887 of file ValueObject.h.
Referenced by GetSummaryFormat(), and SetSummaryFormat().
|
protected |
Stores both the stop id and the full context at which this value was last updated.
When we are asked to update the value object, we check whether the context & stop id are the same before updating.
Definition at line 842 of file ValueObject.h.
Referenced by GetExecutionContextRef(), GetFrameSP(), GetIsConstant(), GetProcessSP(), GetTargetSP(), GetThreadSP(), GetUpdatePoint(), NeedsUpdating(), SetIsConstant(), SetNeedsUpdate(), lldb_private::ValueObjectCast::UpdateValue(), lldb_private::ValueObjectDynamicValue::UpdateValue(), and UpdateValueIfNeeded().
|
protected |
Definition at line 890 of file ValueObject.h.
|
protected |
Definition at line 847 of file ValueObject.h.
Referenced by Cast(), lldb_private::ValueObjectSynthetic::CopyValueData(), CreateConstantValue(), GetAddressOf(), lldb_private::ValueObjectCast::GetByteSize(), lldb_private::ValueObjectDynamicValue::GetByteSize(), lldb_private::ValueObjectConstResult::GetCompilerTypeImpl(), lldb_private::ValueObjectDynamicValue::GetCompilerTypeImpl(), ValueObjectVTableChild::GetCompilerTypeImpl(), GetData(), GetExpressionPath(), GetLocationAsCString(), GetPointeeData(), GetPointerValue(), GetValue(), GetValueAsCString(), ResolveValue(), SetData(), SetValueFromCString(), lldb_private::ValueObjectCast::UpdateValue(), lldb_private::ValueObjectChild::UpdateValue(), lldb_private::ValueObjectDynamicValue::UpdateValue(), lldb_private::ValueObjectMemory::UpdateValue(), lldb_private::ValueObjectRegister::UpdateValue(), lldb_private::ValueObjectVariable::UpdateValue(), lldb_private::ValueObjectVTable::UpdateValue(), lldb_private::ValueObjectRecognizerSynthesizedValue::UpdateValue(), ValueObjectVTableChild::UpdateValue(), lldb_private::ValueObjectCast::ValueObjectCast(), lldb_private::ValueObjectConstResult::ValueObjectConstResult(), and lldb_private::ValueObjectMemory::ValueObjectMemory().
|
protected |
Definition at line 893 of file ValueObject.h.
Referenced by IsChecksumEmpty(), and UpdateValueIfNeeded().
|
protected |
Cached value string that will get cleared if/when the value is updated.
Definition at line 852 of file ValueObject.h.
Referenced by ClearUserVisibleData(), GetValueAsCString(), and UpdateValueIfNeeded().