Lines Matching refs:ValueObject

82 ValueObject::ValueObject(ValueObject &parent)  in ValueObject()  function in ValueObject
93 ValueObject::ValueObject(ExecutionContextScope *exe_scope, in ValueObject() function in ValueObject
111 ValueObject::~ValueObject() = default;
113 bool ValueObject::UpdateValueIfNeeded(bool update_format) { in UpdateValueIfNeeded()
204 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::GetChildAtNamePath(llvm::ArrayRef<llvm::StringRef> names) { in GetChildAtNamePath()
409 size_t ValueObject::GetIndexOfChildWithName(llvm::StringRef name) { in GetIndexOfChildWithName()
415 ValueObjectSP ValueObject::GetChildMemberWithName(llvm::StringRef name, in GetChildMemberWithName()
443 size_t ValueObject::GetNumChildren(uint32_t max) { in GetNumChildren()
460 bool ValueObject::MightHaveChildren() { in MightHaveChildren()
473 void ValueObject::SetNumChildren(size_t num_children) { in SetNumChildren()
478 ValueObject *ValueObject::CreateChildAtIndex(size_t idx, in CreateChildAtIndex()
481 ValueObject *valobj = nullptr; in CreateChildAtIndex()
532 bool ValueObject::GetSummaryAsCString(TypeSummaryImpl *summary_ptr, in GetSummaryAsCString()
539 bool ValueObject::GetSummaryAsCString(TypeSummaryImpl *summary_ptr, in GetSummaryAsCString()
584 const char *ValueObject::GetSummaryAsCString(lldb::LanguageType lang) { in GetSummaryAsCString()
596 bool ValueObject::GetSummaryAsCString(std::string &destination, in GetSummaryAsCString()
601 bool ValueObject::IsCStringContainer(bool check_pointer) { in IsCStringContainer()
618 size_t ValueObject::GetPointeeData(DataExtractor &data, uint32_t item_idx, in GetPointeeData()
720 uint64_t ValueObject::GetData(DataExtractor &data, Status &error) { in GetData()
738 bool ValueObject::SetData(DataExtractor &data, Status &error) { in SetData()
815 ValueObject::ReadPointedString(lldb::WritableDataBufferSP &buffer_sp, in ReadPointedString()
952 const char *ValueObject::GetObjectDescription() { in GetObjectDescription()
989 bool ValueObject::GetValueAsCString(const lldb_private::TypeFormatImpl &format, in GetValueAsCString()
997 bool ValueObject::GetValueAsCString(lldb::Format format, in GetValueAsCString()
1002 const char *ValueObject::GetValueAsCString() { in GetValueAsCString()
1043 uint64_t ValueObject::GetValueAsUnsigned(uint64_t fail_value, bool *success) { in GetValueAsUnsigned()
1061 int64_t ValueObject::GetValueAsSigned(int64_t fail_value, bool *success) { in GetValueAsSigned()
1083 bool ValueObject::HasSpecialPrintableRepresentation( in HasSpecialPrintableRepresentation()
1087 val_obj_display == ValueObject::eValueObjectRepresentationStyleValue) { in HasSpecialPrintableRepresentation()
1116 bool ValueObject::DumpPrintableRepresentation( in DumpPrintableRepresentation()
1133 (special == ValueObject::PrintableRepresentationSpecialCases::eAllow); in DumpPrintableRepresentation()
1138 val_obj_display == ValueObject::eValueObjectRepresentationStyleValue) { in DumpPrintableRepresentation()
1193 s, ValueObject::eValueObjectRepresentationStyleValue, in DumpPrintableRepresentation()
1234 s, ValueObject::eValueObjectRepresentationStyleValue, format); in DumpPrintableRepresentation()
1364 addr_t ValueObject::GetAddressOf(bool scalar_is_load_address, in GetAddressOf()
1401 addr_t ValueObject::GetPointerValue(AddressType *address_type) { in GetPointerValue()
1430 bool ValueObject::SetValueFromCString(const char *value_str, Status &error) { in SetValueFromCString()
1515 bool ValueObject::GetDeclaration(Declaration &decl) { in GetDeclaration()
1520 void ValueObject::AddSyntheticChild(ConstString key, in AddSyntheticChild()
1521 ValueObject *valobj) { in AddSyntheticChild()
1525 ValueObjectSP ValueObject::GetSyntheticChild(ConstString key) const { in GetSyntheticChild()
1527 std::map<ConstString, ValueObject *>::const_iterator pos = in GetSyntheticChild()
1534 bool ValueObject::IsPossibleDynamicType() { in IsPossibleDynamicType()
1543 bool ValueObject::IsRuntimeSupportValue() { in IsRuntimeSupportValue()
1560 bool ValueObject::IsNilReference() { in IsNilReference()
1567 bool ValueObject::IsUninitializedReference() { in IsUninitializedReference()
1583 ValueObjectSP ValueObject::GetSyntheticArrayMember(size_t index, in GetSyntheticArrayMember()
1597 ValueObject *synthetic_child = CreateChildAtIndex(0, true, index); in GetSyntheticArrayMember()
1610 ValueObjectSP ValueObject::GetSyntheticBitFieldChild(uint32_t from, uint32_t to, in GetSyntheticBitFieldChild()
1646 ValueObjectSP ValueObject::GetSyntheticChildAtOffset( in GetSyntheticChildAtOffset()
1682 ValueObjectSP ValueObject::GetSyntheticBase(uint32_t offset, in GetSyntheticBase()
1738 ValueObject::GetSyntheticExpressionPathChild(const char *expression, in GetSyntheticExpressionPathChild()
1766 void ValueObject::CalculateSyntheticValue() { in CalculateSyntheticValue()
1787 void ValueObject::CalculateDynamicValue(DynamicValueType use_dynamic) { in CalculateDynamicValue()
1801 ValueObjectSP ValueObject::GetDynamicValue(DynamicValueType use_dynamic) { in GetDynamicValue()
1814 ValueObjectSP ValueObject::GetSyntheticValue() { in GetSyntheticValue()
1823 bool ValueObject::HasSyntheticValue() { in HasSyntheticValue()
1834 ValueObject *ValueObject::GetNonBaseClassParent() { in GetNonBaseClassParent()
1844 bool ValueObject::IsBaseClass(uint32_t &depth) { in IsBaseClass()
1859 void ValueObject::GetExpressionPath(Stream &s, in GetExpressionPath()
1905 ValueObject *parent = GetParent(); in GetExpressionPath()
1919 ValueObject *non_base_class_parent = GetNonBaseClassParent(); in GetExpressionPath()
1954 ValueObjectSP ValueObject::GetValueForExpressionPath( in GetValueForExpressionPath()
2011 ValueObjectSP ValueObject::GetValueForExpressionPath_Impl( in GetValueForExpressionPath_Impl()
2036 *reason_to_stop = ValueObject::eExpressionPathScanEndReasonEndOfString; in GetValueForExpressionPath_Impl()
2050 ValueObject::eExpressionPathScanEndReasonArrowInsteadOfDot; in GetValueForExpressionPath_Impl()
2051 *final_result = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath_Impl()
2060 ValueObject::eExpressionPathScanEndReasonFragileIVarNotAllowed; in GetValueForExpressionPath_Impl()
2061 *final_result = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath_Impl()
2066 ValueObject::eExpressionPathScanEndReasonUnexpectedSymbol; in GetValueForExpressionPath_Impl()
2067 *final_result = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath_Impl()
2082 ValueObject::eExpressionPathScanEndReasonDotInsteadOfArrow; in GetValueForExpressionPath_Impl()
2083 *final_result = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath_Impl()
2099 ValueObject::eExpressionPathScanEndReasonEndOfString; in GetValueForExpressionPath_Impl()
2100 *final_result = ValueObject::eExpressionPathEndResultTypePlain; in GetValueForExpressionPath_Impl()
2148 ValueObject::eExpressionPathScanEndReasonEndOfString; in GetValueForExpressionPath_Impl()
2149 *final_result = ValueObject::eExpressionPathEndResultTypePlain; in GetValueForExpressionPath_Impl()
2153 ValueObject::eExpressionPathScanEndReasonNoSuchChild; in GetValueForExpressionPath_Impl()
2154 *final_result = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath_Impl()
2168 *final_result = ValueObject::eExpressionPathEndResultTypePlain; in GetValueForExpressionPath_Impl()
2217 *final_result = ValueObject::eExpressionPathEndResultTypePlain; in GetValueForExpressionPath_Impl()
2221 ValueObject::eExpressionPathScanEndReasonNoSuchChild; in GetValueForExpressionPath_Impl()
2222 *final_result = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath_Impl()
2242 ValueObject::eExpressionPathScanEndReasonRangeOperatorInvalid; in GetValueForExpressionPath_Impl()
2243 *final_result = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath_Impl()
2251 ValueObject::eExpressionPathScanEndReasonRangeOperatorNotAllowed; in GetValueForExpressionPath_Impl()
2252 *final_result = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath_Impl()
2261 ValueObject::eExpressionPathScanEndReasonEmptyRangeNotAllowed; in GetValueForExpressionPath_Impl()
2262 *final_result = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath_Impl()
2268 ValueObject::eExpressionPathScanEndReasonArrayRangeOperatorMet; in GetValueForExpressionPath_Impl()
2270 ValueObject::eExpressionPathEndResultTypeUnboundedRange; in GetValueForExpressionPath_Impl()
2280 ValueObject::eExpressionPathScanEndReasonUnexpectedSymbol; in GetValueForExpressionPath_Impl()
2281 *final_result = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath_Impl()
2299 ValueObject::eExpressionPathScanEndReasonUnexpectedSymbol; in GetValueForExpressionPath_Impl()
2300 *final_result = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath_Impl()
2318 *final_result = ValueObject::eExpressionPathEndResultTypePlain; in GetValueForExpressionPath_Impl()
2322 ValueObject::eExpressionPathScanEndReasonNoSuchChild; in GetValueForExpressionPath_Impl()
2323 *final_result = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath_Impl()
2328 ValueObject:: in GetValueForExpressionPath_Impl()
2343 ValueObject::eExpressionPathScanEndReasonDereferencingFailed; in GetValueForExpressionPath_Impl()
2344 *final_result = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath_Impl()
2366 ValueObject::eExpressionPathScanEndReasonNoSuchChild; in GetValueForExpressionPath_Impl()
2367 *final_result = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath_Impl()
2372 *final_result = ValueObject::eExpressionPathEndResultTypePlain; in GetValueForExpressionPath_Impl()
2380 ValueObject::eExpressionPathScanEndReasonNoSuchChild; in GetValueForExpressionPath_Impl()
2381 *final_result = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath_Impl()
2386 *reason_to_stop = ValueObject:: in GetValueForExpressionPath_Impl()
2388 *final_result = ValueObject::eExpressionPathEndResultTypeBitfield; in GetValueForExpressionPath_Impl()
2395 ValueObject::eExpressionPathScanEndReasonNoSuchChild; in GetValueForExpressionPath_Impl()
2396 *final_result = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath_Impl()
2401 *final_result = ValueObject::eExpressionPathEndResultTypePlain; in GetValueForExpressionPath_Impl()
2414 ValueObject::eExpressionPathScanEndReasonSyntheticValueMissing; in GetValueForExpressionPath_Impl()
2415 *final_result = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath_Impl()
2423 ValueObject::eExpressionPathScanEndReasonSyntheticValueMissing; in GetValueForExpressionPath_Impl()
2424 *final_result = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath_Impl()
2430 ValueObject::eExpressionPathScanEndReasonNoSuchChild; in GetValueForExpressionPath_Impl()
2431 *final_result = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath_Impl()
2436 *final_result = ValueObject::eExpressionPathEndResultTypePlain; in GetValueForExpressionPath_Impl()
2441 ValueObject::eExpressionPathScanEndReasonNoSuchChild; in GetValueForExpressionPath_Impl()
2442 *final_result = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath_Impl()
2453 ValueObject::eExpressionPathScanEndReasonUnexpectedSymbol; in GetValueForExpressionPath_Impl()
2454 *final_result = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath_Impl()
2467 ValueObject::eExpressionPathScanEndReasonNoSuchChild; in GetValueForExpressionPath_Impl()
2468 *final_result = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath_Impl()
2471 *reason_to_stop = ValueObject:: in GetValueForExpressionPath_Impl()
2473 *final_result = ValueObject::eExpressionPathEndResultTypeBitfield; in GetValueForExpressionPath_Impl()
2482 ValueObject::eExpressionPathAftermathDereference && in GetValueForExpressionPath_Impl()
2488 ValueObject::eExpressionPathScanEndReasonDereferencingFailed; in GetValueForExpressionPath_Impl()
2489 *final_result = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath_Impl()
2492 *what_next = ValueObject::eExpressionPathAftermathNothing; in GetValueForExpressionPath_Impl()
2497 ValueObject::eExpressionPathScanEndReasonArrayRangeOperatorMet; in GetValueForExpressionPath_Impl()
2498 *final_result = ValueObject::eExpressionPathEndResultTypeBoundedRange; in GetValueForExpressionPath_Impl()
2507 ValueObject::eExpressionPathScanEndReasonUnexpectedSymbol; in GetValueForExpressionPath_Impl()
2508 *final_result = ValueObject::eExpressionPathEndResultTypeInvalid; in GetValueForExpressionPath_Impl()
2515 void ValueObject::Dump(Stream &s) { Dump(s, DumpValueObjectOptions(*this)); } in Dump()
2517 void ValueObject::Dump(Stream &s, const DumpValueObjectOptions &options) { in Dump()
2522 ValueObjectSP ValueObject::CreateConstantValue(ConstString name) { in CreateConstantValue()
2551 ValueObjectSP ValueObject::GetQualifiedRepresentationIfAvailable( in GetQualifiedRepresentationIfAvailable()
2582 ValueObjectSP ValueObject::Dereference(Status &error) { in Dereference()
2671 ValueObjectSP ValueObject::AddressOf(Status &error) { in AddressOf()
2722 ValueObjectSP ValueObject::DoCast(const CompilerType &compiler_type) { in DoCast()
2726 ValueObjectSP ValueObject::Cast(const CompilerType &compiler_type) { in Cast()
2748 lldb::ValueObjectSP ValueObject::Clone(ConstString new_name) { in Clone()
2752 ValueObjectSP ValueObject::CastPointerType(const char *name, in CastPointerType()
2767 ValueObjectSP ValueObject::CastPointerType(const char *name, TypeSP &type_sp) { in CastPointerType()
2781 ValueObject::EvaluationPoint::EvaluationPoint() : m_mod_id(), m_exe_ctx_ref() {} in EvaluationPoint()
2783 ValueObject::EvaluationPoint::EvaluationPoint(ExecutionContextScope *exe_scope, in EvaluationPoint()
2820 ValueObject::EvaluationPoint::EvaluationPoint( in EvaluationPoint()
2821 const ValueObject::EvaluationPoint &rhs) in EvaluationPoint()
2824 ValueObject::EvaluationPoint::~EvaluationPoint() = default;
2834 bool ValueObject::EvaluationPoint::SyncWithProcessState( in SyncWithProcessState()
2901 void ValueObject::EvaluationPoint::SetUpdated() { in SetUpdated()
2908 void ValueObject::ClearUserVisibleData(uint32_t clear_mask) { in ClearUserVisibleData()
2932 SymbolContextScope *ValueObject::GetSymbolContextScope() { in GetSymbolContextScope()
2941 ValueObject::CreateValueObjectFromExpression(llvm::StringRef name, in CreateValueObjectFromExpression()
2948 lldb::ValueObjectSP ValueObject::CreateValueObjectFromExpression( in CreateValueObjectFromExpression()
2964 lldb::ValueObjectSP ValueObject::CreateValueObjectFromAddress( in CreateValueObjectFromAddress()
2990 lldb::ValueObjectSP ValueObject::CreateValueObjectFromData( in CreateValueObjectFromData()
3003 ModuleSP ValueObject::GetModule() { in GetModule()
3004 ValueObject *root(GetRoot()); in GetModule()
3010 ValueObject *ValueObject::GetRoot() { in GetRoot()
3013 return (m_root = FollowParentChain([](ValueObject *vo) -> bool { in GetRoot()
3018 ValueObject *
3019 ValueObject::FollowParentChain(std::function<bool(ValueObject *)> f) { in FollowParentChain()
3020 ValueObject *vo = this; in FollowParentChain()
3029 AddressType ValueObject::GetAddressTypeOfChildren() { in GetAddressTypeOfChildren()
3031 ValueObject *root(GetRoot()); in GetAddressTypeOfChildren()
3038 lldb::DynamicValueType ValueObject::GetDynamicValueType() { in GetDynamicValueType()
3039 ValueObject *with_dv_info = this; in GetDynamicValueType()
3048 lldb::Format ValueObject::GetFormat() const { in GetFormat()
3049 const ValueObject *with_fmt_info = this; in GetFormat()
3058 lldb::LanguageType ValueObject::GetPreferredDisplayLanguage() { in GetPreferredDisplayLanguage()
3077 void ValueObject::SetPreferredDisplayLanguageIfNeeded(lldb::LanguageType lt) { in SetPreferredDisplayLanguageIfNeeded()
3082 bool ValueObject::CanProvideValue() { in CanProvideValue()
3092 ValueObjectSP ValueObject::Persist() { in Persist()
3120 lldb::ValueObjectSP ValueObject::GetVTable() { in GetVTable()