| /src/contrib/llvm-project/lldb/source/API/ |
| H A D | SBValue.cpp | 114 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 D | SBFrame.cpp | 482 ValueObjectSP value_sp(frame->GetValueForVariableExpressionPath( in GetValueForVariablePath() local 487 sb_value.SetSP(value_sp, use_dynamic); in GetValueForVariablePath() 522 ValueObjectSP value_sp; in FindVariable() local 534 value_sp = frame->FindVariable(ConstString(name)); in FindVariable() 536 if (value_sp) in FindVariable() 537 sb_value.SetSP(value_sp, use_dynamic); in FindVariable() 572 ValueObjectSP value_sp; in FindValue() local 617 value_sp = frame->GetValueObjectForFrameVariable(variable_sp, in FindValue() 619 sb_value.SetSP(value_sp, use_dynamic); in FindValue() 629 value_sp = ValueObjectRegister::Create(frame, reg_ctx, reg_info); in FindValue() [all …]
|
| H A D | SBTypeSummary.cpp | 302 lldb::ValueObjectSP value_sp = value.GetSP(); in DoesPrintValue() local 303 return m_opaque_sp->DoesPrintValue(value_sp.get()); in DoesPrintValue()
|
| /src/contrib/llvm-project/lldb/include/lldb/Interpreter/ |
| H A D | OptionValueArray.h | 57 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 D | Property.h | 40 const lldb::OptionValueSP &value_sp); 47 void SetOptionValue(const lldb::OptionValueSP &value_sp) { in SetOptionValue() argument 48 m_value_sp = value_sp; in SetOptionValue()
|
| H A D | OptionValueDictionary.h | 70 bool SetValueForKey(llvm::StringRef key, const lldb::OptionValueSP &value_sp,
|
| /src/contrib/llvm-project/lldb/source/Interpreter/ |
| H A D | OptionValueProperties.cpp | 45 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 D | OptionValueDictionary.cpp | 186 lldb::OptionValueSP value_sp(CreateValueFromCStringForTypeMask( in SetArgs() local 188 if (value_sp) { in SetArgs() 192 SetValueForKey(key, value_sp, true); in SetArgs() 238 lldb::OptionValueSP value_sp; in GetSubValue() local 272 value_sp = GetValueForKey(key); in GetSubValue() 273 if (!value_sp) { in GetSubValue() 281 return value_sp; in GetSubValue() 282 return value_sp->GetSubValue(exe_ctx, sub_name, error); in GetSubValue() 290 lldb::OptionValueSP value_sp(GetSubValue(exe_ctx, name, error)); in SetSubValue() local 291 if (value_sp) in SetSubValue() [all …]
|
| H A D | OptionValueArray.cpp | 185 lldb::OptionValueSP value_sp(CreateValueFromCStringForTypeMask( in SetArgs() local 187 if (value_sp) { in SetArgs() 191 m_values.push_back(value_sp); in SetArgs() 193 m_values.insert(m_values.begin() + idx, value_sp); in SetArgs() 263 lldb::OptionValueSP value_sp(CreateValueFromCStringForTypeMask( in SetArgs() local 265 if (value_sp) { in SetArgs() 269 m_values[idx] = value_sp; in SetArgs() 271 m_values.push_back(value_sp); in SetArgs() 291 lldb::OptionValueSP value_sp(CreateValueFromCStringForTypeMask( in SetArgs() local 293 if (value_sp) { in SetArgs() [all …]
|
| H A D | OptionValue.cpp | 531 lldb::OptionValueSP value_sp; in CreateValueFromCStringForTypeMask() local 534 value_sp = std::make_shared<OptionValueArch>(); in CreateValueFromCStringForTypeMask() 537 value_sp = std::make_shared<OptionValueBoolean>(false); in CreateValueFromCStringForTypeMask() 540 value_sp = std::make_shared<OptionValueChar>('\0'); in CreateValueFromCStringForTypeMask() 543 value_sp = std::make_shared<OptionValueFileSpec>(); in CreateValueFromCStringForTypeMask() 546 value_sp = std::make_shared<OptionValueFormat>(eFormatInvalid); in CreateValueFromCStringForTypeMask() 549 value_sp = std::make_shared<OptionValueFormatEntity>(nullptr); in CreateValueFromCStringForTypeMask() 552 value_sp = std::make_shared<OptionValueLanguage>(eLanguageTypeUnknown); in CreateValueFromCStringForTypeMask() 555 value_sp = std::make_shared<OptionValueSInt64>(); in CreateValueFromCStringForTypeMask() 558 value_sp = std::make_shared<OptionValueString>(); in CreateValueFromCStringForTypeMask() [all …]
|
| H A D | OptionValueUInt64.cpp | 18 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 D | Property.cpp | 233 const lldb::OptionValueSP &value_sp) in Property() argument 234 : m_name(name), m_description(desc), m_value_sp(value_sp), in Property()
|
| /src/contrib/llvm-project/lldb/source/Plugins/Instruction/ARM/ |
| H A D | EmulationStateARM.cpp | 266 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 …]
|
| /src/contrib/llvm-project/lldb/source/Plugins/ABI/PowerPC/ |
| H A D | ABISysV_ppc64.cpp | 519 ValueSP value_sp; in GetValue() local 523 value_sp = GetIntegerValue(0); in GetValue() 529 value_sp = GetFloatValue(m_type, 0); in GetValue() 533 value_sp = GetPointerValue(0); in GetValue() 536 if (value_sp) { in GetValue() 538 m_thread.GetStackFrameAtIndex(0).get(), *value_sp, ConstString("")); in GetValue() 577 ValueSP value_sp(new Value); in NewScalarValue() local 578 value_sp->SetCompilerType(type); in NewScalarValue() 579 value_sp->SetValueType(Value::ValueType::Scalar); in NewScalarValue() 580 return value_sp; in NewScalarValue() [all …]
|
| /src/contrib/llvm-project/lldb/include/lldb/Utility/ |
| H A D | StructuredData.h | 425 ObjectSP value_sp = GetValueForKey(key); in GetValueForKeyAsBoolean() local 426 if (value_sp.get()) { in GetValueForKeyAsBoolean() 427 Boolean *result_ptr = value_sp->GetAsBoolean(); in GetValueForKeyAsBoolean() 438 ObjectSP value_sp = GetValueForKey(key); in GetValueForKeyAsInteger() local 439 if (value_sp) { in GetValueForKeyAsInteger() 441 if (auto signed_value = value_sp->GetAsSignedInteger()) { in GetValueForKeyAsInteger() 446 if (auto unsigned_value = value_sp->GetAsUnsignedInteger()) { in GetValueForKeyAsInteger() 466 ObjectSP value_sp = GetValueForKey(key); in GetValueForKeyAsString() local 467 if (value_sp.get()) { in GetValueForKeyAsString() 468 if (auto string_value = value_sp->GetAsString()) { in GetValueForKeyAsString() [all …]
|
| /src/contrib/llvm-project/lldb/source/Plugins/Language/CPlusPlus/ |
| H A D | LibCxxUnorderedMap.cpp | 135 ValueObjectSP value_sp = node_sp->GetChildMemberWithName("__value_"); in GetChildAtIndex() local 137 if (!hash_sp || !value_sp) { in GetChildAtIndex() 178 value_sp = node_sp->GetChildMemberWithName("__value_"); in GetChildAtIndex() 179 if (!value_sp) { in GetChildAtIndex() 191 value_sp = anon_union_sp->GetChildMemberWithName("__value_"); in GetChildAtIndex() 192 if (!value_sp) in GetChildAtIndex() 197 {value_sp.get(), hash_sp->GetValueAsUnsigned(0)}); in GetChildAtIndex() 241 ValueObjectSP value_sp = GetFirstValueOfLibCXXCompressedPair(*p1_sp); in Update() local 242 if (!value_sp) in Update() 245 m_tree = value_sp->GetChildMemberWithName("__next_").get(); in Update()
|
| H A D | LibStdcppTuple.cpp | 75 ValueObjectSP value_sp = in Update() local 77 if (value_sp) { in Update() 80 m_members.push_back(value_sp->Clone(ConstString(name.GetString())).get()); in Update()
|
| H A D | LibCxx.cpp | 254 ValueObjectSP value_sp = cast_ptr_sp->Dereference(status); in GetChildAtIndex() local 256 return value_sp; in GetChildAtIndex() 345 auto value_sp = m_value_ptr_sp->Dereference(status); in GetChildAtIndex() local 347 return value_sp; in GetChildAtIndex()
|
| H A D | LibCxxList.cpp | 233 ValueObjectSP value_sp = current.advance(advance); in GetItem() local 235 return value_sp; in GetItem()
|
| /src/contrib/llvm-project/lldb/source/Plugins/Language/ObjC/ |
| H A D | CoreMedia.cpp | 37 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()
|
| /src/contrib/llvm-project/lldb/source/Core/ |
| H A D | Disassembler.cpp | 251 OptionValueSP value_sp = target_sp->GetDebugger().GetPropertyValue( in ElideMixedSourceAndDisassemblyLine() local 253 if (value_sp && value_sp->GetType() == OptionValue::eTypeRegex) { in ElideMixedSourceAndDisassemblyLine() 254 OptionValueRegex *re = value_sp->GetAsRegex(); in ElideMixedSourceAndDisassemblyLine() 815 lldb::OptionValueSP value_sp; in ReadDictionary() local 822 value_sp = ReadDictionary(in_file, out_stream); in ReadDictionary() 823 if (!value_sp) { in ReadDictionary() 830 value_sp = ReadArray(in_file, out_stream, data_type); in ReadDictionary() 831 if (!value_sp) { in ReadDictionary() 839 value_sp = std::make_shared<OptionValueUInt64>(0, 0); in ReadDictionary() 840 value_sp->SetValueFromString(value); in ReadDictionary() [all …]
|
| /src/contrib/llvm-project/lldb/source/Utility/ |
| H A D | StructuredData.cpp | 91 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()
|
| /src/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/CPlusPlus/ |
| H A D | CPPLanguageRuntime.cpp | 388 ValueObjectSP value_sp = frame->FindVariable(g_this); in GetStepThroughTrampolinePlan() local 391 FindLibCppStdFunctionCallableInfo(value_sp); in GetStepThroughTrampolinePlan() 394 value_sp->GetValueIsValid()) { in GetStepThroughTrampolinePlan()
|
| /src/contrib/llvm-project/lldb/source/Commands/ |
| H A D | CommandObjectRegister.cpp | 250 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()
|
| /src/contrib/llvm-project/lldb/bindings/python/ |
| H A D | python-swigsafecast.swig | 12 PythonObject SWIGBridge::ToSWIGWrapper(lldb::ValueObjectSP value_sp) { 13 return ToSWIGWrapper(std::unique_ptr<lldb::SBValue>(new lldb::SBValue(value_sp)));
|