Lines Matching refs:valobj_sp
533 ValueObjectSP valobj_sp; in GetValueForVariableExpressionPath() local
604 valobj_sp = GetValueObjectForFrameVariable(variable_sp, use_dynamic); in GetValueForVariableExpressionPath()
605 if (!valobj_sp) in GetValueForVariableExpressionPath()
606 return valobj_sp; in GetValueForVariableExpressionPath()
607 valobj_sp = valobj_sp->GetChildMemberWithName(name_const_string); in GetValueForVariableExpressionPath()
608 if (valobj_sp) in GetValueForVariableExpressionPath()
613 if (var_sp && !valobj_sp) { in GetValueForVariableExpressionPath()
614 valobj_sp = GetValueObjectForFrameVariable(var_sp, use_dynamic); in GetValueForVariableExpressionPath()
615 if (!valobj_sp) in GetValueForVariableExpressionPath()
616 return valobj_sp; in GetValueForVariableExpressionPath()
618 if (!valobj_sp) { in GetValueForVariableExpressionPath()
640 valobj_sp->GetCompilerType().GetTypeInfo(nullptr); in GetValueForVariableExpressionPath()
651 if (!valobj_sp->IsPointerType() && valobj_sp->HasSyntheticValue()) { in GetValueForVariableExpressionPath()
653 if (valobj_sp->GetCompilerType().IsReferenceType()) { in GetValueForVariableExpressionPath()
654 valobj_sp = valobj_sp->GetSyntheticValue()->Dereference(deref_error); in GetValueForVariableExpressionPath()
655 if (!valobj_sp || deref_error.Fail()) { in GetValueForVariableExpressionPath()
662 valobj_sp = valobj_sp->Dereference(deref_error); in GetValueForVariableExpressionPath()
663 if (!valobj_sp || deref_error.Fail()) { in GetValueForVariableExpressionPath()
669 if (!valobj_sp) { in GetValueForVariableExpressionPath()
687 const bool actual_is_ptr = valobj_sp->IsPointerType(); in GetValueForVariableExpressionPath()
692 valobj_sp->GetExpressionPath(var_expr_path_strm); in GetValueForVariableExpressionPath()
708 child_valobj_sp = valobj_sp->GetChildMemberWithName(child_name); in GetValueForVariableExpressionPath()
711 child_valobj_sp = valobj_sp->GetSyntheticValue(); in GetValueForVariableExpressionPath()
728 valobj_sp->GetExpressionPath(var_expr_path_strm); in GetValueForVariableExpressionPath()
733 valobj_sp->GetTypeName().AsCString("<invalid type>"), in GetValueForVariableExpressionPath()
794 if (valobj_sp->GetCompilerType().IsPointerToScalarType() && deref) { in GetValueForVariableExpressionPath()
799 ValueObjectSP temp(valobj_sp->Dereference(deref_error)); in GetValueForVariableExpressionPath()
801 valobj_sp->GetExpressionPath(var_expr_path_strm); in GetValueForVariableExpressionPath()
804 valobj_sp->GetTypeName().AsCString("<invalid type>"), in GetValueForVariableExpressionPath()
808 valobj_sp = temp; in GetValueForVariableExpressionPath()
810 } else if (valobj_sp->GetCompilerType().IsArrayOfScalarType() && in GetValueForVariableExpressionPath()
816 ValueObjectSP temp(valobj_sp->GetChildAtIndex(0)); in GetValueForVariableExpressionPath()
818 valobj_sp->GetExpressionPath(var_expr_path_strm); in GetValueForVariableExpressionPath()
821 valobj_sp->GetTypeName().AsCString("<invalid type>"), in GetValueForVariableExpressionPath()
825 valobj_sp = temp; in GetValueForVariableExpressionPath()
830 if (valobj_sp->IsPointerType()) { in GetValueForVariableExpressionPath()
833 if (valobj_sp->GetCompilerType().GetMinimumLanguage() != in GetValueForVariableExpressionPath()
836 else if (!valobj_sp->GetCompilerType().IsPointerType()) in GetValueForVariableExpressionPath()
843 valobj_sp->GetTypeName().AsCString("<invalid type>"), in GetValueForVariableExpressionPath()
850 ValueObjectSP synthetic = valobj_sp->GetSyntheticValue(); in GetValueForVariableExpressionPath()
852 || synthetic == valobj_sp) /* synthetic is the same as in GetValueForVariableExpressionPath()
855 valobj_sp->GetExpressionPath(var_expr_path_strm); in GetValueForVariableExpressionPath()
858 valobj_sp->GetTypeName().AsCString("<invalid type>"), in GetValueForVariableExpressionPath()
864 valobj_sp->GetExpressionPath(var_expr_path_strm); in GetValueForVariableExpressionPath()
867 valobj_sp->GetTypeName().AsCString("<invalid type>"), in GetValueForVariableExpressionPath()
872 valobj_sp->GetExpressionPath(var_expr_path_strm); in GetValueForVariableExpressionPath()
875 valobj_sp->GetTypeName().AsCString("<invalid type>"), in GetValueForVariableExpressionPath()
881 valobj_sp->GetSyntheticArrayMember(child_index, true); in GetValueForVariableExpressionPath()
883 valobj_sp->GetExpressionPath(var_expr_path_strm); in GetValueForVariableExpressionPath()
888 valobj_sp->GetTypeName().AsCString("<invalid type>"), in GetValueForVariableExpressionPath()
892 } else if (valobj_sp->GetCompilerType().IsArrayType( in GetValueForVariableExpressionPath()
896 child_valobj_sp = valobj_sp->GetChildAtIndex(child_index); in GetValueForVariableExpressionPath()
899 valobj_sp->GetSyntheticArrayMember(child_index, true); in GetValueForVariableExpressionPath()
902 valobj_sp->GetExpressionPath(var_expr_path_strm); in GetValueForVariableExpressionPath()
905 valobj_sp->GetTypeName().AsCString("<invalid type>"), in GetValueForVariableExpressionPath()
908 } else if (valobj_sp->GetCompilerType().IsScalarType()) { in GetValueForVariableExpressionPath()
910 child_valobj_sp = valobj_sp->GetSyntheticBitFieldChild( in GetValueForVariableExpressionPath()
913 valobj_sp->GetExpressionPath(var_expr_path_strm); in GetValueForVariableExpressionPath()
917 valobj_sp->GetTypeName().AsCString("<invalid type>"), in GetValueForVariableExpressionPath()
921 ValueObjectSP synthetic = valobj_sp->GetSyntheticValue(); in GetValueForVariableExpressionPath()
924 || synthetic == valobj_sp) /* synthetic is the same as the in GetValueForVariableExpressionPath()
927 valobj_sp->GetExpressionPath(var_expr_path_strm); in GetValueForVariableExpressionPath()
930 valobj_sp->GetTypeName().AsCString("<invalid type>"), in GetValueForVariableExpressionPath()
936 valobj_sp->GetExpressionPath(var_expr_path_strm); in GetValueForVariableExpressionPath()
939 valobj_sp->GetTypeName().AsCString("<invalid type>"), in GetValueForVariableExpressionPath()
944 valobj_sp->GetExpressionPath(var_expr_path_strm); in GetValueForVariableExpressionPath()
947 valobj_sp->GetTypeName().AsCString("<invalid type>"), in GetValueForVariableExpressionPath()
991 if (valobj_sp->GetCompilerType().IsPointerToScalarType() && deref) { in GetValueForVariableExpressionPath()
997 ValueObjectSP temp(valobj_sp->Dereference(deref_error)); in GetValueForVariableExpressionPath()
999 valobj_sp->GetExpressionPath(var_expr_path_strm); in GetValueForVariableExpressionPath()
1002 valobj_sp->GetTypeName().AsCString("<invalid type>"), in GetValueForVariableExpressionPath()
1006 valobj_sp = temp; in GetValueForVariableExpressionPath()
1008 } else if (valobj_sp->GetCompilerType().IsArrayOfScalarType() && deref) { in GetValueForVariableExpressionPath()
1013 ValueObjectSP temp(valobj_sp->GetChildAtIndex(0)); in GetValueForVariableExpressionPath()
1015 valobj_sp->GetExpressionPath(var_expr_path_strm); in GetValueForVariableExpressionPath()
1018 valobj_sp->GetTypeName().AsCString("<invalid type>"), in GetValueForVariableExpressionPath()
1022 valobj_sp = temp; in GetValueForVariableExpressionPath()
1027 valobj_sp->GetSyntheticBitFieldChild(child_index, final_index, true); in GetValueForVariableExpressionPath()
1029 valobj_sp->GetExpressionPath(var_expr_path_strm); in GetValueForVariableExpressionPath()
1032 final_index, valobj_sp->GetTypeName().AsCString("<invalid type>"), in GetValueForVariableExpressionPath()
1054 valobj_sp->GetExpressionPath(var_expr_path_strm); in GetValueForVariableExpressionPath()
1065 valobj_sp = child_valobj_sp; in GetValueForVariableExpressionPath()
1067 if (valobj_sp) { in GetValueForVariableExpressionPath()
1069 ValueObjectSP deref_valobj_sp(valobj_sp->Dereference(error)); in GetValueForVariableExpressionPath()
1070 valobj_sp = deref_valobj_sp; in GetValueForVariableExpressionPath()
1072 ValueObjectSP address_of_valobj_sp(valobj_sp->AddressOf(error)); in GetValueForVariableExpressionPath()
1073 valobj_sp = address_of_valobj_sp; in GetValueForVariableExpressionPath()
1076 return valobj_sp; in GetValueForVariableExpressionPath()
1154 ValueObjectSP valobj_sp; in GetValueObjectForFrameVariable() local
1163 return valobj_sp; in GetValueObjectForFrameVariable()
1171 valobj_sp = m_variable_list_value_objects.GetValueObjectAtIndex(var_idx); in GetValueObjectForFrameVariable()
1172 if (!valobj_sp) { in GetValueObjectForFrameVariable()
1175 valobj_sp = ValueObjectVariable::Create(this, variable_sp); in GetValueObjectForFrameVariable()
1177 valobj_sp); in GetValueObjectForFrameVariable()
1182 if (use_dynamic != eNoDynamicValues && valobj_sp) { in GetValueObjectForFrameVariable()
1183 ValueObjectSP dynamic_sp = valobj_sp->GetDynamicValue(use_dynamic); in GetValueObjectForFrameVariable()
1187 return valobj_sp; in GetValueObjectForFrameVariable()