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()
858 ValueObject::ReadPointedString(lldb::DataBufferSP &buffer_sp, Status &error, in ReadPointedString()
997 const char *ValueObject::GetObjectDescription() { in GetObjectDescription()
1034 bool ValueObject::GetValueAsCString(const lldb_private::TypeFormatImpl &format, in GetValueAsCString()
1042 bool ValueObject::GetValueAsCString(lldb::Format format, in GetValueAsCString()
1047 const char *ValueObject::GetValueAsCString() { in GetValueAsCString()
1088 uint64_t ValueObject::GetValueAsUnsigned(uint64_t fail_value, bool *success) { in GetValueAsUnsigned()
1106 int64_t ValueObject::GetValueAsSigned(int64_t fail_value, bool *success) { in GetValueAsSigned()
1128 bool ValueObject::HasSpecialPrintableRepresentation( in HasSpecialPrintableRepresentation()
1132 val_obj_display == ValueObject::eValueObjectRepresentationStyleValue) { in HasSpecialPrintableRepresentation()
1161 bool ValueObject::DumpPrintableRepresentation( in DumpPrintableRepresentation()
1169 (special == ValueObject::PrintableRepresentationSpecialCases::eAllow); in DumpPrintableRepresentation()
1174 val_obj_display == ValueObject::eValueObjectRepresentationStyleValue) { in DumpPrintableRepresentation()
1227 s, ValueObject::eValueObjectRepresentationStyleValue, in DumpPrintableRepresentation()
1268 s, ValueObject::eValueObjectRepresentationStyleValue, format); in DumpPrintableRepresentation()
1396 addr_t ValueObject::GetAddressOf(bool scalar_is_load_address, in GetAddressOf()
1433 addr_t ValueObject::GetPointerValue(AddressType *address_type) { in GetPointerValue()
1462 bool ValueObject::SetValueFromCString(const char *value_str, Status &error) { in SetValueFromCString()
1547 bool ValueObject::GetDeclaration(Declaration &decl) { in GetDeclaration()
1552 void ValueObject::AddSyntheticChild(ConstString key, in AddSyntheticChild()
1553 ValueObject *valobj) { in AddSyntheticChild()
1557 ValueObjectSP ValueObject::GetSyntheticChild(ConstString key) const { in GetSyntheticChild()
1559 std::map<ConstString, ValueObject *>::const_iterator pos = in GetSyntheticChild()
1566 bool ValueObject::IsPossibleDynamicType() { in IsPossibleDynamicType()
1575 bool ValueObject::IsRuntimeSupportValue() { in IsRuntimeSupportValue()
1592 bool ValueObject::IsNilReference() { in IsNilReference()
1599 bool ValueObject::IsUninitializedReference() { in IsUninitializedReference()
1615 ValueObjectSP ValueObject::GetSyntheticArrayMember(size_t index, in GetSyntheticArrayMember()
1625 ValueObject *synthetic_child; in GetSyntheticArrayMember()
1642 ValueObjectSP ValueObject::GetSyntheticBitFieldChild(uint32_t from, uint32_t to, in GetSyntheticBitFieldChild()
1676 ValueObjectSP ValueObject::GetSyntheticChildAtOffset( in GetSyntheticChildAtOffset()
1713 ValueObjectSP ValueObject::GetSyntheticBase(uint32_t offset, in GetSyntheticBase()
1769 ValueObject::GetSyntheticExpressionPathChild(const char *expression, in GetSyntheticExpressionPathChild()
1797 void ValueObject::CalculateSyntheticValue() { in CalculateSyntheticValue()
1818 void ValueObject::CalculateDynamicValue(DynamicValueType use_dynamic) { in CalculateDynamicValue()
1832 ValueObjectSP ValueObject::GetDynamicValue(DynamicValueType use_dynamic) { in GetDynamicValue()
1845 ValueObjectSP ValueObject::GetSyntheticValue() { in GetSyntheticValue()
1854 bool ValueObject::HasSyntheticValue() { in HasSyntheticValue()
1865 ValueObject *ValueObject::GetNonBaseClassParent() { in GetNonBaseClassParent()
1875 bool ValueObject::IsBaseClass(uint32_t &depth) { in IsBaseClass()
1890 void ValueObject::GetExpressionPath(Stream &s, in GetExpressionPath()
1936 ValueObject *parent = GetParent(); in GetExpressionPath()
1950 ValueObject *non_base_class_parent = GetNonBaseClassParent(); in GetExpressionPath()
1985 ValueObjectSP ValueObject::GetValueForExpressionPath( in GetValueForExpressionPath()
1992 ValueObject::eExpressionPathScanEndReasonUnknown; in GetValueForExpressionPath()
1994 ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath()
1996 ValueObject::eExpressionPathAftermathNothing; in GetValueForExpressionPath()
2005 *final_task_on_target == ValueObject::eExpressionPathAftermathNothing) in GetValueForExpressionPath()
2015 ValueObject::eExpressionPathAftermathDereference) { in GetValueForExpressionPath()
2021 ValueObject::eExpressionPathScanEndReasonDereferencingFailed; in GetValueForExpressionPath()
2023 *final_value_type = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath()
2027 *final_task_on_target = ValueObject::eExpressionPathAftermathNothing; in GetValueForExpressionPath()
2032 ValueObject::eExpressionPathAftermathTakeAddress) { in GetValueForExpressionPath()
2038 ValueObject::eExpressionPathScanEndReasonTakingAddressFailed; in GetValueForExpressionPath()
2040 *final_value_type = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath()
2044 *final_task_on_target = ValueObject::eExpressionPathAftermathNothing; in GetValueForExpressionPath()
2053 ValueObjectSP ValueObject::GetValueForExpressionPath_Impl( in GetValueForExpressionPath_Impl()
2078 *reason_to_stop = ValueObject::eExpressionPathScanEndReasonEndOfString; in GetValueForExpressionPath_Impl()
2092 ValueObject::eExpressionPathScanEndReasonArrowInsteadOfDot; in GetValueForExpressionPath_Impl()
2093 *final_result = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath_Impl()
2102 ValueObject::eExpressionPathScanEndReasonFragileIVarNotAllowed; in GetValueForExpressionPath_Impl()
2103 *final_result = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath_Impl()
2108 ValueObject::eExpressionPathScanEndReasonUnexpectedSymbol; in GetValueForExpressionPath_Impl()
2109 *final_result = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath_Impl()
2124 ValueObject::eExpressionPathScanEndReasonDotInsteadOfArrow; in GetValueForExpressionPath_Impl()
2125 *final_result = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath_Impl()
2142 ValueObject::eExpressionPathScanEndReasonEndOfString; in GetValueForExpressionPath_Impl()
2143 *final_result = ValueObject::eExpressionPathEndResultTypePlain; in GetValueForExpressionPath_Impl()
2191 ValueObject::eExpressionPathScanEndReasonEndOfString; in GetValueForExpressionPath_Impl()
2192 *final_result = ValueObject::eExpressionPathEndResultTypePlain; in GetValueForExpressionPath_Impl()
2196 ValueObject::eExpressionPathScanEndReasonNoSuchChild; in GetValueForExpressionPath_Impl()
2197 *final_result = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath_Impl()
2212 *final_result = ValueObject::eExpressionPathEndResultTypePlain; in GetValueForExpressionPath_Impl()
2261 *final_result = ValueObject::eExpressionPathEndResultTypePlain; in GetValueForExpressionPath_Impl()
2265 ValueObject::eExpressionPathScanEndReasonNoSuchChild; in GetValueForExpressionPath_Impl()
2266 *final_result = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath_Impl()
2286 ValueObject::eExpressionPathScanEndReasonRangeOperatorInvalid; in GetValueForExpressionPath_Impl()
2287 *final_result = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath_Impl()
2295 ValueObject::eExpressionPathScanEndReasonRangeOperatorNotAllowed; in GetValueForExpressionPath_Impl()
2296 *final_result = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath_Impl()
2305 ValueObject::eExpressionPathScanEndReasonEmptyRangeNotAllowed; in GetValueForExpressionPath_Impl()
2306 *final_result = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath_Impl()
2312 ValueObject::eExpressionPathScanEndReasonArrayRangeOperatorMet; in GetValueForExpressionPath_Impl()
2314 ValueObject::eExpressionPathEndResultTypeUnboundedRange; in GetValueForExpressionPath_Impl()
2324 ValueObject::eExpressionPathScanEndReasonUnexpectedSymbol; in GetValueForExpressionPath_Impl()
2325 *final_result = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath_Impl()
2343 ValueObject::eExpressionPathScanEndReasonUnexpectedSymbol; in GetValueForExpressionPath_Impl()
2344 *final_result = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath_Impl()
2362 *final_result = ValueObject::eExpressionPathEndResultTypePlain; in GetValueForExpressionPath_Impl()
2366 ValueObject::eExpressionPathScanEndReasonNoSuchChild; in GetValueForExpressionPath_Impl()
2367 *final_result = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath_Impl()
2372 ValueObject:: in GetValueForExpressionPath_Impl()
2387 ValueObject::eExpressionPathScanEndReasonDereferencingFailed; in GetValueForExpressionPath_Impl()
2388 *final_result = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath_Impl()
2410 ValueObject::eExpressionPathScanEndReasonNoSuchChild; in GetValueForExpressionPath_Impl()
2411 *final_result = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath_Impl()
2416 *final_result = ValueObject::eExpressionPathEndResultTypePlain; in GetValueForExpressionPath_Impl()
2424 ValueObject::eExpressionPathScanEndReasonNoSuchChild; in GetValueForExpressionPath_Impl()
2425 *final_result = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath_Impl()
2430 *reason_to_stop = ValueObject:: in GetValueForExpressionPath_Impl()
2432 *final_result = ValueObject::eExpressionPathEndResultTypeBitfield; in GetValueForExpressionPath_Impl()
2439 ValueObject::eExpressionPathScanEndReasonNoSuchChild; in GetValueForExpressionPath_Impl()
2440 *final_result = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath_Impl()
2445 *final_result = ValueObject::eExpressionPathEndResultTypePlain; in GetValueForExpressionPath_Impl()
2458 ValueObject::eExpressionPathScanEndReasonSyntheticValueMissing; in GetValueForExpressionPath_Impl()
2459 *final_result = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath_Impl()
2467 ValueObject::eExpressionPathScanEndReasonSyntheticValueMissing; in GetValueForExpressionPath_Impl()
2468 *final_result = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath_Impl()
2474 ValueObject::eExpressionPathScanEndReasonNoSuchChild; in GetValueForExpressionPath_Impl()
2475 *final_result = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath_Impl()
2480 *final_result = ValueObject::eExpressionPathEndResultTypePlain; in GetValueForExpressionPath_Impl()
2485 ValueObject::eExpressionPathScanEndReasonNoSuchChild; in GetValueForExpressionPath_Impl()
2486 *final_result = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath_Impl()
2497 ValueObject::eExpressionPathScanEndReasonUnexpectedSymbol; in GetValueForExpressionPath_Impl()
2498 *final_result = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath_Impl()
2511 ValueObject::eExpressionPathScanEndReasonNoSuchChild; in GetValueForExpressionPath_Impl()
2512 *final_result = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath_Impl()
2515 *reason_to_stop = ValueObject:: in GetValueForExpressionPath_Impl()
2517 *final_result = ValueObject::eExpressionPathEndResultTypeBitfield; in GetValueForExpressionPath_Impl()
2526 ValueObject::eExpressionPathAftermathDereference && in GetValueForExpressionPath_Impl()
2532 ValueObject::eExpressionPathScanEndReasonDereferencingFailed; in GetValueForExpressionPath_Impl()
2533 *final_result = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath_Impl()
2536 *what_next = ValueObject::eExpressionPathAftermathNothing; in GetValueForExpressionPath_Impl()
2541 ValueObject::eExpressionPathScanEndReasonArrayRangeOperatorMet; in GetValueForExpressionPath_Impl()
2542 *final_result = ValueObject::eExpressionPathEndResultTypeBoundedRange; in GetValueForExpressionPath_Impl()
2551 ValueObject::eExpressionPathScanEndReasonUnexpectedSymbol; in GetValueForExpressionPath_Impl()
2552 *final_result = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath_Impl()
2559 void ValueObject::Dump(Stream &s) { Dump(s, DumpValueObjectOptions(*this)); } in Dump()
2561 void ValueObject::Dump(Stream &s, const DumpValueObjectOptions &options) { in Dump()
2566 ValueObjectSP ValueObject::CreateConstantValue(ConstString name) { in CreateConstantValue()
2595 ValueObjectSP ValueObject::GetQualifiedRepresentationIfAvailable( in GetQualifiedRepresentationIfAvailable()
2630 ValueObjectSP ValueObject::Dereference(Status &error) { in Dereference()
2719 ValueObjectSP ValueObject::AddressOf(Status &error) { in AddressOf()
2762 ValueObjectSP ValueObject::Cast(const CompilerType &compiler_type) { in Cast()
2766 lldb::ValueObjectSP ValueObject::Clone(ConstString new_name) { in Clone()
2770 ValueObjectSP ValueObject::CastPointerType(const char *name, in CastPointerType()
2785 ValueObjectSP ValueObject::CastPointerType(const char *name, TypeSP &type_sp) { in CastPointerType()
2799 ValueObject::EvaluationPoint::EvaluationPoint() : m_mod_id(), m_exe_ctx_ref() {} in EvaluationPoint()
2801 ValueObject::EvaluationPoint::EvaluationPoint(ExecutionContextScope *exe_scope, in EvaluationPoint()
2838 ValueObject::EvaluationPoint::EvaluationPoint( in EvaluationPoint()
2839 const ValueObject::EvaluationPoint &rhs) in EvaluationPoint()
2842 ValueObject::EvaluationPoint::~EvaluationPoint() = default;
2852 bool ValueObject::EvaluationPoint::SyncWithProcessState( in SyncWithProcessState()
2919 void ValueObject::EvaluationPoint::SetUpdated() { in SetUpdated()
2926 void ValueObject::ClearUserVisibleData(uint32_t clear_mask) { in ClearUserVisibleData()
2950 SymbolContextScope *ValueObject::GetSymbolContextScope() { in GetSymbolContextScope()
2959 ValueObject::CreateValueObjectFromExpression(llvm::StringRef name, in CreateValueObjectFromExpression()
2966 lldb::ValueObjectSP ValueObject::CreateValueObjectFromExpression( in CreateValueObjectFromExpression()
2982 lldb::ValueObjectSP ValueObject::CreateValueObjectFromAddress( in CreateValueObjectFromAddress()
3008 lldb::ValueObjectSP ValueObject::CreateValueObjectFromData( in CreateValueObjectFromData()
3021 ModuleSP ValueObject::GetModule() { in GetModule()
3022 ValueObject *root(GetRoot()); in GetModule()
3028 ValueObject *ValueObject::GetRoot() { in GetRoot()
3031 return (m_root = FollowParentChain([](ValueObject *vo) -> bool { in GetRoot()
3036 ValueObject *
3037 ValueObject::FollowParentChain(std::function<bool(ValueObject *)> f) { in FollowParentChain()
3038 ValueObject *vo = this; in FollowParentChain()
3047 AddressType ValueObject::GetAddressTypeOfChildren() { in GetAddressTypeOfChildren()
3049 ValueObject *root(GetRoot()); in GetAddressTypeOfChildren()
3056 lldb::DynamicValueType ValueObject::GetDynamicValueType() { in GetDynamicValueType()
3057 ValueObject *with_dv_info = this; in GetDynamicValueType()
3066 lldb::Format ValueObject::GetFormat() const { in GetFormat()
3067 const ValueObject *with_fmt_info = this; in GetFormat()
3076 lldb::LanguageType ValueObject::GetPreferredDisplayLanguage() { in GetPreferredDisplayLanguage()
3095 void ValueObject::SetPreferredDisplayLanguageIfNeeded(lldb::LanguageType lt) { in SetPreferredDisplayLanguageIfNeeded()
3100 bool ValueObject::CanProvideValue() { in CanProvideValue()
3110 ValueObjectSP ValueObject::Persist() { in Persist()