Lines Matching refs:valobj
33 lldb_private::formatters::ExtractValueFromObjCExpression (ValueObject &valobj, in ExtractValueFromObjCExpression() argument
43 expr.Printf("(%s)[(id)0x%" PRIx64 " %s]",target_type,valobj.GetPointerValue(),selector); in ExtractValueFromObjCExpression()
44 ExecutionContext exe_ctx (valobj.GetExecutionContextRef()); in ExtractValueFromObjCExpression()
67 lldb_private::formatters::ExtractSummaryFromObjCExpression (ValueObject &valobj, in ExtractSummaryFromObjCExpression() argument
77 expr.Printf("(%s)[(id)0x%" PRIx64 " %s]",target_type,valobj.GetPointerValue(),selector); in ExtractSummaryFromObjCExpression()
78 ExecutionContext exe_ctx (valobj.GetExecutionContextRef()); in ExtractSummaryFromObjCExpression()
102 lldb_private::formatters::CallSelectorOnObject (ValueObject &valobj, in CallSelectorOnObject() argument
113 valobj.GetExpressionPath(expr_path_stream, false); in CallSelectorOnObject()
116 ExecutionContext exe_ctx (valobj.GetExecutionContextRef()); in CallSelectorOnObject()
137 lldb_private::formatters::CallSelectorOnObject (ValueObject &valobj, in CallSelectorOnObject() argument
150 valobj.GetExpressionPath(expr_path_stream, false); in CallSelectorOnObject()
153 ExecutionContext exe_ctx (valobj.GetExecutionContextRef()); in CallSelectorOnObject()
449 lldb_private::formatters::Char16StringSummaryProvider (ValueObject& valobj, Stream& stream) in Char16StringSummaryProvider() argument
451 ProcessSP process_sp = valobj.GetProcessSP(); in Char16StringSummaryProvider()
455 lldb::addr_t valobj_addr = valobj.GetValueAsUnsigned(0); in Char16StringSummaryProvider()
477 lldb_private::formatters::Char32StringSummaryProvider (ValueObject& valobj, Stream& stream) in Char32StringSummaryProvider() argument
479 ProcessSP process_sp = valobj.GetProcessSP(); in Char32StringSummaryProvider()
483 lldb::addr_t valobj_addr = valobj.GetValueAsUnsigned(0); in Char32StringSummaryProvider()
505 lldb_private::formatters::WCharStringSummaryProvider (ValueObject& valobj, Stream& stream) in WCharStringSummaryProvider() argument
507 ProcessSP process_sp = valobj.GetProcessSP(); in WCharStringSummaryProvider()
513 if (valobj.IsPointerType()) in WCharStringSummaryProvider()
514 data_addr = valobj.GetValueAsUnsigned(0); in WCharStringSummaryProvider()
515 else if (valobj.IsArrayType()) in WCharStringSummaryProvider()
516 data_addr = valobj.GetAddressOf(); in WCharStringSummaryProvider()
521 clang::ASTContext* ast = valobj.GetClangType().GetASTContext(); in WCharStringSummaryProvider()
576 lldb_private::formatters::Char16SummaryProvider (ValueObject& valobj, Stream& stream) in Char16SummaryProvider() argument
579 valobj.GetData(data); in Char16SummaryProvider()
582 valobj.GetValueAsCString(lldb::eFormatUnicode16, value); in Char16SummaryProvider()
590 lldb_private::formatters::Char32SummaryProvider (ValueObject& valobj, Stream& stream) in Char32SummaryProvider() argument
593 valobj.GetData(data); in Char32SummaryProvider()
596 valobj.GetValueAsCString(lldb::eFormatUnicode32, value); in Char32SummaryProvider()
604 lldb_private::formatters::WCharSummaryProvider (ValueObject& valobj, Stream& stream) in WCharSummaryProvider() argument
607 valobj.GetData(data); in WCharSummaryProvider()
609 clang::ASTContext* ast = valobj.GetClangType().GetASTContext(); in WCharSummaryProvider()
622 valobj.GetValueAsCString(lldb::eFormatChar, value); in WCharSummaryProvider()
633 valobj.GetValueAsCString(lldb::eFormatUnicode16, value); in WCharSummaryProvider()
644 valobj.GetValueAsCString(lldb::eFormatUnicode32, value); in WCharSummaryProvider()
671 ExtractLibcxxStringInfo (ValueObject& valobj, in ExtractLibcxxStringInfo() argument
675 ValueObjectSP D(valobj.GetChildAtIndexPath({0,0,0,0})); in ExtractLibcxxStringInfo()
743 lldb_private::formatters::LibcxxWStringSummaryProvider (ValueObject& valobj, Stream& stream) in LibcxxWStringSummaryProvider() argument
747 if (!ExtractLibcxxStringInfo(valobj, location_sp, size)) in LibcxxWStringSummaryProvider()
760 lldb_private::formatters::LibcxxStringSummaryProvider (ValueObject& valobj, Stream& stream) in LibcxxStringSummaryProvider() argument
764 if (!ExtractLibcxxStringInfo(valobj, location_sp, size)) in LibcxxStringSummaryProvider()
783 lldb_private::formatters::ObjCClassSummaryProvider (ValueObject& valobj, Stream& stream) in ObjCClassSummaryProvider() argument
785 ProcessSP process_sp = valobj.GetProcessSP(); in ObjCClassSummaryProvider()
794 …ObjCLanguageRuntime::ClassDescriptorSP descriptor(runtime->GetClassDescriptorFromISA(valobj.GetVal… in ObjCClassSummaryProvider()
860 lldb_private::formatters::NSDataSummaryProvider (ValueObject& valobj, Stream& stream) in NSDataSummaryProvider() argument
862 ProcessSP process_sp = valobj.GetProcessSP(); in NSDataSummaryProvider()
871 ObjCLanguageRuntime::ClassDescriptorSP descriptor(runtime->GetClassDescriptor(valobj)); in NSDataSummaryProvider()
877 lldb::addr_t valobj_addr = valobj.GetValueAsUnsigned(0); in NSDataSummaryProvider()
901 if (!ExtractValueFromObjCExpression(valobj, "int", "length", value)) in NSDataSummaryProvider()
957 lldb_private::formatters::NSStringSummaryProvider (ValueObject& valobj, Stream& stream) in NSStringSummaryProvider() argument
959 ProcessSP process_sp = valobj.GetProcessSP(); in NSStringSummaryProvider()
968 ObjCLanguageRuntime::ClassDescriptorSP descriptor(runtime->GetClassDescriptor(valobj)); in NSStringSummaryProvider()
975 lldb::addr_t valobj_addr = valobj.GetValueAsUnsigned(0); in NSStringSummaryProvider()
1131 lldb_private::formatters::NSAttributedStringSummaryProvider (ValueObject& valobj, Stream& stream) in NSAttributedStringSummaryProvider() argument
1133 TargetSP target_sp(valobj.GetTargetSP()); in NSAttributedStringSummaryProvider()
1137 uint64_t pointer_value = valobj.GetValueAsUnsigned(0); in NSAttributedStringSummaryProvider()
1141 ClangASTType type(valobj.GetClangType()); in NSAttributedStringSummaryProvider()
1143 …ValueObjectSP child_ptr_sp(valobj.CreateValueObjectFromAddress("string_ptr", pointer_value, exe_ct… in NSAttributedStringSummaryProvider()
1156 lldb_private::formatters::NSMutableAttributedStringSummaryProvider (ValueObject& valobj, Stream& st… in NSMutableAttributedStringSummaryProvider() argument
1158 return NSAttributedStringSummaryProvider(valobj, stream); in NSMutableAttributedStringSummaryProvider()
1162 lldb_private::formatters::RuntimeSpecificDescriptionSummaryProvider (ValueObject& valobj, Stream& s… in RuntimeSpecificDescriptionSummaryProvider() argument
1164 stream.Printf("%s",valobj.GetObjectDescription()); in RuntimeSpecificDescriptionSummaryProvider()
1169 lldb_private::formatters::ObjCBOOLSummaryProvider (ValueObject& valobj, Stream& stream) in ObjCBOOLSummaryProvider() argument
1171 const uint32_t type_info = valobj.GetClangType().GetTypeInfo(); in ObjCBOOLSummaryProvider()
1173 ValueObjectSP real_guy_sp = valobj.GetSP(); in ObjCBOOLSummaryProvider()
1178 real_guy_sp = valobj.Dereference(err); in ObjCBOOLSummaryProvider()
1184 real_guy_sp = valobj.GetChildAtIndex(0, true); in ObjCBOOLSummaryProvider()
1200 lldb_private::formatters::ObjCSELSummaryProvider (ValueObject& valobj, Stream& stream) in ObjCSELSummaryProvider() argument
1204 …ClangASTType charstar (valobj.GetClangType().GetBasicTypeFromAST(eBasicTypeChar).GetPointerType()); in ObjCSELSummaryProvider()
1209 ExecutionContext exe_ctx(valobj.GetExecutionContextRef()); in ObjCSELSummaryProvider()
1213 lldb::addr_t data_address = valobj.GetValueAsUnsigned(LLDB_INVALID_ADDRESS); in ObjCSELSummaryProvider()
1221 valobj.GetData(data); in ObjCSELSummaryProvider()