Lines Matching refs:valobj_sp
512 ValueObjectSP valobj_sp; in GetValueForVariableExpressionPath() local
583 valobj_sp = GetValueObjectForFrameVariable(variable_sp, use_dynamic); in GetValueForVariableExpressionPath()
584 if (!valobj_sp) in GetValueForVariableExpressionPath()
585 return valobj_sp; in GetValueForVariableExpressionPath()
586 valobj_sp = valobj_sp->GetChildMemberWithName(name_const_string, true); in GetValueForVariableExpressionPath()
587 if (valobj_sp) in GetValueForVariableExpressionPath()
592 if (var_sp && !valobj_sp) { in GetValueForVariableExpressionPath()
593 valobj_sp = GetValueObjectForFrameVariable(var_sp, use_dynamic); in GetValueForVariableExpressionPath()
594 if (!valobj_sp) in GetValueForVariableExpressionPath()
595 return valobj_sp; in GetValueForVariableExpressionPath()
597 if (!valobj_sp) { in GetValueForVariableExpressionPath()
619 valobj_sp->GetCompilerType().GetTypeInfo(nullptr); in GetValueForVariableExpressionPath()
630 if (!valobj_sp->IsPointerType() && valobj_sp->HasSyntheticValue()) { in GetValueForVariableExpressionPath()
632 if (valobj_sp->GetCompilerType().IsReferenceType()) { in GetValueForVariableExpressionPath()
633 valobj_sp = valobj_sp->GetSyntheticValue()->Dereference(deref_error); in GetValueForVariableExpressionPath()
641 valobj_sp = valobj_sp->Dereference(deref_error); in GetValueForVariableExpressionPath()
661 const bool actual_is_ptr = valobj_sp->IsPointerType(); in GetValueForVariableExpressionPath()
666 valobj_sp->GetExpressionPath(var_expr_path_strm, false); in GetValueForVariableExpressionPath()
682 child_valobj_sp = valobj_sp->GetChildMemberWithName(child_name, true); in GetValueForVariableExpressionPath()
685 child_valobj_sp = valobj_sp->GetSyntheticValue(); in GetValueForVariableExpressionPath()
702 valobj_sp->GetExpressionPath(var_expr_path_strm, false); in GetValueForVariableExpressionPath()
707 valobj_sp->GetTypeName().AsCString("<invalid type>"), in GetValueForVariableExpressionPath()
768 if (valobj_sp->GetCompilerType().IsPointerToScalarType() && deref) { in GetValueForVariableExpressionPath()
773 ValueObjectSP temp(valobj_sp->Dereference(error)); in GetValueForVariableExpressionPath()
775 valobj_sp->GetExpressionPath(var_expr_path_strm, false); in GetValueForVariableExpressionPath()
778 valobj_sp->GetTypeName().AsCString("<invalid type>"), in GetValueForVariableExpressionPath()
782 valobj_sp = temp; in GetValueForVariableExpressionPath()
784 } else if (valobj_sp->GetCompilerType().IsArrayOfScalarType() && in GetValueForVariableExpressionPath()
791 ValueObjectSP temp(valobj_sp->GetChildAtIndex(0, true)); in GetValueForVariableExpressionPath()
793 valobj_sp->GetExpressionPath(var_expr_path_strm, false); in GetValueForVariableExpressionPath()
796 valobj_sp->GetTypeName().AsCString("<invalid type>"), in GetValueForVariableExpressionPath()
800 valobj_sp = temp; in GetValueForVariableExpressionPath()
805 if (valobj_sp->IsPointerType()) { in GetValueForVariableExpressionPath()
808 if (valobj_sp->GetCompilerType().GetMinimumLanguage() != in GetValueForVariableExpressionPath()
811 else if (!valobj_sp->GetCompilerType().IsPointerType()) in GetValueForVariableExpressionPath()
818 valobj_sp->GetTypeName().AsCString("<invalid type>"), in GetValueForVariableExpressionPath()
825 ValueObjectSP synthetic = valobj_sp->GetSyntheticValue(); in GetValueForVariableExpressionPath()
827 || synthetic == valobj_sp) /* synthetic is the same as in GetValueForVariableExpressionPath()
830 valobj_sp->GetExpressionPath(var_expr_path_strm, false); in GetValueForVariableExpressionPath()
833 valobj_sp->GetTypeName().AsCString("<invalid type>"), in GetValueForVariableExpressionPath()
839 valobj_sp->GetExpressionPath(var_expr_path_strm, false); in GetValueForVariableExpressionPath()
842 valobj_sp->GetTypeName().AsCString("<invalid type>"), in GetValueForVariableExpressionPath()
847 valobj_sp->GetExpressionPath(var_expr_path_strm, false); in GetValueForVariableExpressionPath()
850 valobj_sp->GetTypeName().AsCString("<invalid type>"), in GetValueForVariableExpressionPath()
856 valobj_sp->GetSyntheticArrayMember(child_index, true); in GetValueForVariableExpressionPath()
858 valobj_sp->GetExpressionPath(var_expr_path_strm, false); in GetValueForVariableExpressionPath()
863 valobj_sp->GetTypeName().AsCString("<invalid type>"), in GetValueForVariableExpressionPath()
867 } else if (valobj_sp->GetCompilerType().IsArrayType( in GetValueForVariableExpressionPath()
871 child_valobj_sp = valobj_sp->GetChildAtIndex(child_index, true); in GetValueForVariableExpressionPath()
874 valobj_sp->GetSyntheticArrayMember(child_index, true); in GetValueForVariableExpressionPath()
877 valobj_sp->GetExpressionPath(var_expr_path_strm, false); in GetValueForVariableExpressionPath()
880 valobj_sp->GetTypeName().AsCString("<invalid type>"), in GetValueForVariableExpressionPath()
883 } else if (valobj_sp->GetCompilerType().IsScalarType()) { in GetValueForVariableExpressionPath()
885 child_valobj_sp = valobj_sp->GetSyntheticBitFieldChild( in GetValueForVariableExpressionPath()
888 valobj_sp->GetExpressionPath(var_expr_path_strm, false); in GetValueForVariableExpressionPath()
892 valobj_sp->GetTypeName().AsCString("<invalid type>"), in GetValueForVariableExpressionPath()
896 ValueObjectSP synthetic = valobj_sp->GetSyntheticValue(); in GetValueForVariableExpressionPath()
899 || synthetic == valobj_sp) /* synthetic is the same as the in GetValueForVariableExpressionPath()
902 valobj_sp->GetExpressionPath(var_expr_path_strm, false); in GetValueForVariableExpressionPath()
905 valobj_sp->GetTypeName().AsCString("<invalid type>"), in GetValueForVariableExpressionPath()
911 valobj_sp->GetExpressionPath(var_expr_path_strm, false); in GetValueForVariableExpressionPath()
914 valobj_sp->GetTypeName().AsCString("<invalid type>"), in GetValueForVariableExpressionPath()
919 valobj_sp->GetExpressionPath(var_expr_path_strm, false); in GetValueForVariableExpressionPath()
922 valobj_sp->GetTypeName().AsCString("<invalid type>"), in GetValueForVariableExpressionPath()
967 if (valobj_sp->GetCompilerType().IsPointerToScalarType() && deref) { in GetValueForVariableExpressionPath()
973 ValueObjectSP temp(valobj_sp->Dereference(error)); in GetValueForVariableExpressionPath()
975 valobj_sp->GetExpressionPath(var_expr_path_strm, false); in GetValueForVariableExpressionPath()
978 valobj_sp->GetTypeName().AsCString("<invalid type>"), in GetValueForVariableExpressionPath()
982 valobj_sp = temp; in GetValueForVariableExpressionPath()
984 } else if (valobj_sp->GetCompilerType().IsArrayOfScalarType() && deref) { in GetValueForVariableExpressionPath()
990 ValueObjectSP temp(valobj_sp->GetChildAtIndex(0, true)); in GetValueForVariableExpressionPath()
992 valobj_sp->GetExpressionPath(var_expr_path_strm, false); in GetValueForVariableExpressionPath()
995 valobj_sp->GetTypeName().AsCString("<invalid type>"), in GetValueForVariableExpressionPath()
999 valobj_sp = temp; in GetValueForVariableExpressionPath()
1004 valobj_sp->GetSyntheticBitFieldChild(child_index, final_index, true); in GetValueForVariableExpressionPath()
1006 valobj_sp->GetExpressionPath(var_expr_path_strm, false); in GetValueForVariableExpressionPath()
1009 final_index, valobj_sp->GetTypeName().AsCString("<invalid type>"), in GetValueForVariableExpressionPath()
1032 valobj_sp->GetExpressionPath(var_expr_path_strm, false); in GetValueForVariableExpressionPath()
1043 valobj_sp = child_valobj_sp; in GetValueForVariableExpressionPath()
1048 if (valobj_sp) { in GetValueForVariableExpressionPath()
1050 ValueObjectSP deref_valobj_sp(valobj_sp->Dereference(error)); in GetValueForVariableExpressionPath()
1051 valobj_sp = deref_valobj_sp; in GetValueForVariableExpressionPath()
1053 ValueObjectSP address_of_valobj_sp(valobj_sp->AddressOf(error)); in GetValueForVariableExpressionPath()
1054 valobj_sp = address_of_valobj_sp; in GetValueForVariableExpressionPath()
1057 return valobj_sp; in GetValueForVariableExpressionPath()
1136 ValueObjectSP valobj_sp; in GetValueObjectForFrameVariable() local
1138 return valobj_sp; in GetValueObjectForFrameVariable()
1146 valobj_sp = m_variable_list_value_objects.GetValueObjectAtIndex(var_idx); in GetValueObjectForFrameVariable()
1147 if (!valobj_sp) { in GetValueObjectForFrameVariable()
1150 valobj_sp = ValueObjectVariable::Create(this, variable_sp); in GetValueObjectForFrameVariable()
1151 m_variable_list_value_objects.SetValueObjectAtIndex(var_idx, valobj_sp); in GetValueObjectForFrameVariable()
1155 if (use_dynamic != eNoDynamicValues && valobj_sp) { in GetValueObjectForFrameVariable()
1156 ValueObjectSP dynamic_sp = valobj_sp->GetDynamicValue(use_dynamic); in GetValueObjectForFrameVariable()
1160 return valobj_sp; in GetValueObjectForFrameVariable()
1170 ValueObjectSP valobj_sp( in TrackGlobalVariable() local
1172 if (!valobj_sp) { in TrackGlobalVariable()
1183 valobj_sp = GetValueObjectForFrameVariable(variable_sp, use_dynamic); in TrackGlobalVariable()
1185 return valobj_sp; in TrackGlobalVariable()