reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/lldb/source/Target/StackFrame.cpp
  589       valobj_sp = GetValueObjectForFrameVariable(variable_sp, use_dynamic);
  590       if (!valobj_sp)
  591         return valobj_sp;
  592       valobj_sp = valobj_sp->GetChildMemberWithName(name_const_string, true);
  592       valobj_sp = valobj_sp->GetChildMemberWithName(name_const_string, true);
  593       if (valobj_sp)
  598   if (var_sp && !valobj_sp) {
  599     valobj_sp = GetValueObjectForFrameVariable(var_sp, use_dynamic);
  600     if (!valobj_sp)
  601       return valobj_sp;
  603   if (!valobj_sp) {
  625             valobj_sp->GetCompilerType().GetTypeInfo(nullptr);
  636       if (!valobj_sp->IsPointerType() && valobj_sp->HasSyntheticValue()) {
  636       if (!valobj_sp->IsPointerType() && valobj_sp->HasSyntheticValue()) {
  638         if (valobj_sp->GetCompilerType().IsReferenceType()) {
  639           valobj_sp = valobj_sp->GetSyntheticValue()->Dereference(deref_error);
  639           valobj_sp = valobj_sp->GetSyntheticValue()->Dereference(deref_error);
  647         valobj_sp = valobj_sp->Dereference(deref_error);
  647         valobj_sp = valobj_sp->Dereference(deref_error);
  654         if (!valobj_sp) {
  672         const bool actual_is_ptr = valobj_sp->IsPointerType();
  677           valobj_sp->GetExpressionPath(var_expr_path_strm, false);
  693       child_valobj_sp = valobj_sp->GetChildMemberWithName(child_name, true);
  696           child_valobj_sp = valobj_sp->GetSyntheticValue();
  713             valobj_sp->GetExpressionPath(var_expr_path_strm, false);
  718                   valobj_sp->GetTypeName().AsCString("<invalid type>"),
  779         if (valobj_sp->GetCompilerType().IsPointerToScalarType() && deref) {
  784           ValueObjectSP temp(valobj_sp->Dereference(error));
  786             valobj_sp->GetExpressionPath(var_expr_path_strm, false);
  789                 valobj_sp->GetTypeName().AsCString("<invalid type>"),
  793           valobj_sp = temp;
  795         } else if (valobj_sp->GetCompilerType().IsArrayOfScalarType() &&
  802           ValueObjectSP temp(valobj_sp->GetChildAtIndex(0, true));
  804             valobj_sp->GetExpressionPath(var_expr_path_strm, false);
  807                 valobj_sp->GetTypeName().AsCString("<invalid type>"),
  811           valobj_sp = temp;
  816         if (valobj_sp->IsPointerType()) {
  819           if (valobj_sp->GetCompilerType().GetMinimumLanguage() !=
  822           else if (!valobj_sp->GetCompilerType().IsPointerType())
  829                 valobj_sp->GetTypeName().AsCString("<invalid type>"),
  836             ValueObjectSP synthetic = valobj_sp->GetSyntheticValue();
  838                 || synthetic == valobj_sp) /* synthetic is the same as
  841               valobj_sp->GetExpressionPath(var_expr_path_strm, false);
  844                   valobj_sp->GetTypeName().AsCString("<invalid type>"),
  850               valobj_sp->GetExpressionPath(var_expr_path_strm, false);
  853                   valobj_sp->GetTypeName().AsCString("<invalid type>"),
  858                 valobj_sp->GetExpressionPath(var_expr_path_strm, false);
  861                     valobj_sp->GetTypeName().AsCString("<invalid type>"),
  867                 valobj_sp->GetSyntheticArrayMember(child_index, true);
  869               valobj_sp->GetExpressionPath(var_expr_path_strm, false);
  874                   valobj_sp->GetTypeName().AsCString("<invalid type>"),
  878         } else if (valobj_sp->GetCompilerType().IsArrayType(
  882           child_valobj_sp = valobj_sp->GetChildAtIndex(child_index, true);
  885                 valobj_sp->GetSyntheticArrayMember(child_index, true);
  888             valobj_sp->GetExpressionPath(var_expr_path_strm, false);
  891                 valobj_sp->GetTypeName().AsCString("<invalid type>"),
  894         } else if (valobj_sp->GetCompilerType().IsScalarType()) {
  896           child_valobj_sp = valobj_sp->GetSyntheticBitFieldChild(
  899             valobj_sp->GetExpressionPath(var_expr_path_strm, false);
  903                 valobj_sp->GetTypeName().AsCString("<invalid type>"),
  907           ValueObjectSP synthetic = valobj_sp->GetSyntheticValue();
  910               || synthetic == valobj_sp) /* synthetic is the same as the
  913             valobj_sp->GetExpressionPath(var_expr_path_strm, false);
  916                 valobj_sp->GetTypeName().AsCString("<invalid type>"),
  922             valobj_sp->GetExpressionPath(var_expr_path_strm, false);
  925                 valobj_sp->GetTypeName().AsCString("<invalid type>"),
  930               valobj_sp->GetExpressionPath(var_expr_path_strm, false);
  933                   valobj_sp->GetTypeName().AsCString("<invalid type>"),
  978       if (valobj_sp->GetCompilerType().IsPointerToScalarType() && deref) {
  984         ValueObjectSP temp(valobj_sp->Dereference(error));
  986           valobj_sp->GetExpressionPath(var_expr_path_strm, false);
  989               valobj_sp->GetTypeName().AsCString("<invalid type>"),
  993         valobj_sp = temp;
  995       } else if (valobj_sp->GetCompilerType().IsArrayOfScalarType() && deref) {
 1001         ValueObjectSP temp(valobj_sp->GetChildAtIndex(0, true));
 1003           valobj_sp->GetExpressionPath(var_expr_path_strm, false);
 1006               valobj_sp->GetTypeName().AsCString("<invalid type>"),
 1010         valobj_sp = temp;
 1015           valobj_sp->GetSyntheticBitFieldChild(child_index, final_index, true);
 1017         valobj_sp->GetExpressionPath(var_expr_path_strm, false);
 1020             final_index, valobj_sp->GetTypeName().AsCString("<invalid type>"),
 1043         valobj_sp->GetExpressionPath(var_expr_path_strm, false);
 1054       valobj_sp = child_valobj_sp;
 1059   if (valobj_sp) {
 1061       ValueObjectSP deref_valobj_sp(valobj_sp->Dereference(error));
 1062       valobj_sp = deref_valobj_sp;
 1064       ValueObjectSP address_of_valobj_sp(valobj_sp->AddressOf(error));
 1065       valobj_sp = address_of_valobj_sp;
 1068   return valobj_sp;