Lines Matching refs:valobj_sp
519 ValueObjectSP valobj_sp; in GetValueForVariableExpressionPath() local
589 valobj_sp = GetValueObjectForFrameVariable(variable_sp, use_dynamic); in GetValueForVariableExpressionPath()
590 if (!valobj_sp) in GetValueForVariableExpressionPath()
591 return valobj_sp; in GetValueForVariableExpressionPath()
592 valobj_sp = valobj_sp->GetChildMemberWithName(name_const_string, true); in GetValueForVariableExpressionPath()
593 if (valobj_sp) in GetValueForVariableExpressionPath()
598 if (var_sp && !valobj_sp) { in GetValueForVariableExpressionPath()
599 valobj_sp = GetValueObjectForFrameVariable(var_sp, use_dynamic); in GetValueForVariableExpressionPath()
600 if (!valobj_sp) in GetValueForVariableExpressionPath()
601 return valobj_sp; in GetValueForVariableExpressionPath()
603 if (!valobj_sp) { in GetValueForVariableExpressionPath()
625 valobj_sp->GetCompilerType().GetTypeInfo(nullptr); in GetValueForVariableExpressionPath()
636 if (!valobj_sp->IsPointerType() && valobj_sp->HasSyntheticValue()) { in GetValueForVariableExpressionPath()
638 if (valobj_sp->GetCompilerType().IsReferenceType()) { in GetValueForVariableExpressionPath()
639 valobj_sp = valobj_sp->GetSyntheticValue()->Dereference(deref_error); in GetValueForVariableExpressionPath()
647 valobj_sp = valobj_sp->Dereference(deref_error); in GetValueForVariableExpressionPath()
654 if (!valobj_sp) { in GetValueForVariableExpressionPath()
672 const bool actual_is_ptr = valobj_sp->IsPointerType(); in GetValueForVariableExpressionPath()
677 valobj_sp->GetExpressionPath(var_expr_path_strm); in GetValueForVariableExpressionPath()
693 child_valobj_sp = valobj_sp->GetChildMemberWithName(child_name, true); in GetValueForVariableExpressionPath()
696 child_valobj_sp = valobj_sp->GetSyntheticValue(); in GetValueForVariableExpressionPath()
713 valobj_sp->GetExpressionPath(var_expr_path_strm); in GetValueForVariableExpressionPath()
718 valobj_sp->GetTypeName().AsCString("<invalid type>"), in GetValueForVariableExpressionPath()
779 if (valobj_sp->GetCompilerType().IsPointerToScalarType() && deref) { in GetValueForVariableExpressionPath()
784 ValueObjectSP temp(valobj_sp->Dereference(error)); in GetValueForVariableExpressionPath()
786 valobj_sp->GetExpressionPath(var_expr_path_strm); in GetValueForVariableExpressionPath()
789 valobj_sp->GetTypeName().AsCString("<invalid type>"), in GetValueForVariableExpressionPath()
793 valobj_sp = temp; in GetValueForVariableExpressionPath()
795 } else if (valobj_sp->GetCompilerType().IsArrayOfScalarType() && in GetValueForVariableExpressionPath()
802 ValueObjectSP temp(valobj_sp->GetChildAtIndex(0, true)); in GetValueForVariableExpressionPath()
804 valobj_sp->GetExpressionPath(var_expr_path_strm); in GetValueForVariableExpressionPath()
807 valobj_sp->GetTypeName().AsCString("<invalid type>"), in GetValueForVariableExpressionPath()
811 valobj_sp = temp; in GetValueForVariableExpressionPath()
816 if (valobj_sp->IsPointerType()) { in GetValueForVariableExpressionPath()
819 if (valobj_sp->GetCompilerType().GetMinimumLanguage() != in GetValueForVariableExpressionPath()
822 else if (!valobj_sp->GetCompilerType().IsPointerType()) in GetValueForVariableExpressionPath()
829 valobj_sp->GetTypeName().AsCString("<invalid type>"), in GetValueForVariableExpressionPath()
836 ValueObjectSP synthetic = valobj_sp->GetSyntheticValue(); in GetValueForVariableExpressionPath()
838 || synthetic == valobj_sp) /* synthetic is the same as in GetValueForVariableExpressionPath()
841 valobj_sp->GetExpressionPath(var_expr_path_strm); in GetValueForVariableExpressionPath()
844 valobj_sp->GetTypeName().AsCString("<invalid type>"), in GetValueForVariableExpressionPath()
850 valobj_sp->GetExpressionPath(var_expr_path_strm); in GetValueForVariableExpressionPath()
853 valobj_sp->GetTypeName().AsCString("<invalid type>"), in GetValueForVariableExpressionPath()
858 valobj_sp->GetExpressionPath(var_expr_path_strm); in GetValueForVariableExpressionPath()
861 valobj_sp->GetTypeName().AsCString("<invalid type>"), in GetValueForVariableExpressionPath()
867 valobj_sp->GetSyntheticArrayMember(child_index, true); in GetValueForVariableExpressionPath()
869 valobj_sp->GetExpressionPath(var_expr_path_strm); in GetValueForVariableExpressionPath()
874 valobj_sp->GetTypeName().AsCString("<invalid type>"), in GetValueForVariableExpressionPath()
878 } else if (valobj_sp->GetCompilerType().IsArrayType( in GetValueForVariableExpressionPath()
882 child_valobj_sp = valobj_sp->GetChildAtIndex(child_index, true); in GetValueForVariableExpressionPath()
885 valobj_sp->GetSyntheticArrayMember(child_index, true); in GetValueForVariableExpressionPath()
888 valobj_sp->GetExpressionPath(var_expr_path_strm); in GetValueForVariableExpressionPath()
891 valobj_sp->GetTypeName().AsCString("<invalid type>"), in GetValueForVariableExpressionPath()
894 } else if (valobj_sp->GetCompilerType().IsScalarType()) { in GetValueForVariableExpressionPath()
896 child_valobj_sp = valobj_sp->GetSyntheticBitFieldChild( in GetValueForVariableExpressionPath()
899 valobj_sp->GetExpressionPath(var_expr_path_strm); in GetValueForVariableExpressionPath()
903 valobj_sp->GetTypeName().AsCString("<invalid type>"), in GetValueForVariableExpressionPath()
907 ValueObjectSP synthetic = valobj_sp->GetSyntheticValue(); in GetValueForVariableExpressionPath()
910 || synthetic == valobj_sp) /* synthetic is the same as the in GetValueForVariableExpressionPath()
913 valobj_sp->GetExpressionPath(var_expr_path_strm); in GetValueForVariableExpressionPath()
916 valobj_sp->GetTypeName().AsCString("<invalid type>"), in GetValueForVariableExpressionPath()
922 valobj_sp->GetExpressionPath(var_expr_path_strm); in GetValueForVariableExpressionPath()
925 valobj_sp->GetTypeName().AsCString("<invalid type>"), in GetValueForVariableExpressionPath()
930 valobj_sp->GetExpressionPath(var_expr_path_strm); in GetValueForVariableExpressionPath()
933 valobj_sp->GetTypeName().AsCString("<invalid type>"), in GetValueForVariableExpressionPath()
977 if (valobj_sp->GetCompilerType().IsPointerToScalarType() && deref) { in GetValueForVariableExpressionPath()
983 ValueObjectSP temp(valobj_sp->Dereference(error)); in GetValueForVariableExpressionPath()
985 valobj_sp->GetExpressionPath(var_expr_path_strm); in GetValueForVariableExpressionPath()
988 valobj_sp->GetTypeName().AsCString("<invalid type>"), in GetValueForVariableExpressionPath()
992 valobj_sp = temp; in GetValueForVariableExpressionPath()
994 } else if (valobj_sp->GetCompilerType().IsArrayOfScalarType() && deref) { in GetValueForVariableExpressionPath()
1000 ValueObjectSP temp(valobj_sp->GetChildAtIndex(0, true)); in GetValueForVariableExpressionPath()
1002 valobj_sp->GetExpressionPath(var_expr_path_strm); in GetValueForVariableExpressionPath()
1005 valobj_sp->GetTypeName().AsCString("<invalid type>"), in GetValueForVariableExpressionPath()
1009 valobj_sp = temp; in GetValueForVariableExpressionPath()
1014 valobj_sp->GetSyntheticBitFieldChild(child_index, final_index, true); in GetValueForVariableExpressionPath()
1016 valobj_sp->GetExpressionPath(var_expr_path_strm); in GetValueForVariableExpressionPath()
1019 final_index, valobj_sp->GetTypeName().AsCString("<invalid type>"), in GetValueForVariableExpressionPath()
1041 valobj_sp->GetExpressionPath(var_expr_path_strm); in GetValueForVariableExpressionPath()
1052 valobj_sp = child_valobj_sp; in GetValueForVariableExpressionPath()
1054 if (valobj_sp) { in GetValueForVariableExpressionPath()
1056 ValueObjectSP deref_valobj_sp(valobj_sp->Dereference(error)); in GetValueForVariableExpressionPath()
1057 valobj_sp = deref_valobj_sp; in GetValueForVariableExpressionPath()
1059 ValueObjectSP address_of_valobj_sp(valobj_sp->AddressOf(error)); in GetValueForVariableExpressionPath()
1060 valobj_sp = address_of_valobj_sp; in GetValueForVariableExpressionPath()
1063 return valobj_sp; in GetValueForVariableExpressionPath()
1142 ValueObjectSP valobj_sp; in GetValueObjectForFrameVariable() local
1144 return valobj_sp; in GetValueObjectForFrameVariable()
1152 valobj_sp = m_variable_list_value_objects.GetValueObjectAtIndex(var_idx); in GetValueObjectForFrameVariable()
1153 if (!valobj_sp) { in GetValueObjectForFrameVariable()
1156 valobj_sp = ValueObjectVariable::Create(this, variable_sp); in GetValueObjectForFrameVariable()
1157 m_variable_list_value_objects.SetValueObjectAtIndex(var_idx, valobj_sp); in GetValueObjectForFrameVariable()
1161 if (use_dynamic != eNoDynamicValues && valobj_sp) { in GetValueObjectForFrameVariable()
1162 ValueObjectSP dynamic_sp = valobj_sp->GetDynamicValue(use_dynamic); in GetValueObjectForFrameVariable()
1166 return valobj_sp; in GetValueObjectForFrameVariable()