Home
last modified time | relevance | path

Searched refs:value_sp (Results 1 – 25 of 38) sorted by relevance

12

/freebsd/contrib/llvm-project/lldb/source/API/
H A DSBValue.cpp114 lldb::ValueObjectSP value_sp = m_valobj_sp; in GetSP() local
116 Target *target = value_sp->GetTargetSP().get(); in GetSP()
118 if (value_sp->GetError().Fail()) in GetSP()
119 return value_sp; in GetSP()
126 ProcessSP process_sp(value_sp->GetProcessSP()); in GetSP()
136 ValueObjectSP dynamic_sp = value_sp->GetDynamicValue(m_use_dynamic); in GetSP()
138 value_sp = dynamic_sp; in GetSP()
142 ValueObjectSP synthetic_sp = value_sp->GetSyntheticValue(); in GetSP()
144 value_sp = synthetic_sp; in GetSP()
147 if (!value_sp) in GetSP()
[all …]
H A DSBFrame.cpp483 ValueObjectSP value_sp(frame->GetValueForVariableExpressionPath( in GetValueForVariablePath() local
488 sb_value.SetSP(value_sp, use_dynamic); in GetValueForVariablePath()
523 ValueObjectSP value_sp; in FindVariable() local
535 value_sp = frame->FindVariable(ConstString(name)); in FindVariable()
537 if (value_sp) in FindVariable()
538 sb_value.SetSP(value_sp, use_dynamic); in FindVariable()
573 ValueObjectSP value_sp; in FindValue() local
618 value_sp = frame->GetValueObjectForFrameVariable(variable_sp, in FindValue()
620 sb_value.SetSP(value_sp, use_dynamic); in FindValue()
630 value_sp = ValueObjectRegister::Create(frame, reg_ctx, reg_info); in FindValue()
[all …]
/freebsd/contrib/llvm-project/lldb/include/lldb/Interpreter/
H A DOptionValueArray.h57 lldb::OptionValueSP value_sp; variable
59 value_sp = m_values[idx];
60 return value_sp;
64 lldb::OptionValueSP value_sp; in GetValueAtIndex() local
66 value_sp = m_values[idx]; in GetValueAtIndex()
67 return value_sp; in GetValueAtIndex()
70 bool AppendValue(const lldb::OptionValueSP &value_sp) { in AppendValue() argument
73 if (value_sp && (m_type_mask & value_sp->GetTypeAsMask())) { in AppendValue()
74 m_values.push_back(value_sp); in AppendValue()
80 bool InsertValue(size_t idx, const lldb::OptionValueSP &value_sp) { in InsertValue() argument
[all …]
H A DProperty.h40 const lldb::OptionValueSP &value_sp);
47 void SetOptionValue(const lldb::OptionValueSP &value_sp) { in SetOptionValue() argument
48 m_value_sp = value_sp; in SetOptionValue()
/freebsd/contrib/llvm-project/lldb/source/Interpreter/
H A DOptionValueProperties.cpp45 const OptionValueSP &value_sp) { in AppendProperty() argument
46 Property property(name, desc, is_global, value_sp); in AppendProperty()
49 value_sp->SetParent(shared_from_this()); in AppendProperty()
67 lldb::OptionValueSP value_sp; in GetSubValue() local
80 value_sp = GetValueForKey(exe_ctx, key); in GetSubValue()
81 if (sub_name.empty() || !value_sp) in GetSubValue()
82 return value_sp; in GetSubValue()
88 value_sp->GetSubValue(exe_ctx, sub_name.drop_front(), error); in GetSubValue()
94 return_val_sp = value_sp->GetSubValue( in GetSubValue()
106 return value_sp->GetSubValue(exe_ctx, sub_name, error); in GetSubValue()
[all …]
H A DOptionValueDictionary.cpp186 lldb::OptionValueSP value_sp(CreateValueFromCStringForTypeMask( in SetArgs() local
188 if (value_sp) { in SetArgs()
192 SetValueForKey(key, value_sp, true); in SetArgs()
240 lldb::OptionValueSP value_sp; in GetSubValue() local
277 value_sp = GetValueForKey(key); in GetSubValue()
278 if (!value_sp) { in GetSubValue()
286 return value_sp; in GetSubValue()
287 return value_sp->GetSubValue(exe_ctx, sub_name, error); in GetSubValue()
295 lldb::OptionValueSP value_sp(GetSubValue(exe_ctx, name, error)); in SetSubValue() local
296 if (value_sp) in SetSubValue()
[all …]
H A DOptionValueArray.cpp187 lldb::OptionValueSP value_sp(CreateValueFromCStringForTypeMask( in SetArgs() local
189 if (value_sp) { in SetArgs()
193 m_values.push_back(value_sp); in SetArgs()
195 m_values.insert(m_values.begin() + idx, value_sp); in SetArgs()
267 lldb::OptionValueSP value_sp(CreateValueFromCStringForTypeMask( in SetArgs() local
269 if (value_sp) { in SetArgs()
273 m_values[idx] = value_sp; in SetArgs()
275 m_values.push_back(value_sp); in SetArgs()
296 lldb::OptionValueSP value_sp(CreateValueFromCStringForTypeMask( in SetArgs() local
298 if (value_sp) { in SetArgs()
[all …]
H A DOptionValue.cpp538 lldb::OptionValueSP value_sp; in CreateValueFromCStringForTypeMask() local
541 value_sp = std::make_shared<OptionValueArch>(); in CreateValueFromCStringForTypeMask()
544 value_sp = std::make_shared<OptionValueBoolean>(false); in CreateValueFromCStringForTypeMask()
547 value_sp = std::make_shared<OptionValueChar>('\0'); in CreateValueFromCStringForTypeMask()
550 value_sp = std::make_shared<OptionValueFileSpec>(); in CreateValueFromCStringForTypeMask()
553 value_sp = std::make_shared<OptionValueFormat>(eFormatInvalid); in CreateValueFromCStringForTypeMask()
556 value_sp = std::make_shared<OptionValueFormatEntity>(nullptr); in CreateValueFromCStringForTypeMask()
559 value_sp = std::make_shared<OptionValueLanguage>(eLanguageTypeUnknown); in CreateValueFromCStringForTypeMask()
562 value_sp = std::make_shared<OptionValueSInt64>(); in CreateValueFromCStringForTypeMask()
565 value_sp = std::make_shared<OptionValueString>(); in CreateValueFromCStringForTypeMask()
[all …]
H A DOptionValueUInt64.cpp18 lldb::OptionValueSP value_sp(new OptionValueUInt64()); in Create() local
19 error = value_sp->SetValueFromString(value_str); in Create()
21 value_sp.reset(); in Create()
22 return value_sp; in Create()
H A DProperty.cpp233 const lldb::OptionValueSP &value_sp) in Property() argument
234 : m_name(name), m_description(desc), m_value_sp(value_sp), in Property()
/freebsd/contrib/llvm-project/lldb/include/lldb/Utility/
H A DStructuredData.h425 ObjectSP value_sp = GetValueForKey(key);
426 if (value_sp.get()) {
427 Boolean *result_ptr = value_sp->GetAsBoolean();
438 ObjectSP value_sp = GetValueForKey(key); in Dictionary()
439 if (value_sp) { in Dictionary()
441 if (auto signed_value = value_sp->GetAsSignedInteger()) {
446 if (auto unsigned_value = value_sp->GetAsUnsignedInteger()) { in ForEach()
466 ObjectSP value_sp = GetValueForKey(key); in GetValueForKey()
467 if (value_sp.get()) { in GetValueForKey()
468 if (auto string_value = value_sp in GetValueForKey()
224 ObjectSP value_sp = GetItemAtIndex(idx); GetItemAtIndexAsInteger() local
251 ObjectSP value_sp = GetItemAtIndex(idx); GetItemAtIndexAsString() local
270 ObjectSP value_sp = GetItemAtIndex(idx); GetItemAtIndexAsString() local
290 ObjectSP value_sp = GetItemAtIndex(idx); GetItemAtIndexAsDictionary() local
300 ObjectSP value_sp = GetItemAtIndex(idx); GetItemAtIndexAsArray() local
465 ObjectSP value_sp; GetValueForKey() local
477 ObjectSP value_sp = GetValueForKey(key); GetValueForKeyAsBoolean() local
490 ObjectSP value_sp = GetValueForKey(key); GetValueForKeyAsInteger() local
518 ObjectSP value_sp = GetValueForKey(key); GetValueForKeyAsString() local
543 ObjectSP value_sp = GetValueForKey(key); GetValueForKeyAsDictionary() local
553 ObjectSP value_sp = GetValueForKey(key); GetValueForKeyAsArray() local
567 AddItem(llvm::StringRef key,ObjectSP value_sp) AddItem() argument
[all...]
/freebsd/contrib/llvm-project/lldb/source/Plugins/Instruction/ARM/
H A DEmulationStateARM.cpp266 OptionValueSP value_sp = reg_dict->GetValueForKey(sstr.GetString()); in LoadRegistersStateFromDictionary() local
267 if (value_sp.get() == nullptr) in LoadRegistersStateFromDictionary()
269 uint64_t reg_value = value_sp->GetValueAs<uint64_t>().value_or(0); in LoadRegistersStateFromDictionary()
284 OptionValueSP value_sp = test_data->GetValueForKey(memory_key); in LoadStateFromDictionary() local
288 if (value_sp.get() != nullptr) { in LoadStateFromDictionary()
293 OptionValueDictionary *mem_dict = value_sp->GetAsDictionary(); in LoadStateFromDictionary()
294 value_sp = mem_dict->GetValueForKey(address_key); in LoadStateFromDictionary()
295 if (value_sp.get() == nullptr) in LoadStateFromDictionary()
298 start_address = value_sp->GetValueAs<uint64_t>().value_or(0); in LoadStateFromDictionary()
300 value_sp = mem_dict->GetValueForKey(data_key); in LoadStateFromDictionary()
[all …]
/freebsd/contrib/llvm-project/lldb/source/ValueObject/
H A DDILEval.cpp58 lldb::ValueObjectSP value_sp; in LookupGlobalIdentifier() local
63 value_sp = in LookupGlobalIdentifier()
67 if (value_sp) in LookupGlobalIdentifier()
68 return value_sp; in LookupGlobalIdentifier()
80 value_sp = ValueObjectVariable::Create(stack_frame.get(), var_sp); in LookupGlobalIdentifier()
82 if (value_sp) in LookupGlobalIdentifier()
83 return value_sp; in LookupGlobalIdentifier()
110 lldb::ValueObjectSP value_sp; in LookupIdentifier() local
115 value_sp = in LookupIdentifier()
119 if (value_sp) in LookupIdentifier()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/ABI/PowerPC/
H A DABISysV_ppc64.cpp522 ValueSP value_sp; in GetValue() local
526 value_sp = GetIntegerValue(0); in GetValue()
532 value_sp = GetFloatValue(m_type, 0); in GetValue()
536 value_sp = GetPointerValue(0); in GetValue()
539 if (value_sp) { in GetValue()
541 m_thread.GetStackFrameAtIndex(0).get(), *value_sp, ConstString("")); in GetValue()
581 ValueSP value_sp(new Value); in NewScalarValue() local
582 value_sp->SetCompilerType(type); in NewScalarValue()
583 value_sp->SetValueType(Value::ValueType::Scalar); in NewScalarValue()
584 return value_sp; in NewScalarValue()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/Language/ObjC/
H A DCoreMedia.cpp37 auto value_sp(valobj.GetSyntheticChildAtOffset(0, int64_ty, true)); in CMTimeSummaryProvider() local
41 if (!value_sp || !timescale_sp || !flags_sp) in CMTimeSummaryProvider()
44 auto value = value_sp->GetValueAsUnsigned(0); in CMTimeSummaryProvider()
/freebsd/contrib/llvm-project/lldb/source/Plugins/Language/CPlusPlus/
H A DLibCxxUnorderedMap.cpp164 ValueObjectSP value_sp = node_sp->GetChildMemberWithName("__value_"); in GetChildAtIndex() local
166 if (!hash_sp || !value_sp) { in GetChildAtIndex()
176 value_sp = node_sp->GetChildMemberWithName("__value_"); in GetChildAtIndex()
177 if (!value_sp) { in GetChildAtIndex()
189 value_sp = anon_union_sp->GetChildMemberWithName("__value_"); in GetChildAtIndex()
190 if (!value_sp) in GetChildAtIndex()
195 {value_sp.get(), hash_sp->GetValueAsUnsigned(0)}); in GetChildAtIndex()
H A DLibStdcppTuple.cpp73 ValueObjectSP value_sp = in Update() local
75 if (value_sp) { in Update()
78 m_members.push_back(value_sp->Clone(ConstString(name.GetString())).get()); in Update()
H A DMsvcStlSmartPointer.cpp134 ValueObjectSP value_sp = m_ptr_obj->Dereference(status); in GetChildAtIndex() local
136 return value_sp; in GetChildAtIndex()
234 auto value_sp = m_value_ptr_sp->Dereference(status); in GetChildAtIndex() local
236 return value_sp; in GetChildAtIndex()
H A DLibStdcppUniquePointer.cpp122 auto value_sp = m_ptr_obj->Dereference(status); in GetChildAtIndex() local
124 return value_sp; in GetChildAtIndex()
H A DLibStdcpp.cpp277 ValueObjectSP value_sp = m_ptr_obj->Dereference(status); in GetChildAtIndex() local
279 return value_sp; in GetChildAtIndex()
/freebsd/contrib/llvm-project/lldb/source/Core/
H A DDisassembler.cpp260 OptionValueSP value_sp = target_sp->GetDebugger().GetPropertyValue( in ElideMixedSourceAndDisassemblyLine() local
262 if (value_sp && value_sp->GetType() == OptionValue::eTypeRegex) { in ElideMixedSourceAndDisassemblyLine()
263 OptionValueRegex *re = value_sp->GetAsRegex(); in ElideMixedSourceAndDisassemblyLine()
849 lldb::OptionValueSP value_sp; in ReadDictionary() local
856 value_sp = ReadDictionary(in_file, out_stream); in ReadDictionary()
857 if (!value_sp) { in ReadDictionary()
864 value_sp = ReadArray(in_file, out_stream, data_type); in ReadDictionary()
865 if (!value_sp) { in ReadDictionary()
873 value_sp = std::make_shared<OptionValueUInt64>(0, 0); in ReadDictionary()
874 value_sp->SetValueFromString(value); in ReadDictionary()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Utility/
H A DStructuredData.cpp91 if (StructuredData::ObjectSP value_sp = ParseJSONValue(value)) in ParseJSONObject() local
92 dict_up->AddItem(key, value_sp); in ParseJSONObject()
100 if (StructuredData::ObjectSP value_sp = ParseJSONValue(value)) in ParseJSONArray() local
101 array_up->AddItem(value_sp); in ParseJSONArray()
/freebsd/contrib/llvm-project/lldb/source/Commands/
H A DCommandObjectRegister.cpp250 OptionValueSP value_sp(OptionValueUInt64::Create(option_value, error)); in SetOptionValue() local
251 if (value_sp) in SetOptionValue()
252 set_indexes.AppendValue(value_sp); in SetOptionValue()
/freebsd/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/CPlusPlus/
H A DCPPLanguageRuntime.cpp454 ValueObjectSP value_sp = frame->FindVariable(g_this); in GetStepThroughTrampolinePlan() local
457 FindLibCppStdFunctionCallableInfo(value_sp); in GetStepThroughTrampolinePlan()
460 value_sp->GetValueIsValid()) { in GetStepThroughTrampolinePlan()
/freebsd/contrib/llvm-project/lldb/bindings/python/
H A Dpython-swigsafecast.swig16 PythonObject SWIGBridge::ToSWIGWrapper(lldb::ValueObjectSP value_sp) {
17 return ToSWIGWrapper(std::unique_ptr<lldb::SBValue>(new lldb::SBValue(value_sp)));

12