Lines Matching refs:ValueObject
81 ValueObject::ValueObject(ValueObject &parent) in ValueObject() function in ValueObject
92 ValueObject::ValueObject(ExecutionContextScope *exe_scope, in ValueObject() function in ValueObject
110 ValueObject::~ValueObject() = default;
112 bool ValueObject::UpdateValueIfNeeded(bool update_format) { in UpdateValueIfNeeded()
203 bool ValueObject::UpdateFormatsIfNeeded() { in UpdateFormatsIfNeeded()
230 void ValueObject::SetNeedsUpdate() { in SetNeedsUpdate()
237 void ValueObject::ClearDynamicTypeInformation() { in ClearDynamicTypeInformation()
247 CompilerType ValueObject::MaybeCalculateCompleteType() { in MaybeCalculateCompleteType()
279 DataExtractor &ValueObject::GetDataExtractor() { in GetDataExtractor()
284 const Status &ValueObject::GetError() { in GetError()
289 const char *ValueObject::GetLocationAsCStringImpl(const Value &value, in GetLocationAsCStringImpl()
333 bool ValueObject::ResolveValue(Scalar &scalar) { in ResolveValue()
351 bool ValueObject::IsLogicalTrue(Status &error) { in IsLogicalTrue()
376 ValueObjectSP ValueObject::GetChildAtIndex(size_t idx, bool can_create) { in GetChildAtIndex()
389 ValueObject *child = m_children.GetChildAtIndex(idx); in GetChildAtIndex()
397 ValueObject::GetChildAtIndexPath(llvm::ArrayRef<size_t> idxs, in GetChildAtIndexPath()
413 lldb::ValueObjectSP ValueObject::GetChildAtIndexPath( in GetChildAtIndexPath()
430 ValueObject::GetChildAtNamePath(llvm::ArrayRef<ConstString> names, in GetChildAtNamePath()
446 lldb::ValueObjectSP ValueObject::GetChildAtNamePath( in GetChildAtNamePath()
463 size_t ValueObject::GetIndexOfChildWithName(ConstString name) { in GetIndexOfChildWithName()
469 ValueObjectSP ValueObject::GetChildMemberWithName(ConstString name, in GetChildMemberWithName()
497 size_t ValueObject::GetNumChildren(uint32_t max) { in GetNumChildren()
514 bool ValueObject::MightHaveChildren() { in MightHaveChildren()
527 void ValueObject::SetNumChildren(size_t num_children) { in SetNumChildren()
532 ValueObject *ValueObject::CreateChildAtIndex(size_t idx, in CreateChildAtIndex()
535 ValueObject *valobj = nullptr; in CreateChildAtIndex()
586 bool ValueObject::GetSummaryAsCString(TypeSummaryImpl *summary_ptr, in GetSummaryAsCString()
593 bool ValueObject::GetSummaryAsCString(TypeSummaryImpl *summary_ptr, in GetSummaryAsCString()
638 const char *ValueObject::GetSummaryAsCString(lldb::LanguageType lang) { in GetSummaryAsCString()
650 bool ValueObject::GetSummaryAsCString(std::string &destination, in GetSummaryAsCString()
655 bool ValueObject::IsCStringContainer(bool check_pointer) { in IsCStringContainer()
672 size_t ValueObject::GetPointeeData(DataExtractor &data, uint32_t item_idx, in GetPointeeData()
774 uint64_t ValueObject::GetData(DataExtractor &data, Status &error) { in GetData()
792 bool ValueObject::SetData(DataExtractor &data, Status &error) { in SetData()
869 ValueObject::ReadPointedString(lldb::WritableDataBufferSP &buffer_sp, in ReadPointedString()
1008 const char *ValueObject::GetObjectDescription() { in GetObjectDescription()
1045 bool ValueObject::GetValueAsCString(const lldb_private::TypeFormatImpl &format, in GetValueAsCString()
1053 bool ValueObject::GetValueAsCString(lldb::Format format, in GetValueAsCString()
1058 const char *ValueObject::GetValueAsCString() { in GetValueAsCString()
1099 uint64_t ValueObject::GetValueAsUnsigned(uint64_t fail_value, bool *success) { in GetValueAsUnsigned()
1117 int64_t ValueObject::GetValueAsSigned(int64_t fail_value, bool *success) { in GetValueAsSigned()
1139 bool ValueObject::HasSpecialPrintableRepresentation( in HasSpecialPrintableRepresentation()
1143 val_obj_display == ValueObject::eValueObjectRepresentationStyleValue) { in HasSpecialPrintableRepresentation()
1172 bool ValueObject::DumpPrintableRepresentation( in DumpPrintableRepresentation()
1180 (special == ValueObject::PrintableRepresentationSpecialCases::eAllow); in DumpPrintableRepresentation()
1185 val_obj_display == ValueObject::eValueObjectRepresentationStyleValue) { in DumpPrintableRepresentation()
1239 s, ValueObject::eValueObjectRepresentationStyleValue, in DumpPrintableRepresentation()
1280 s, ValueObject::eValueObjectRepresentationStyleValue, format); in DumpPrintableRepresentation()
1408 addr_t ValueObject::GetAddressOf(bool scalar_is_load_address, in GetAddressOf()
1445 addr_t ValueObject::GetPointerValue(AddressType *address_type) { in GetPointerValue()
1474 bool ValueObject::SetValueFromCString(const char *value_str, Status &error) { in SetValueFromCString()
1559 bool ValueObject::GetDeclaration(Declaration &decl) { in GetDeclaration()
1564 void ValueObject::AddSyntheticChild(ConstString key, in AddSyntheticChild()
1565 ValueObject *valobj) { in AddSyntheticChild()
1569 ValueObjectSP ValueObject::GetSyntheticChild(ConstString key) const { in GetSyntheticChild()
1571 std::map<ConstString, ValueObject *>::const_iterator pos = in GetSyntheticChild()
1578 bool ValueObject::IsPossibleDynamicType() { in IsPossibleDynamicType()
1587 bool ValueObject::IsRuntimeSupportValue() { in IsRuntimeSupportValue()
1604 bool ValueObject::IsNilReference() { in IsNilReference()
1611 bool ValueObject::IsUninitializedReference() { in IsUninitializedReference()
1627 ValueObjectSP ValueObject::GetSyntheticArrayMember(size_t index, in GetSyntheticArrayMember()
1637 ValueObject *synthetic_child; in GetSyntheticArrayMember()
1654 ValueObjectSP ValueObject::GetSyntheticBitFieldChild(uint32_t from, uint32_t to, in GetSyntheticBitFieldChild()
1688 ValueObjectSP ValueObject::GetSyntheticChildAtOffset( in GetSyntheticChildAtOffset()
1725 ValueObjectSP ValueObject::GetSyntheticBase(uint32_t offset, in GetSyntheticBase()
1781 ValueObject::GetSyntheticExpressionPathChild(const char *expression, in GetSyntheticExpressionPathChild()
1809 void ValueObject::CalculateSyntheticValue() { in CalculateSyntheticValue()
1830 void ValueObject::CalculateDynamicValue(DynamicValueType use_dynamic) { in CalculateDynamicValue()
1844 ValueObjectSP ValueObject::GetDynamicValue(DynamicValueType use_dynamic) { in GetDynamicValue()
1857 ValueObjectSP ValueObject::GetSyntheticValue() { in GetSyntheticValue()
1866 bool ValueObject::HasSyntheticValue() { in HasSyntheticValue()
1877 ValueObject *ValueObject::GetNonBaseClassParent() { in GetNonBaseClassParent()
1887 bool ValueObject::IsBaseClass(uint32_t &depth) { in IsBaseClass()
1902 void ValueObject::GetExpressionPath(Stream &s, in GetExpressionPath()
1948 ValueObject *parent = GetParent(); in GetExpressionPath()
1962 ValueObject *non_base_class_parent = GetNonBaseClassParent(); in GetExpressionPath()
1997 ValueObjectSP ValueObject::GetValueForExpressionPath( in GetValueForExpressionPath()
2004 ValueObject::eExpressionPathScanEndReasonUnknown; in GetValueForExpressionPath()
2006 ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath()
2008 ValueObject::eExpressionPathAftermathNothing; in GetValueForExpressionPath()
2017 *final_task_on_target == ValueObject::eExpressionPathAftermathNothing) in GetValueForExpressionPath()
2027 ValueObject::eExpressionPathAftermathDereference) { in GetValueForExpressionPath()
2033 ValueObject::eExpressionPathScanEndReasonDereferencingFailed; in GetValueForExpressionPath()
2035 *final_value_type = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath()
2039 *final_task_on_target = ValueObject::eExpressionPathAftermathNothing; in GetValueForExpressionPath()
2044 ValueObject::eExpressionPathAftermathTakeAddress) { in GetValueForExpressionPath()
2050 ValueObject::eExpressionPathScanEndReasonTakingAddressFailed; in GetValueForExpressionPath()
2052 *final_value_type = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath()
2056 *final_task_on_target = ValueObject::eExpressionPathAftermathNothing; in GetValueForExpressionPath()
2065 ValueObjectSP ValueObject::GetValueForExpressionPath_Impl( in GetValueForExpressionPath_Impl()
2090 *reason_to_stop = ValueObject::eExpressionPathScanEndReasonEndOfString; in GetValueForExpressionPath_Impl()
2104 ValueObject::eExpressionPathScanEndReasonArrowInsteadOfDot; in GetValueForExpressionPath_Impl()
2105 *final_result = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath_Impl()
2114 ValueObject::eExpressionPathScanEndReasonFragileIVarNotAllowed; in GetValueForExpressionPath_Impl()
2115 *final_result = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath_Impl()
2120 ValueObject::eExpressionPathScanEndReasonUnexpectedSymbol; in GetValueForExpressionPath_Impl()
2121 *final_result = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath_Impl()
2136 ValueObject::eExpressionPathScanEndReasonDotInsteadOfArrow; in GetValueForExpressionPath_Impl()
2137 *final_result = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath_Impl()
2154 ValueObject::eExpressionPathScanEndReasonEndOfString; in GetValueForExpressionPath_Impl()
2155 *final_result = ValueObject::eExpressionPathEndResultTypePlain; in GetValueForExpressionPath_Impl()
2203 ValueObject::eExpressionPathScanEndReasonEndOfString; in GetValueForExpressionPath_Impl()
2204 *final_result = ValueObject::eExpressionPathEndResultTypePlain; in GetValueForExpressionPath_Impl()
2208 ValueObject::eExpressionPathScanEndReasonNoSuchChild; in GetValueForExpressionPath_Impl()
2209 *final_result = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath_Impl()
2224 *final_result = ValueObject::eExpressionPathEndResultTypePlain; in GetValueForExpressionPath_Impl()
2273 *final_result = ValueObject::eExpressionPathEndResultTypePlain; in GetValueForExpressionPath_Impl()
2277 ValueObject::eExpressionPathScanEndReasonNoSuchChild; in GetValueForExpressionPath_Impl()
2278 *final_result = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath_Impl()
2298 ValueObject::eExpressionPathScanEndReasonRangeOperatorInvalid; in GetValueForExpressionPath_Impl()
2299 *final_result = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath_Impl()
2307 ValueObject::eExpressionPathScanEndReasonRangeOperatorNotAllowed; in GetValueForExpressionPath_Impl()
2308 *final_result = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath_Impl()
2317 ValueObject::eExpressionPathScanEndReasonEmptyRangeNotAllowed; in GetValueForExpressionPath_Impl()
2318 *final_result = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath_Impl()
2324 ValueObject::eExpressionPathScanEndReasonArrayRangeOperatorMet; in GetValueForExpressionPath_Impl()
2326 ValueObject::eExpressionPathEndResultTypeUnboundedRange; in GetValueForExpressionPath_Impl()
2336 ValueObject::eExpressionPathScanEndReasonUnexpectedSymbol; in GetValueForExpressionPath_Impl()
2337 *final_result = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath_Impl()
2355 ValueObject::eExpressionPathScanEndReasonUnexpectedSymbol; in GetValueForExpressionPath_Impl()
2356 *final_result = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath_Impl()
2374 *final_result = ValueObject::eExpressionPathEndResultTypePlain; in GetValueForExpressionPath_Impl()
2378 ValueObject::eExpressionPathScanEndReasonNoSuchChild; in GetValueForExpressionPath_Impl()
2379 *final_result = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath_Impl()
2384 ValueObject:: in GetValueForExpressionPath_Impl()
2399 ValueObject::eExpressionPathScanEndReasonDereferencingFailed; in GetValueForExpressionPath_Impl()
2400 *final_result = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath_Impl()
2422 ValueObject::eExpressionPathScanEndReasonNoSuchChild; in GetValueForExpressionPath_Impl()
2423 *final_result = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath_Impl()
2428 *final_result = ValueObject::eExpressionPathEndResultTypePlain; in GetValueForExpressionPath_Impl()
2436 ValueObject::eExpressionPathScanEndReasonNoSuchChild; in GetValueForExpressionPath_Impl()
2437 *final_result = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath_Impl()
2442 *reason_to_stop = ValueObject:: in GetValueForExpressionPath_Impl()
2444 *final_result = ValueObject::eExpressionPathEndResultTypeBitfield; in GetValueForExpressionPath_Impl()
2451 ValueObject::eExpressionPathScanEndReasonNoSuchChild; in GetValueForExpressionPath_Impl()
2452 *final_result = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath_Impl()
2457 *final_result = ValueObject::eExpressionPathEndResultTypePlain; in GetValueForExpressionPath_Impl()
2470 ValueObject::eExpressionPathScanEndReasonSyntheticValueMissing; in GetValueForExpressionPath_Impl()
2471 *final_result = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath_Impl()
2479 ValueObject::eExpressionPathScanEndReasonSyntheticValueMissing; in GetValueForExpressionPath_Impl()
2480 *final_result = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath_Impl()
2486 ValueObject::eExpressionPathScanEndReasonNoSuchChild; in GetValueForExpressionPath_Impl()
2487 *final_result = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath_Impl()
2492 *final_result = ValueObject::eExpressionPathEndResultTypePlain; in GetValueForExpressionPath_Impl()
2497 ValueObject::eExpressionPathScanEndReasonNoSuchChild; in GetValueForExpressionPath_Impl()
2498 *final_result = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath_Impl()
2509 ValueObject::eExpressionPathScanEndReasonUnexpectedSymbol; in GetValueForExpressionPath_Impl()
2510 *final_result = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath_Impl()
2523 ValueObject::eExpressionPathScanEndReasonNoSuchChild; in GetValueForExpressionPath_Impl()
2524 *final_result = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath_Impl()
2527 *reason_to_stop = ValueObject:: in GetValueForExpressionPath_Impl()
2529 *final_result = ValueObject::eExpressionPathEndResultTypeBitfield; in GetValueForExpressionPath_Impl()
2538 ValueObject::eExpressionPathAftermathDereference && in GetValueForExpressionPath_Impl()
2544 ValueObject::eExpressionPathScanEndReasonDereferencingFailed; in GetValueForExpressionPath_Impl()
2545 *final_result = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath_Impl()
2548 *what_next = ValueObject::eExpressionPathAftermathNothing; in GetValueForExpressionPath_Impl()
2553 ValueObject::eExpressionPathScanEndReasonArrayRangeOperatorMet; in GetValueForExpressionPath_Impl()
2554 *final_result = ValueObject::eExpressionPathEndResultTypeBoundedRange; in GetValueForExpressionPath_Impl()
2563 ValueObject::eExpressionPathScanEndReasonUnexpectedSymbol; in GetValueForExpressionPath_Impl()
2564 *final_result = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath_Impl()
2571 void ValueObject::Dump(Stream &s) { Dump(s, DumpValueObjectOptions(*this)); } in Dump()
2573 void ValueObject::Dump(Stream &s, const DumpValueObjectOptions &options) { in Dump()
2578 ValueObjectSP ValueObject::CreateConstantValue(ConstString name) { in CreateConstantValue()
2607 ValueObjectSP ValueObject::GetQualifiedRepresentationIfAvailable( in GetQualifiedRepresentationIfAvailable()
2642 ValueObjectSP ValueObject::Dereference(Status &error) { in Dereference()
2734 ValueObjectSP ValueObject::AddressOf(Status &error) { in AddressOf()
2777 ValueObjectSP ValueObject::Cast(const CompilerType &compiler_type) { in Cast()
2781 lldb::ValueObjectSP ValueObject::Clone(ConstString new_name) { in Clone()
2785 ValueObjectSP ValueObject::CastPointerType(const char *name, in CastPointerType()
2800 ValueObjectSP ValueObject::CastPointerType(const char *name, TypeSP &type_sp) { in CastPointerType()
2814 ValueObject::EvaluationPoint::EvaluationPoint() : m_mod_id(), m_exe_ctx_ref() {} in EvaluationPoint()
2816 ValueObject::EvaluationPoint::EvaluationPoint(ExecutionContextScope *exe_scope, in EvaluationPoint()
2853 ValueObject::EvaluationPoint::EvaluationPoint( in EvaluationPoint()
2854 const ValueObject::EvaluationPoint &rhs) in EvaluationPoint()
2857 ValueObject::EvaluationPoint::~EvaluationPoint() = default;
2867 bool ValueObject::EvaluationPoint::SyncWithProcessState( in SyncWithProcessState()
2934 void ValueObject::EvaluationPoint::SetUpdated() { in SetUpdated()
2941 void ValueObject::ClearUserVisibleData(uint32_t clear_mask) { in ClearUserVisibleData()
2965 SymbolContextScope *ValueObject::GetSymbolContextScope() { in GetSymbolContextScope()
2974 ValueObject::CreateValueObjectFromExpression(llvm::StringRef name, in CreateValueObjectFromExpression()
2981 lldb::ValueObjectSP ValueObject::CreateValueObjectFromExpression( in CreateValueObjectFromExpression()
2997 lldb::ValueObjectSP ValueObject::CreateValueObjectFromAddress( in CreateValueObjectFromAddress()
3023 lldb::ValueObjectSP ValueObject::CreateValueObjectFromData( in CreateValueObjectFromData()
3036 ModuleSP ValueObject::GetModule() { in GetModule()
3037 ValueObject *root(GetRoot()); in GetModule()
3043 ValueObject *ValueObject::GetRoot() { in GetRoot()
3046 return (m_root = FollowParentChain([](ValueObject *vo) -> bool { in GetRoot()
3051 ValueObject *
3052 ValueObject::FollowParentChain(std::function<bool(ValueObject *)> f) { in FollowParentChain()
3053 ValueObject *vo = this; in FollowParentChain()
3062 AddressType ValueObject::GetAddressTypeOfChildren() { in GetAddressTypeOfChildren()
3064 ValueObject *root(GetRoot()); in GetAddressTypeOfChildren()
3071 lldb::DynamicValueType ValueObject::GetDynamicValueType() { in GetDynamicValueType()
3072 ValueObject *with_dv_info = this; in GetDynamicValueType()
3081 lldb::Format ValueObject::GetFormat() const { in GetFormat()
3082 const ValueObject *with_fmt_info = this; in GetFormat()
3091 lldb::LanguageType ValueObject::GetPreferredDisplayLanguage() { in GetPreferredDisplayLanguage()
3110 void ValueObject::SetPreferredDisplayLanguageIfNeeded(lldb::LanguageType lt) { in SetPreferredDisplayLanguageIfNeeded()
3115 bool ValueObject::CanProvideValue() { in CanProvideValue()
3125 ValueObjectSP ValueObject::Persist() { in Persist()