Lines Matching refs:ValueObject
80 ValueObject::ValueObject(ValueObject &parent) in ValueObject() function in ValueObject
91 ValueObject::ValueObject(ExecutionContextScope *exe_scope, in ValueObject() function in ValueObject
109 ValueObject::~ValueObject() = default;
111 bool ValueObject::UpdateValueIfNeeded(bool update_format) { in UpdateValueIfNeeded()
202 bool ValueObject::UpdateFormatsIfNeeded() { in UpdateFormatsIfNeeded()
229 void ValueObject::SetNeedsUpdate() { in SetNeedsUpdate()
236 void ValueObject::ClearDynamicTypeInformation() { in ClearDynamicTypeInformation()
246 CompilerType ValueObject::MaybeCalculateCompleteType() { in MaybeCalculateCompleteType()
278 DataExtractor &ValueObject::GetDataExtractor() { in GetDataExtractor()
283 const Status &ValueObject::GetError() { in GetError()
288 const char *ValueObject::GetLocationAsCStringImpl(const Value &value, in GetLocationAsCStringImpl()
332 bool ValueObject::ResolveValue(Scalar &scalar) { in ResolveValue()
350 bool ValueObject::IsLogicalTrue(Status &error) { in IsLogicalTrue()
375 ValueObjectSP ValueObject::GetChildAtIndex(size_t idx, bool can_create) { in GetChildAtIndex()
388 ValueObject *child = m_children.GetChildAtIndex(idx); in GetChildAtIndex()
396 ValueObject::GetChildAtIndexPath(llvm::ArrayRef<size_t> idxs, in GetChildAtIndexPath()
412 lldb::ValueObjectSP ValueObject::GetChildAtIndexPath( in GetChildAtIndexPath()
429 ValueObject::GetChildAtNamePath(llvm::ArrayRef<ConstString> names, in GetChildAtNamePath()
445 lldb::ValueObjectSP ValueObject::GetChildAtNamePath( in GetChildAtNamePath()
462 size_t ValueObject::GetIndexOfChildWithName(ConstString name) { in GetIndexOfChildWithName()
468 ValueObjectSP ValueObject::GetChildMemberWithName(ConstString name, in GetChildMemberWithName()
496 size_t ValueObject::GetNumChildren(uint32_t max) { in GetNumChildren()
513 bool ValueObject::MightHaveChildren() { in MightHaveChildren()
526 void ValueObject::SetNumChildren(size_t num_children) { in SetNumChildren()
531 ValueObject *ValueObject::CreateChildAtIndex(size_t idx, in CreateChildAtIndex()
534 ValueObject *valobj = nullptr; in CreateChildAtIndex()
585 bool ValueObject::GetSummaryAsCString(TypeSummaryImpl *summary_ptr, in GetSummaryAsCString()
592 bool ValueObject::GetSummaryAsCString(TypeSummaryImpl *summary_ptr, in GetSummaryAsCString()
629 const char *ValueObject::GetSummaryAsCString(lldb::LanguageType lang) { in GetSummaryAsCString()
641 bool ValueObject::GetSummaryAsCString(std::string &destination, in GetSummaryAsCString()
646 bool ValueObject::IsCStringContainer(bool check_pointer) { in IsCStringContainer()
663 size_t ValueObject::GetPointeeData(DataExtractor &data, uint32_t item_idx, in GetPointeeData()
765 uint64_t ValueObject::GetData(DataExtractor &data, Status &error) { in GetData()
783 bool ValueObject::SetData(DataExtractor &data, Status &error) { in SetData()
860 ValueObject::ReadPointedString(lldb::WritableDataBufferSP &buffer_sp, in ReadPointedString()
999 const char *ValueObject::GetObjectDescription() { in GetObjectDescription()
1036 bool ValueObject::GetValueAsCString(const lldb_private::TypeFormatImpl &format, in GetValueAsCString()
1044 bool ValueObject::GetValueAsCString(lldb::Format format, in GetValueAsCString()
1049 const char *ValueObject::GetValueAsCString() { in GetValueAsCString()
1090 uint64_t ValueObject::GetValueAsUnsigned(uint64_t fail_value, bool *success) { in GetValueAsUnsigned()
1108 int64_t ValueObject::GetValueAsSigned(int64_t fail_value, bool *success) { in GetValueAsSigned()
1130 bool ValueObject::HasSpecialPrintableRepresentation( in HasSpecialPrintableRepresentation()
1134 val_obj_display == ValueObject::eValueObjectRepresentationStyleValue) { in HasSpecialPrintableRepresentation()
1163 bool ValueObject::DumpPrintableRepresentation( in DumpPrintableRepresentation()
1171 (special == ValueObject::PrintableRepresentationSpecialCases::eAllow); in DumpPrintableRepresentation()
1176 val_obj_display == ValueObject::eValueObjectRepresentationStyleValue) { in DumpPrintableRepresentation()
1230 s, ValueObject::eValueObjectRepresentationStyleValue, in DumpPrintableRepresentation()
1271 s, ValueObject::eValueObjectRepresentationStyleValue, format); in DumpPrintableRepresentation()
1399 addr_t ValueObject::GetAddressOf(bool scalar_is_load_address, in GetAddressOf()
1436 addr_t ValueObject::GetPointerValue(AddressType *address_type) { in GetPointerValue()
1465 bool ValueObject::SetValueFromCString(const char *value_str, Status &error) { in SetValueFromCString()
1550 bool ValueObject::GetDeclaration(Declaration &decl) { in GetDeclaration()
1555 void ValueObject::AddSyntheticChild(ConstString key, in AddSyntheticChild()
1556 ValueObject *valobj) { in AddSyntheticChild()
1560 ValueObjectSP ValueObject::GetSyntheticChild(ConstString key) const { in GetSyntheticChild()
1562 std::map<ConstString, ValueObject *>::const_iterator pos = in GetSyntheticChild()
1569 bool ValueObject::IsPossibleDynamicType() { in IsPossibleDynamicType()
1578 bool ValueObject::IsRuntimeSupportValue() { in IsRuntimeSupportValue()
1595 bool ValueObject::IsNilReference() { in IsNilReference()
1602 bool ValueObject::IsUninitializedReference() { in IsUninitializedReference()
1618 ValueObjectSP ValueObject::GetSyntheticArrayMember(size_t index, in GetSyntheticArrayMember()
1628 ValueObject *synthetic_child; in GetSyntheticArrayMember()
1645 ValueObjectSP ValueObject::GetSyntheticBitFieldChild(uint32_t from, uint32_t to, in GetSyntheticBitFieldChild()
1679 ValueObjectSP ValueObject::GetSyntheticChildAtOffset( in GetSyntheticChildAtOffset()
1716 ValueObjectSP ValueObject::GetSyntheticBase(uint32_t offset, in GetSyntheticBase()
1772 ValueObject::GetSyntheticExpressionPathChild(const char *expression, in GetSyntheticExpressionPathChild()
1800 void ValueObject::CalculateSyntheticValue() { in CalculateSyntheticValue()
1821 void ValueObject::CalculateDynamicValue(DynamicValueType use_dynamic) { in CalculateDynamicValue()
1835 ValueObjectSP ValueObject::GetDynamicValue(DynamicValueType use_dynamic) { in GetDynamicValue()
1848 ValueObjectSP ValueObject::GetSyntheticValue() { in GetSyntheticValue()
1857 bool ValueObject::HasSyntheticValue() { in HasSyntheticValue()
1868 ValueObject *ValueObject::GetNonBaseClassParent() { in GetNonBaseClassParent()
1878 bool ValueObject::IsBaseClass(uint32_t &depth) { in IsBaseClass()
1893 void ValueObject::GetExpressionPath(Stream &s, in GetExpressionPath()
1939 ValueObject *parent = GetParent(); in GetExpressionPath()
1953 ValueObject *non_base_class_parent = GetNonBaseClassParent(); in GetExpressionPath()
1988 ValueObjectSP ValueObject::GetValueForExpressionPath( in GetValueForExpressionPath()
1995 ValueObject::eExpressionPathScanEndReasonUnknown; in GetValueForExpressionPath()
1997 ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath()
1999 ValueObject::eExpressionPathAftermathNothing; in GetValueForExpressionPath()
2008 *final_task_on_target == ValueObject::eExpressionPathAftermathNothing) in GetValueForExpressionPath()
2018 ValueObject::eExpressionPathAftermathDereference) { in GetValueForExpressionPath()
2024 ValueObject::eExpressionPathScanEndReasonDereferencingFailed; in GetValueForExpressionPath()
2026 *final_value_type = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath()
2030 *final_task_on_target = ValueObject::eExpressionPathAftermathNothing; in GetValueForExpressionPath()
2035 ValueObject::eExpressionPathAftermathTakeAddress) { in GetValueForExpressionPath()
2041 ValueObject::eExpressionPathScanEndReasonTakingAddressFailed; in GetValueForExpressionPath()
2043 *final_value_type = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath()
2047 *final_task_on_target = ValueObject::eExpressionPathAftermathNothing; in GetValueForExpressionPath()
2056 ValueObjectSP ValueObject::GetValueForExpressionPath_Impl( in GetValueForExpressionPath_Impl()
2081 *reason_to_stop = ValueObject::eExpressionPathScanEndReasonEndOfString; in GetValueForExpressionPath_Impl()
2095 ValueObject::eExpressionPathScanEndReasonArrowInsteadOfDot; in GetValueForExpressionPath_Impl()
2096 *final_result = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath_Impl()
2105 ValueObject::eExpressionPathScanEndReasonFragileIVarNotAllowed; in GetValueForExpressionPath_Impl()
2106 *final_result = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath_Impl()
2111 ValueObject::eExpressionPathScanEndReasonUnexpectedSymbol; in GetValueForExpressionPath_Impl()
2112 *final_result = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath_Impl()
2127 ValueObject::eExpressionPathScanEndReasonDotInsteadOfArrow; in GetValueForExpressionPath_Impl()
2128 *final_result = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath_Impl()
2145 ValueObject::eExpressionPathScanEndReasonEndOfString; in GetValueForExpressionPath_Impl()
2146 *final_result = ValueObject::eExpressionPathEndResultTypePlain; in GetValueForExpressionPath_Impl()
2194 ValueObject::eExpressionPathScanEndReasonEndOfString; in GetValueForExpressionPath_Impl()
2195 *final_result = ValueObject::eExpressionPathEndResultTypePlain; in GetValueForExpressionPath_Impl()
2199 ValueObject::eExpressionPathScanEndReasonNoSuchChild; in GetValueForExpressionPath_Impl()
2200 *final_result = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath_Impl()
2215 *final_result = ValueObject::eExpressionPathEndResultTypePlain; in GetValueForExpressionPath_Impl()
2264 *final_result = ValueObject::eExpressionPathEndResultTypePlain; in GetValueForExpressionPath_Impl()
2268 ValueObject::eExpressionPathScanEndReasonNoSuchChild; in GetValueForExpressionPath_Impl()
2269 *final_result = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath_Impl()
2289 ValueObject::eExpressionPathScanEndReasonRangeOperatorInvalid; in GetValueForExpressionPath_Impl()
2290 *final_result = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath_Impl()
2298 ValueObject::eExpressionPathScanEndReasonRangeOperatorNotAllowed; in GetValueForExpressionPath_Impl()
2299 *final_result = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath_Impl()
2308 ValueObject::eExpressionPathScanEndReasonEmptyRangeNotAllowed; in GetValueForExpressionPath_Impl()
2309 *final_result = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath_Impl()
2315 ValueObject::eExpressionPathScanEndReasonArrayRangeOperatorMet; in GetValueForExpressionPath_Impl()
2317 ValueObject::eExpressionPathEndResultTypeUnboundedRange; in GetValueForExpressionPath_Impl()
2327 ValueObject::eExpressionPathScanEndReasonUnexpectedSymbol; in GetValueForExpressionPath_Impl()
2328 *final_result = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath_Impl()
2346 ValueObject::eExpressionPathScanEndReasonUnexpectedSymbol; in GetValueForExpressionPath_Impl()
2347 *final_result = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath_Impl()
2365 *final_result = ValueObject::eExpressionPathEndResultTypePlain; in GetValueForExpressionPath_Impl()
2369 ValueObject::eExpressionPathScanEndReasonNoSuchChild; in GetValueForExpressionPath_Impl()
2370 *final_result = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath_Impl()
2375 ValueObject:: in GetValueForExpressionPath_Impl()
2390 ValueObject::eExpressionPathScanEndReasonDereferencingFailed; in GetValueForExpressionPath_Impl()
2391 *final_result = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath_Impl()
2413 ValueObject::eExpressionPathScanEndReasonNoSuchChild; in GetValueForExpressionPath_Impl()
2414 *final_result = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath_Impl()
2419 *final_result = ValueObject::eExpressionPathEndResultTypePlain; in GetValueForExpressionPath_Impl()
2427 ValueObject::eExpressionPathScanEndReasonNoSuchChild; in GetValueForExpressionPath_Impl()
2428 *final_result = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath_Impl()
2433 *reason_to_stop = ValueObject:: in GetValueForExpressionPath_Impl()
2435 *final_result = ValueObject::eExpressionPathEndResultTypeBitfield; in GetValueForExpressionPath_Impl()
2442 ValueObject::eExpressionPathScanEndReasonNoSuchChild; in GetValueForExpressionPath_Impl()
2443 *final_result = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath_Impl()
2448 *final_result = ValueObject::eExpressionPathEndResultTypePlain; in GetValueForExpressionPath_Impl()
2461 ValueObject::eExpressionPathScanEndReasonSyntheticValueMissing; in GetValueForExpressionPath_Impl()
2462 *final_result = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath_Impl()
2470 ValueObject::eExpressionPathScanEndReasonSyntheticValueMissing; in GetValueForExpressionPath_Impl()
2471 *final_result = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath_Impl()
2477 ValueObject::eExpressionPathScanEndReasonNoSuchChild; in GetValueForExpressionPath_Impl()
2478 *final_result = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath_Impl()
2483 *final_result = ValueObject::eExpressionPathEndResultTypePlain; in GetValueForExpressionPath_Impl()
2488 ValueObject::eExpressionPathScanEndReasonNoSuchChild; in GetValueForExpressionPath_Impl()
2489 *final_result = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath_Impl()
2500 ValueObject::eExpressionPathScanEndReasonUnexpectedSymbol; in GetValueForExpressionPath_Impl()
2501 *final_result = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath_Impl()
2514 ValueObject::eExpressionPathScanEndReasonNoSuchChild; in GetValueForExpressionPath_Impl()
2515 *final_result = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath_Impl()
2518 *reason_to_stop = ValueObject:: in GetValueForExpressionPath_Impl()
2520 *final_result = ValueObject::eExpressionPathEndResultTypeBitfield; in GetValueForExpressionPath_Impl()
2529 ValueObject::eExpressionPathAftermathDereference && in GetValueForExpressionPath_Impl()
2535 ValueObject::eExpressionPathScanEndReasonDereferencingFailed; in GetValueForExpressionPath_Impl()
2536 *final_result = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath_Impl()
2539 *what_next = ValueObject::eExpressionPathAftermathNothing; in GetValueForExpressionPath_Impl()
2544 ValueObject::eExpressionPathScanEndReasonArrayRangeOperatorMet; in GetValueForExpressionPath_Impl()
2545 *final_result = ValueObject::eExpressionPathEndResultTypeBoundedRange; in GetValueForExpressionPath_Impl()
2554 ValueObject::eExpressionPathScanEndReasonUnexpectedSymbol; in GetValueForExpressionPath_Impl()
2555 *final_result = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath_Impl()
2562 void ValueObject::Dump(Stream &s) { Dump(s, DumpValueObjectOptions(*this)); } in Dump()
2564 void ValueObject::Dump(Stream &s, const DumpValueObjectOptions &options) { in Dump()
2569 ValueObjectSP ValueObject::CreateConstantValue(ConstString name) { in CreateConstantValue()
2598 ValueObjectSP ValueObject::GetQualifiedRepresentationIfAvailable( in GetQualifiedRepresentationIfAvailable()
2633 ValueObjectSP ValueObject::Dereference(Status &error) { in Dereference()
2722 ValueObjectSP ValueObject::AddressOf(Status &error) { in AddressOf()
2765 ValueObjectSP ValueObject::Cast(const CompilerType &compiler_type) { in Cast()
2769 lldb::ValueObjectSP ValueObject::Clone(ConstString new_name) { in Clone()
2773 ValueObjectSP ValueObject::CastPointerType(const char *name, in CastPointerType()
2788 ValueObjectSP ValueObject::CastPointerType(const char *name, TypeSP &type_sp) { in CastPointerType()
2802 ValueObject::EvaluationPoint::EvaluationPoint() : m_mod_id(), m_exe_ctx_ref() {} in EvaluationPoint()
2804 ValueObject::EvaluationPoint::EvaluationPoint(ExecutionContextScope *exe_scope, in EvaluationPoint()
2841 ValueObject::EvaluationPoint::EvaluationPoint( in EvaluationPoint()
2842 const ValueObject::EvaluationPoint &rhs) in EvaluationPoint()
2845 ValueObject::EvaluationPoint::~EvaluationPoint() = default;
2855 bool ValueObject::EvaluationPoint::SyncWithProcessState( in SyncWithProcessState()
2922 void ValueObject::EvaluationPoint::SetUpdated() { in SetUpdated()
2929 void ValueObject::ClearUserVisibleData(uint32_t clear_mask) { in ClearUserVisibleData()
2953 SymbolContextScope *ValueObject::GetSymbolContextScope() { in GetSymbolContextScope()
2962 ValueObject::CreateValueObjectFromExpression(llvm::StringRef name, in CreateValueObjectFromExpression()
2969 lldb::ValueObjectSP ValueObject::CreateValueObjectFromExpression( in CreateValueObjectFromExpression()
2985 lldb::ValueObjectSP ValueObject::CreateValueObjectFromAddress( in CreateValueObjectFromAddress()
3011 lldb::ValueObjectSP ValueObject::CreateValueObjectFromData( in CreateValueObjectFromData()
3024 ModuleSP ValueObject::GetModule() { in GetModule()
3025 ValueObject *root(GetRoot()); in GetModule()
3031 ValueObject *ValueObject::GetRoot() { in GetRoot()
3034 return (m_root = FollowParentChain([](ValueObject *vo) -> bool { in GetRoot()
3039 ValueObject *
3040 ValueObject::FollowParentChain(std::function<bool(ValueObject *)> f) { in FollowParentChain()
3041 ValueObject *vo = this; in FollowParentChain()
3050 AddressType ValueObject::GetAddressTypeOfChildren() { in GetAddressTypeOfChildren()
3052 ValueObject *root(GetRoot()); in GetAddressTypeOfChildren()
3059 lldb::DynamicValueType ValueObject::GetDynamicValueType() { in GetDynamicValueType()
3060 ValueObject *with_dv_info = this; in GetDynamicValueType()
3069 lldb::Format ValueObject::GetFormat() const { in GetFormat()
3070 const ValueObject *with_fmt_info = this; in GetFormat()
3079 lldb::LanguageType ValueObject::GetPreferredDisplayLanguage() { in GetPreferredDisplayLanguage()
3098 void ValueObject::SetPreferredDisplayLanguageIfNeeded(lldb::LanguageType lt) { in SetPreferredDisplayLanguageIfNeeded()
3103 bool ValueObject::CanProvideValue() { in CanProvideValue()
3113 ValueObjectSP ValueObject::Persist() { in Persist()