Lines Matching refs:valobj_sp

520   ValueObjectSP valobj_sp;  in GetValueForVariableExpressionPath()  local
596 valobj_sp = GetValueObjectForFrameVariable(variable_sp, use_dynamic); in GetValueForVariableExpressionPath()
597 if (!valobj_sp) in GetValueForVariableExpressionPath()
598 return valobj_sp; in GetValueForVariableExpressionPath()
599 valobj_sp = valobj_sp->GetChildMemberWithName(name_const_string, true); in GetValueForVariableExpressionPath()
600 if (valobj_sp) in GetValueForVariableExpressionPath()
605 if (var_sp && !valobj_sp) { in GetValueForVariableExpressionPath()
606 valobj_sp = GetValueObjectForFrameVariable(var_sp, use_dynamic); in GetValueForVariableExpressionPath()
607 if (!valobj_sp) in GetValueForVariableExpressionPath()
608 return valobj_sp; in GetValueForVariableExpressionPath()
610 if (!valobj_sp) { in GetValueForVariableExpressionPath()
632 valobj_sp->GetCompilerType().GetTypeInfo(nullptr); in GetValueForVariableExpressionPath()
643 if (!valobj_sp->IsPointerType() && valobj_sp->HasSyntheticValue()) { in GetValueForVariableExpressionPath()
645 if (valobj_sp->GetCompilerType().IsReferenceType()) { in GetValueForVariableExpressionPath()
646 valobj_sp = valobj_sp->GetSyntheticValue()->Dereference(deref_error); in GetValueForVariableExpressionPath()
654 valobj_sp = valobj_sp->Dereference(deref_error); in GetValueForVariableExpressionPath()
661 if (!valobj_sp) { in GetValueForVariableExpressionPath()
679 const bool actual_is_ptr = valobj_sp->IsPointerType(); in GetValueForVariableExpressionPath()
684 valobj_sp->GetExpressionPath(var_expr_path_strm); in GetValueForVariableExpressionPath()
700 child_valobj_sp = valobj_sp->GetChildMemberWithName(child_name, true); in GetValueForVariableExpressionPath()
703 child_valobj_sp = valobj_sp->GetSyntheticValue(); in GetValueForVariableExpressionPath()
720 valobj_sp->GetExpressionPath(var_expr_path_strm); in GetValueForVariableExpressionPath()
725 valobj_sp->GetTypeName().AsCString("<invalid type>"), in GetValueForVariableExpressionPath()
786 if (valobj_sp->GetCompilerType().IsPointerToScalarType() && deref) { in GetValueForVariableExpressionPath()
791 ValueObjectSP temp(valobj_sp->Dereference(error)); in GetValueForVariableExpressionPath()
793 valobj_sp->GetExpressionPath(var_expr_path_strm); in GetValueForVariableExpressionPath()
796 valobj_sp->GetTypeName().AsCString("<invalid type>"), in GetValueForVariableExpressionPath()
800 valobj_sp = temp; in GetValueForVariableExpressionPath()
802 } else if (valobj_sp->GetCompilerType().IsArrayOfScalarType() && in GetValueForVariableExpressionPath()
809 ValueObjectSP temp(valobj_sp->GetChildAtIndex(0, true)); in GetValueForVariableExpressionPath()
811 valobj_sp->GetExpressionPath(var_expr_path_strm); in GetValueForVariableExpressionPath()
814 valobj_sp->GetTypeName().AsCString("<invalid type>"), in GetValueForVariableExpressionPath()
818 valobj_sp = temp; in GetValueForVariableExpressionPath()
823 if (valobj_sp->IsPointerType()) { in GetValueForVariableExpressionPath()
826 if (valobj_sp->GetCompilerType().GetMinimumLanguage() != in GetValueForVariableExpressionPath()
829 else if (!valobj_sp->GetCompilerType().IsPointerType()) in GetValueForVariableExpressionPath()
836 valobj_sp->GetTypeName().AsCString("<invalid type>"), in GetValueForVariableExpressionPath()
843 ValueObjectSP synthetic = valobj_sp->GetSyntheticValue(); in GetValueForVariableExpressionPath()
845 || synthetic == valobj_sp) /* synthetic is the same as in GetValueForVariableExpressionPath()
848 valobj_sp->GetExpressionPath(var_expr_path_strm); in GetValueForVariableExpressionPath()
851 valobj_sp->GetTypeName().AsCString("<invalid type>"), in GetValueForVariableExpressionPath()
857 valobj_sp->GetExpressionPath(var_expr_path_strm); in GetValueForVariableExpressionPath()
860 valobj_sp->GetTypeName().AsCString("<invalid type>"), in GetValueForVariableExpressionPath()
865 valobj_sp->GetExpressionPath(var_expr_path_strm); in GetValueForVariableExpressionPath()
868 valobj_sp->GetTypeName().AsCString("<invalid type>"), in GetValueForVariableExpressionPath()
874 valobj_sp->GetSyntheticArrayMember(child_index, true); in GetValueForVariableExpressionPath()
876 valobj_sp->GetExpressionPath(var_expr_path_strm); in GetValueForVariableExpressionPath()
881 valobj_sp->GetTypeName().AsCString("<invalid type>"), in GetValueForVariableExpressionPath()
885 } else if (valobj_sp->GetCompilerType().IsArrayType( in GetValueForVariableExpressionPath()
889 child_valobj_sp = valobj_sp->GetChildAtIndex(child_index, true); in GetValueForVariableExpressionPath()
892 valobj_sp->GetSyntheticArrayMember(child_index, true); in GetValueForVariableExpressionPath()
895 valobj_sp->GetExpressionPath(var_expr_path_strm); in GetValueForVariableExpressionPath()
898 valobj_sp->GetTypeName().AsCString("<invalid type>"), in GetValueForVariableExpressionPath()
901 } else if (valobj_sp->GetCompilerType().IsScalarType()) { in GetValueForVariableExpressionPath()
903 child_valobj_sp = valobj_sp->GetSyntheticBitFieldChild( in GetValueForVariableExpressionPath()
906 valobj_sp->GetExpressionPath(var_expr_path_strm); in GetValueForVariableExpressionPath()
910 valobj_sp->GetTypeName().AsCString("<invalid type>"), in GetValueForVariableExpressionPath()
914 ValueObjectSP synthetic = valobj_sp->GetSyntheticValue(); in GetValueForVariableExpressionPath()
917 || synthetic == valobj_sp) /* synthetic is the same as the in GetValueForVariableExpressionPath()
920 valobj_sp->GetExpressionPath(var_expr_path_strm); in GetValueForVariableExpressionPath()
923 valobj_sp->GetTypeName().AsCString("<invalid type>"), in GetValueForVariableExpressionPath()
929 valobj_sp->GetExpressionPath(var_expr_path_strm); in GetValueForVariableExpressionPath()
932 valobj_sp->GetTypeName().AsCString("<invalid type>"), in GetValueForVariableExpressionPath()
937 valobj_sp->GetExpressionPath(var_expr_path_strm); in GetValueForVariableExpressionPath()
940 valobj_sp->GetTypeName().AsCString("<invalid type>"), in GetValueForVariableExpressionPath()
984 if (valobj_sp->GetCompilerType().IsPointerToScalarType() && deref) { in GetValueForVariableExpressionPath()
990 ValueObjectSP temp(valobj_sp->Dereference(error)); in GetValueForVariableExpressionPath()
992 valobj_sp->GetExpressionPath(var_expr_path_strm); in GetValueForVariableExpressionPath()
995 valobj_sp->GetTypeName().AsCString("<invalid type>"), in GetValueForVariableExpressionPath()
999 valobj_sp = temp; in GetValueForVariableExpressionPath()
1001 } else if (valobj_sp->GetCompilerType().IsArrayOfScalarType() && deref) { in GetValueForVariableExpressionPath()
1007 ValueObjectSP temp(valobj_sp->GetChildAtIndex(0, true)); in GetValueForVariableExpressionPath()
1009 valobj_sp->GetExpressionPath(var_expr_path_strm); in GetValueForVariableExpressionPath()
1012 valobj_sp->GetTypeName().AsCString("<invalid type>"), in GetValueForVariableExpressionPath()
1016 valobj_sp = temp; in GetValueForVariableExpressionPath()
1021 valobj_sp->GetSyntheticBitFieldChild(child_index, final_index, true); in GetValueForVariableExpressionPath()
1023 valobj_sp->GetExpressionPath(var_expr_path_strm); in GetValueForVariableExpressionPath()
1026 final_index, valobj_sp->GetTypeName().AsCString("<invalid type>"), in GetValueForVariableExpressionPath()
1048 valobj_sp->GetExpressionPath(var_expr_path_strm); in GetValueForVariableExpressionPath()
1059 valobj_sp = child_valobj_sp; in GetValueForVariableExpressionPath()
1061 if (valobj_sp) { in GetValueForVariableExpressionPath()
1063 ValueObjectSP deref_valobj_sp(valobj_sp->Dereference(error)); in GetValueForVariableExpressionPath()
1064 valobj_sp = deref_valobj_sp; in GetValueForVariableExpressionPath()
1066 ValueObjectSP address_of_valobj_sp(valobj_sp->AddressOf(error)); in GetValueForVariableExpressionPath()
1067 valobj_sp = address_of_valobj_sp; in GetValueForVariableExpressionPath()
1070 return valobj_sp; in GetValueForVariableExpressionPath()
1148 ValueObjectSP valobj_sp; in GetValueObjectForFrameVariable() local
1157 return valobj_sp; in GetValueObjectForFrameVariable()
1165 valobj_sp = m_variable_list_value_objects.GetValueObjectAtIndex(var_idx); in GetValueObjectForFrameVariable()
1166 if (!valobj_sp) { in GetValueObjectForFrameVariable()
1169 valobj_sp = ValueObjectVariable::Create(this, variable_sp); in GetValueObjectForFrameVariable()
1171 valobj_sp); in GetValueObjectForFrameVariable()
1176 if (use_dynamic != eNoDynamicValues && valobj_sp) { in GetValueObjectForFrameVariable()
1177 ValueObjectSP dynamic_sp = valobj_sp->GetDynamicValue(use_dynamic); in GetValueObjectForFrameVariable()
1181 return valobj_sp; in GetValueObjectForFrameVariable()