Home
last modified time | relevance | path

Searched refs:valobj_sp (Results 1 – 25 of 70) sorted by relevance

123

/openbsd-src/gnu/llvm/lldb/source/Plugins/Language/CPlusPlus/
H A DLibStdcpp.cpp44 explicit LibstdcppMapIteratorSyntheticFrontEnd(lldb::ValueObjectSP valobj_sp);
65 explicit LibStdcppSharedPtrSyntheticFrontEnd(lldb::ValueObjectSP valobj_sp);
81 lldb::ValueObjectSP valobj_sp) in LibstdcppMapIteratorSyntheticFrontEnd() argument
82 : SyntheticChildrenFrontEnd(*valobj_sp), m_exe_ctx_ref(), m_pair_type(), in LibstdcppMapIteratorSyntheticFrontEnd()
84 if (valobj_sp) in LibstdcppMapIteratorSyntheticFrontEnd()
89 ValueObjectSP valobj_sp = m_backend.GetSP(); in Update() local
90 if (!valobj_sp) in Update()
93 TargetSP target_sp(valobj_sp->GetTargetSP()); in Update()
100 if (!valobj_sp) in Update()
102 m_exe_ctx_ref = valobj_sp->GetExecutionContextRef(); in Update()
[all …]
H A DLibCxx.cpp51 ValueObjectSP valobj_sp(valobj.GetNonSyntheticValue()); in LibcxxOptionalSummaryProvider() local
52 if (!valobj_sp) in LibcxxOptionalSummaryProvider()
58 valobj_sp->GetChildMemberWithName(ConstString("__engaged_"), true)); in LibcxxOptionalSummaryProvider()
74 ValueObjectSP valobj_sp(valobj.GetNonSyntheticValue()); in LibcxxFunctionSummaryProvider() local
76 if (!valobj_sp) in LibcxxFunctionSummaryProvider()
79 ExecutionContext exe_ctx(valobj_sp->GetExecutionContextRef()); in LibcxxFunctionSummaryProvider()
91 cpp_runtime->FindLibCppStdFunctionCallableInfo(valobj_sp); in LibcxxFunctionSummaryProvider()
121 ValueObjectSP valobj_sp(valobj.GetNonSyntheticValue()); in LibcxxSmartPointerSummaryProvider() local
122 if (!valobj_sp) in LibcxxSmartPointerSummaryProvider()
125 valobj_sp->GetChildMemberWithName(ConstString("__ptr_"), true)); in LibcxxSmartPointerSummaryProvider()
[all …]
H A DLibCxxVector.cpp24 LibcxxStdVectorSyntheticFrontEnd(lldb::ValueObjectSP valobj_sp);
47 LibcxxVectorBoolSyntheticFrontEnd(lldb::ValueObjectSP valobj_sp);
71 LibcxxStdVectorSyntheticFrontEnd(lldb::ValueObjectSP valobj_sp) in LibcxxStdVectorSyntheticFrontEnd() argument
72 : SyntheticChildrenFrontEnd(*valobj_sp), m_element_type() { in LibcxxStdVectorSyntheticFrontEnd()
73 if (valobj_sp) in LibcxxStdVectorSyntheticFrontEnd()
174 LibcxxVectorBoolSyntheticFrontEnd(lldb::ValueObjectSP valobj_sp) in LibcxxVectorBoolSyntheticFrontEnd() argument
175 : SyntheticChildrenFrontEnd(*valobj_sp), m_bool_type(), m_exe_ctx_ref(), in LibcxxVectorBoolSyntheticFrontEnd()
177 if (valobj_sp) { in LibcxxVectorBoolSyntheticFrontEnd()
180 valobj_sp->GetCompilerType().GetBasicTypeFromAST(lldb::eBasicTypeBool); in LibcxxVectorBoolSyntheticFrontEnd()
248 ValueObjectSP valobj_sp = m_backend.GetSP(); in Update() local
[all …]
H A DCoroutines.cpp19 static lldb::addr_t GetCoroFramePtrFromHandle(ValueObjectSP valobj_sp) { in GetCoroFramePtrFromHandle() argument
20 if (!valobj_sp) in GetCoroFramePtrFromHandle()
25 if (valobj_sp->GetNumChildren() != 1) in GetCoroFramePtrFromHandle()
27 ValueObjectSP ptr_sp(valobj_sp->GetChildAtIndex(0, true)); in GetCoroFramePtrFromHandle()
98 StdlibCoroutineHandleSyntheticFrontEnd(lldb::ValueObjectSP valobj_sp) in StdlibCoroutineHandleSyntheticFrontEnd() argument
99 : SyntheticChildrenFrontEnd(*valobj_sp) { in StdlibCoroutineHandleSyntheticFrontEnd()
100 if (valobj_sp) in StdlibCoroutineHandleSyntheticFrontEnd()
134 ValueObjectSP valobj_sp = m_backend.GetNonSyntheticValue(); in Update() local
135 if (!valobj_sp) in Update()
138 lldb::addr_t frame_ptr_addr = GetCoroFramePtrFromHandle(valobj_sp); in Update()
[all …]
H A DLibCxxRangesRefView.cpp26 LibcxxStdRangesRefViewSyntheticFrontEnd(lldb::ValueObjectSP valobj_sp);
56 LibcxxStdRangesRefViewSyntheticFrontEnd(lldb::ValueObjectSP valobj_sp) in LibcxxStdRangesRefViewSyntheticFrontEnd() argument
57 : SyntheticChildrenFrontEnd(*valobj_sp) { in LibcxxStdRangesRefViewSyntheticFrontEnd()
58 if (valobj_sp) in LibcxxStdRangesRefViewSyntheticFrontEnd()
77 lldb::ValueObjectSP valobj_sp) { in LibcxxStdRangesRefViewSyntheticFrontEndCreator() argument
78 if (!valobj_sp) in LibcxxStdRangesRefViewSyntheticFrontEndCreator()
80 CompilerType type = valobj_sp->GetCompilerType(); in LibcxxStdRangesRefViewSyntheticFrontEndCreator()
83 return new LibcxxStdRangesRefViewSyntheticFrontEnd(valobj_sp); in LibcxxStdRangesRefViewSyntheticFrontEndCreator()
H A DLibStdcppUniquePointer.cpp27 explicit LibStdcppUniquePtrSyntheticFrontEnd(lldb::ValueObjectSP valobj_sp);
57 lldb::ValueObjectSP valobj_sp) in LibStdcppUniquePtrSyntheticFrontEnd() argument
58 : SyntheticChildrenFrontEnd(*valobj_sp) { in LibStdcppUniquePtrSyntheticFrontEnd()
68 ValueObjectSP valobj_sp = valobj_backend_sp->GetNonSyntheticValue(); in GetTuple() local
69 if (!valobj_sp) in GetTuple()
73 valobj_sp->GetChildMemberWithName(ConstString("_M_t"), true); in GetTuple()
173 CXXSyntheticChildren *, lldb::ValueObjectSP valobj_sp) { in LibStdcppUniquePtrSyntheticFrontEndCreator() argument
174 return (valobj_sp ? new LibStdcppUniquePtrSyntheticFrontEnd(valobj_sp) in LibStdcppUniquePtrSyntheticFrontEndCreator()
H A DLibCxxSpan.cpp26 LibcxxStdSpanSyntheticFrontEnd(lldb::ValueObjectSP valobj_sp);
70 LibcxxStdSpanSyntheticFrontEnd(lldb::ValueObjectSP valobj_sp) in LibcxxStdSpanSyntheticFrontEnd() argument
71 : SyntheticChildrenFrontEnd(*valobj_sp) { in LibcxxStdSpanSyntheticFrontEnd()
72 if (valobj_sp) in LibcxxStdSpanSyntheticFrontEnd()
142 lldb::ValueObjectSP valobj_sp) { in LibcxxStdSpanSyntheticFrontEndCreator() argument
143 if (!valobj_sp) in LibcxxStdSpanSyntheticFrontEndCreator()
145 CompilerType type = valobj_sp->GetCompilerType(); in LibcxxStdSpanSyntheticFrontEndCreator()
148 return new LibcxxStdSpanSyntheticFrontEnd(valobj_sp); in LibcxxStdSpanSyntheticFrontEndCreator()
H A DLibCxxInitializerList.cpp25 LibcxxInitializerListSyntheticFrontEnd(lldb::ValueObjectSP valobj_sp);
49 LibcxxInitializerListSyntheticFrontEnd(lldb::ValueObjectSP valobj_sp) in LibcxxInitializerListSyntheticFrontEnd() argument
50 : SyntheticChildrenFrontEnd(*valobj_sp), m_element_type() { in LibcxxInitializerListSyntheticFrontEnd()
51 if (valobj_sp) in LibcxxInitializerListSyntheticFrontEnd()
119 CXXSyntheticChildren *, lldb::ValueObjectSP valobj_sp) { in LibcxxInitializerListSyntheticFrontEndCreator() argument
120 return (valobj_sp ? new LibcxxInitializerListSyntheticFrontEnd(valobj_sp) in LibcxxInitializerListSyntheticFrontEndCreator()
H A DLibStdcppTuple.cpp27 explicit LibStdcppTupleSyntheticFrontEnd(lldb::ValueObjectSP valobj_sp);
51 lldb::ValueObjectSP valobj_sp) in LibStdcppTupleSyntheticFrontEnd() argument
52 : SyntheticChildrenFrontEnd(*valobj_sp) { in LibStdcppTupleSyntheticFrontEnd()
109 CXXSyntheticChildren *, lldb::ValueObjectSP valobj_sp) { in LibStdcppTupleSyntheticFrontEndCreator() argument
110 return (valobj_sp ? new LibStdcppTupleSyntheticFrontEnd(valobj_sp) : nullptr); in LibStdcppTupleSyntheticFrontEndCreator()
H A DGenericOptional.cpp126 CXXSyntheticChildren *, lldb::ValueObjectSP valobj_sp) { in LibStdcppOptionalSyntheticFrontEndCreator() argument
127 if (valobj_sp) in LibStdcppOptionalSyntheticFrontEndCreator()
129 *valobj_sp, GenericOptionalFrontend::StdLib::LibStdcpp); in LibStdcppOptionalSyntheticFrontEndCreator()
134 CXXSyntheticChildren *, lldb::ValueObjectSP valobj_sp) { in LibcxxOptionalSyntheticFrontEndCreator() argument
135 if (valobj_sp) in LibcxxOptionalSyntheticFrontEndCreator()
136 return new GenericOptionalFrontend(*valobj_sp, in LibcxxOptionalSyntheticFrontEndCreator()
H A DLibCxxAtomic.cpp90 LibcxxStdAtomicSyntheticFrontEnd(lldb::ValueObjectSP valobj_sp);
111 LibcxxStdAtomicSyntheticFrontEnd(lldb::ValueObjectSP valobj_sp) in LibcxxStdAtomicSyntheticFrontEnd() argument
112 : SyntheticChildrenFrontEnd(*valobj_sp) {} in LibcxxStdAtomicSyntheticFrontEnd()
147 CXXSyntheticChildren *, lldb::ValueObjectSP valobj_sp) { in LibcxxAtomicSyntheticFrontEndCreator() argument
148 if (valobj_sp) in LibcxxAtomicSyntheticFrontEndCreator()
149 return new LibcxxStdAtomicSyntheticFrontEnd(valobj_sp); in LibcxxAtomicSyntheticFrontEndCreator()
H A DGenericBitset.cpp137 CXXSyntheticChildren *, lldb::ValueObjectSP valobj_sp) { in LibStdcppBitsetSyntheticFrontEndCreator() argument
138 if (valobj_sp) in LibStdcppBitsetSyntheticFrontEndCreator()
139 return new GenericBitsetFrontEnd(*valobj_sp, in LibStdcppBitsetSyntheticFrontEndCreator()
145 CXXSyntheticChildren *, lldb::ValueObjectSP valobj_sp) { in LibcxxBitsetSyntheticFrontEndCreator() argument
146 if (valobj_sp) in LibcxxBitsetSyntheticFrontEndCreator()
147 return new GenericBitsetFrontEnd(*valobj_sp, in LibcxxBitsetSyntheticFrontEndCreator()
H A DLibCxxList.cpp150 ListFrontEnd(lldb::ValueObjectSP valobj_sp);
310 ListFrontEnd::ListFrontEnd(lldb::ValueObjectSP valobj_sp) in ListFrontEnd() argument
311 : AbstractListFrontEnd(*valobj_sp) { in ListFrontEnd()
312 if (valobj_sp) in ListFrontEnd()
425 CXXSyntheticChildren *, lldb::ValueObjectSP valobj_sp) { in LibcxxStdListSyntheticFrontEndCreator() argument
426 return (valobj_sp ? new ListFrontEnd(valobj_sp) : nullptr); in LibcxxStdListSyntheticFrontEndCreator()
431 CXXSyntheticChildren *, lldb::ValueObjectSP valobj_sp) { in LibcxxStdForwardListSyntheticFrontEndCreator() argument
432 return valobj_sp ? new ForwardListFrontEnd(*valobj_sp) : nullptr; in LibcxxStdForwardListSyntheticFrontEndCreator()
H A DLibCxxVariant.cpp150 ValueObjectSP valobj_sp(valobj.GetNonSyntheticValue()); in LibcxxVariantSummaryProvider() local
151 if (!valobj_sp) in LibcxxVariantSummaryProvider()
155 *valobj_sp, {ConstString("__impl_"), ConstString("__impl")}); in LibcxxVariantSummaryProvider()
282 lldb::ValueObjectSP valobj_sp) { in LibcxxVariantFrontEndCreator() argument
283 if (valobj_sp) in LibcxxVariantFrontEndCreator()
284 return new VariantFrontEnd(*valobj_sp); in LibcxxVariantFrontEndCreator()
/openbsd-src/gnu/llvm/lldb/source/Plugins/Language/ObjC/
H A DNSSet.cpp45 NSSetISyntheticFrontEnd(lldb::ValueObjectSP valobj_sp);
72 lldb::ValueObjectSP valobj_sp; member
85 NSCFSetSyntheticFrontEnd(lldb::ValueObjectSP valobj_sp);
100 lldb::ValueObjectSP valobj_sp; member
116 GenericNSSetMSyntheticFrontEnd(lldb::ValueObjectSP valobj_sp);
134 lldb::ValueObjectSP valobj_sp; member
232 NSSetCodeRunningSyntheticFrontEnd(lldb::ValueObjectSP valobj_sp);
341 CXXSyntheticChildren *synth, lldb::ValueObjectSP valobj_sp) { in NSSetSyntheticFrontEndCreator() argument
342 lldb::ProcessSP process_sp(valobj_sp->GetProcessSP()); in NSSetSyntheticFrontEndCreator()
349 CompilerType valobj_type(valobj_sp->GetCompilerType()); in NSSetSyntheticFrontEndCreator()
[all …]
H A DNSArray.cpp49 NSArrayMSyntheticFrontEndBase(lldb::ValueObjectSP valobj_sp);
80 GenericNSArrayMSyntheticFrontEnd(lldb::ValueObjectSP valobj_sp);
213 GenericNSArrayISyntheticFrontEnd(lldb::ValueObjectSP valobj_sp);
301 NSArray0SyntheticFrontEnd(lldb::ValueObjectSP valobj_sp);
318 NSArray1SyntheticFrontEnd(lldb::ValueObjectSP valobj_sp);
463 NSArrayMSyntheticFrontEndBase(lldb::ValueObjectSP valobj_sp) in NSArrayMSyntheticFrontEndBase() argument
464 : SyntheticChildrenFrontEnd(*valobj_sp), m_exe_ctx_ref(), m_id_type() { in NSArrayMSyntheticFrontEndBase()
465 if (valobj_sp) { in NSArrayMSyntheticFrontEndBase()
467 *valobj_sp->GetExecutionContextRef().GetTargetSP()); in NSArrayMSyntheticFrontEndBase()
472 if (valobj_sp->GetProcessSP()) in NSArrayMSyntheticFrontEndBase()
[all …]
H A DNSDictionary.cpp103 NSDictionaryISyntheticFrontEnd(lldb::ValueObjectSP valobj_sp);
131 lldb::ValueObjectSP valobj_sp; member
146 NSConstantDictionarySyntheticFrontEnd(lldb::ValueObjectSP valobj_sp);
170 lldb::ValueObjectSP valobj_sp; member
178 NSCFDictionarySyntheticFrontEnd(lldb::ValueObjectSP valobj_sp);
194 lldb::ValueObjectSP valobj_sp; member
209 NSDictionary1SyntheticFrontEnd(lldb::ValueObjectSP valobj_sp);
230 GenericNSDictionaryMSyntheticFrontEnd(lldb::ValueObjectSP valobj_sp);
248 lldb::ValueObjectSP valobj_sp; member
263 NSDictionaryMSyntheticFrontEnd(lldb::ValueObjectSP valobj_sp);
[all …]
H A DNSException.cpp122 NSExceptionSyntheticFrontEnd(lldb::ValueObjectSP valobj_sp) in NSExceptionSyntheticFrontEnd() argument
123 : SyntheticChildrenFrontEnd(*valobj_sp) {} in NSExceptionSyntheticFrontEnd()
179 CXXSyntheticChildren *, lldb::ValueObjectSP valobj_sp) { in NSExceptionSyntheticFrontEndCreator() argument
180 lldb::ProcessSP process_sp(valobj_sp->GetProcessSP()); in NSExceptionSyntheticFrontEndCreator()
188 runtime->GetClassDescriptor(*valobj_sp.get())); in NSExceptionSyntheticFrontEndCreator()
199 return (new NSExceptionSyntheticFrontEnd(valobj_sp)); in NSExceptionSyntheticFrontEndCreator()
201 return (new NSExceptionSyntheticFrontEnd(valobj_sp)); in NSExceptionSyntheticFrontEndCreator()
203 return (new NSExceptionSyntheticFrontEnd(valobj_sp)); in NSExceptionSyntheticFrontEndCreator()
H A DNSError.cpp113 NSErrorSyntheticFrontEnd(lldb::ValueObjectSP valobj_sp) in NSErrorSyntheticFrontEnd() argument
114 : SyntheticChildrenFrontEnd(*valobj_sp) {} in NSErrorSyntheticFrontEnd()
191 CXXSyntheticChildren *, lldb::ValueObjectSP valobj_sp) { in NSErrorSyntheticFrontEndCreator() argument
192 lldb::ProcessSP process_sp(valobj_sp->GetProcessSP()); in NSErrorSyntheticFrontEndCreator()
200 runtime->GetClassDescriptor(*valobj_sp.get())); in NSErrorSyntheticFrontEndCreator()
211 return (new NSErrorSyntheticFrontEnd(valobj_sp)); in NSErrorSyntheticFrontEndCreator()
213 return (new NSErrorSyntheticFrontEnd(valobj_sp)); in NSErrorSyntheticFrontEndCreator()
/openbsd-src/gnu/llvm/lldb/source/Core/
H A DValueObjectList.cpp40 lldb::ValueObjectSP valobj_sp; in GetValueObjectAtIndex() local
42 valobj_sp = m_value_objects[idx]; in GetValueObjectAtIndex()
43 return valobj_sp; in GetValueObjectAtIndex()
47 lldb::ValueObjectSP valobj_sp; in RemoveValueObjectAtIndex() local
49 valobj_sp = m_value_objects[idx]; in RemoveValueObjectAtIndex()
52 return valobj_sp; in RemoveValueObjectAtIndex()
56 const ValueObjectSP &valobj_sp) { in SetValueObjectAtIndex() argument
59 m_value_objects[idx] = valobj_sp; in SetValueObjectAtIndex()
77 ValueObjectSP valobj_sp; in FindValueObjectByUID() local
85 valobj_sp = *pos; in FindValueObjectByUID()
[all …]
/openbsd-src/gnu/llvm/lldb/source/Target/
H A DStackFrame.cpp533 ValueObjectSP valobj_sp; in GetValueForVariableExpressionPath() local
609 valobj_sp = GetValueObjectForFrameVariable(variable_sp, use_dynamic); in GetValueForVariableExpressionPath()
610 if (!valobj_sp) in GetValueForVariableExpressionPath()
611 return valobj_sp; in GetValueForVariableExpressionPath()
612 valobj_sp = valobj_sp->GetChildMemberWithName(name_const_string, true); in GetValueForVariableExpressionPath()
613 if (valobj_sp) in GetValueForVariableExpressionPath()
618 if (var_sp && !valobj_sp) { in GetValueForVariableExpressionPath()
619 valobj_sp = GetValueObjectForFrameVariable(var_sp, use_dynamic); in GetValueForVariableExpressionPath()
620 if (!valobj_sp) in GetValueForVariableExpressionPath()
621 return valobj_sp; in GetValueForVariableExpressionPath()
[all …]
/openbsd-src/gnu/llvm/lldb/source/Commands/
H A DCommandObjectDWIMPrint.cpp46 auto valobj_sp = frame->FindVariable(ConstString(expr)); in DoExecute() local
47 if (valobj_sp && valobj_sp->GetError().Success()) { in DoExecute()
50 valobj_sp->Dump(result.GetOutputStream()); in DoExecute()
63 ValueObjectSP valobj_sp; in DoExecute() local
64 if (target.EvaluateExpression(expr, exe_scope, valobj_sp) == in DoExecute()
68 valobj_sp->Dump(result.GetOutputStream()); in DoExecute()
72 if (valobj_sp) in DoExecute()
73 result.SetError(valobj_sp->GetError()); in DoExecute()
H A DCommandObjectFrame.cpp140 ValueObjectSP valobj_sp; in DoExecute() local
148 valobj_sp = frame_sp->GuessValueForAddress(*m_options.address); in DoExecute()
150 valobj_sp = frame_sp->GuessValueForRegisterAndOffset( in DoExecute()
159 valobj_sp = StopInfo::GetCrashingDereference(stop_info_sp); in DoExecute()
162 if (!valobj_sp) { in DoExecute()
168 [&valobj_sp](ConstString type, ConstString var, in DoExecute()
173 valobj_sp->GetExpressionPath(stream, format); in DoExecute()
180 ValueObjectPrinter printer(valobj_sp.get(), &result.GetOutputStream(), in DoExecute()
496 ValueObjectSP valobj_sp; in DoExecute() local
542 valobj_sp = frame->GetValueObjectForFrameVariable( in DoExecute()
[all …]
/openbsd-src/gnu/llvm/lldb/source/DataFormatters/
H A DTypeSynthetic.cpp100 ValueObjectSP valobj_sp( in CreateValueObjectFromExpression() local
102 if (valobj_sp) in CreateValueObjectFromExpression()
103 valobj_sp->SetSyntheticChildrenGenerated(true); in CreateValueObjectFromExpression()
104 return valobj_sp; in CreateValueObjectFromExpression()
110 ValueObjectSP valobj_sp( in CreateValueObjectFromAddress() local
112 if (valobj_sp) in CreateValueObjectFromAddress()
113 valobj_sp->SetSyntheticChildrenGenerated(true); in CreateValueObjectFromAddress()
114 return valobj_sp; in CreateValueObjectFromAddress()
120 ValueObjectSP valobj_sp( in CreateValueObjectFromData() local
122 if (valobj_sp) in CreateValueObjectFromData()
[all …]
/openbsd-src/gnu/llvm/lldb/source/Interpreter/
H A DOptionArgParser.cpp183 lldb::ValueObjectSP valobj_sp; in ToAddress() local
191 target->EvaluateExpression(s, exe_ctx->GetFramePtr(), valobj_sp, options); in ToAddress()
195 if (valobj_sp) in ToAddress()
196 valobj_sp = valobj_sp->GetQualifiedRepresentationIfAvailable( in ToAddress()
197 valobj_sp->GetDynamicValueType(), true); in ToAddress()
199 if (valobj_sp) in ToAddress()
200 addr = valobj_sp->GetValueAsUnsigned(fail_value, &success); in ToAddress()
211 s.str().c_str(), valobj_sp->GetTypeName().GetCString()); in ToAddress()

123