• Home
  • Raw
  • Download

Lines Matching refs:value_sp

118         lldb::ValueObjectSP value_sp = m_valobj_sp;  in GetSP()  local
120 Target *target = value_sp->GetTargetSP().get(); in GetSP()
124 ProcessSP process_sp(value_sp->GetProcessSP()); in GetSP()
130 log->Printf ("SBValue(%p)::GetSP() => error: process is running", value_sp.get()); in GetSP()
135 if (value_sp->GetDynamicValue(m_use_dynamic)) in GetSP()
136 value_sp = value_sp->GetDynamicValue(m_use_dynamic); in GetSP()
137 if (value_sp->GetSyntheticValue(m_use_synthetic)) in GetSP()
138 value_sp = value_sp->GetSyntheticValue(m_use_synthetic); in GetSP()
139 if (!value_sp) in GetSP()
142 value_sp->SetName(m_name); in GetSP()
144 return value_sp; in GetSP()
249 SBValue::SBValue (const lldb::ValueObjectSP &value_sp) in SBValue() argument
251 SetSP(value_sp); in SBValue()
294 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetError() local
295 if (value_sp) in GetError()
296 sb_error.SetError(value_sp->GetError()); in GetError()
307 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetID() local
308 if (value_sp) in GetID()
309 return value_sp->GetID(); in GetID()
318 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetName() local
319 if (value_sp) in GetName()
320 name = value_sp->GetName().GetCString(); in GetName()
326 log->Printf ("SBValue(%p)::GetName () => \"%s\"", value_sp.get(), name); in GetName()
328 log->Printf ("SBValue(%p)::GetName () => NULL", value_sp.get()); in GetName()
340 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetTypeName() local
341 if (value_sp) in GetTypeName()
343 name = value_sp->GetQualifiedTypeName().GetCString(); in GetTypeName()
349 log->Printf ("SBValue(%p)::GetTypeName () => \"%s\"", value_sp.get(), name); in GetTypeName()
351 log->Printf ("SBValue(%p)::GetTypeName () => NULL", value_sp.get()); in GetTypeName()
364 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetByteSize() local
365 if (value_sp) in GetByteSize()
367 result = value_sp->GetByteSize(); in GetByteSize()
371 log->Printf ("SBValue(%p)::GetByteSize () => %" PRIu64, value_sp.get(), (uint64_t)result); in GetByteSize()
382 lldb::ValueObjectSP value_sp(GetSP(locker)); in IsInScope() local
383 if (value_sp) in IsInScope()
385 result = value_sp->IsInScope (); in IsInScope()
390 log->Printf ("SBValue(%p)::IsInScope () => %i", value_sp.get(), result); in IsInScope()
402 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetValue() local
403 if (value_sp) in GetValue()
405 cstr = value_sp->GetValueAsCString (); in GetValue()
410 log->Printf ("SBValue(%p)::GetValue() => \"%s\"", value_sp.get(), cstr); in GetValue()
412 log->Printf ("SBValue(%p)::GetValue() => NULL", value_sp.get()); in GetValue()
423 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetValueType() local
424 if (value_sp) in GetValueType()
425 result = value_sp->GetValueType(); in GetValueType()
432 …: log->Printf ("SBValue(%p)::GetValueType () => eValueTypeInvalid", value_sp.get()); break; in GetValueType()
433 …: log->Printf ("SBValue(%p)::GetValueType () => eValueTypeVariableGlobal", value_sp.get()); break; in GetValueType()
434 …: log->Printf ("SBValue(%p)::GetValueType () => eValueTypeVariableStatic", value_sp.get()); break; in GetValueType()
435 …:log->Printf ("SBValue(%p)::GetValueType () => eValueTypeVariableArgument", value_sp.get()); break; in GetValueType()
436 …: log->Printf ("SBValue(%p)::GetValueType () => eValueTypeVariableLocal", value_sp.get()); break; in GetValueType()
437 …: log->Printf ("SBValue(%p)::GetValueType () => eValueTypeRegister", value_sp.get()); break; in GetValueType()
438 …: log->Printf ("SBValue(%p)::GetValueType () => eValueTypeRegisterSet", value_sp.get()); break; in GetValueType()
439 …: log->Printf ("SBValue(%p)::GetValueType () => eValueTypeConstResult", value_sp.get()); break; in GetValueType()
451 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetObjectDescription() local
452 if (value_sp) in GetObjectDescription()
454 cstr = value_sp->GetObjectDescription (); in GetObjectDescription()
459 log->Printf ("SBValue(%p)::GetObjectDescription() => \"%s\"", value_sp.get(), cstr); in GetObjectDescription()
461 log->Printf ("SBValue(%p)::GetObjectDescription() => NULL", value_sp.get()); in GetObjectDescription()
472 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetType() local
474 if (value_sp) in GetType()
476 type_sp.reset (new TypeImpl(value_sp->GetClangType())); in GetType()
482 log->Printf ("SBValue(%p)::GetType => SBType(%p)", value_sp.get(), type_sp.get()); in GetType()
484 log->Printf ("SBValue(%p)::GetType => NULL", value_sp.get()); in GetType()
495 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetValueDidChange() local
496 if (value_sp) in GetValueDidChange()
498 result = value_sp->GetValueDidChange (); in GetValueDidChange()
501 log->Printf ("SBValue(%p)::GetValueDidChange() => %i", value_sp.get(), result); in GetValueDidChange()
513 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetSummary() local
514 if (value_sp) in GetSummary()
516 cstr = value_sp->GetSummaryAsCString(); in GetSummary()
521 log->Printf ("SBValue(%p)::GetSummary() => \"%s\"", value_sp.get(), cstr); in GetSummary()
523 log->Printf ("SBValue(%p)::GetSummary() => NULL", value_sp.get()); in GetSummary()
535 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetLocation() local
536 if (value_sp) in GetLocation()
538 cstr = value_sp->GetLocationAsCString(); in GetLocation()
543 log->Printf ("SBValue(%p)::GetLocation() => \"%s\"", value_sp.get(), cstr); in GetLocation()
545 log->Printf ("SBValue(%p)::GetLocation() => NULL", value_sp.get()); in GetLocation()
563 lldb::ValueObjectSP value_sp(GetSP(locker)); in SetValueFromCString() local
565 if (value_sp) in SetValueFromCString()
567 success = value_sp->SetValueFromCString (value_str,error.ref()); in SetValueFromCString()
573 …log->Printf ("SBValue(%p)::SetValueFromCString(\"%s\") => %i", value_sp.get(), value_str, success); in SetValueFromCString()
583 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetTypeFormat() local
584 if (value_sp) in GetTypeFormat()
586 if (value_sp->UpdateValueIfNeeded(true)) in GetTypeFormat()
588 lldb::TypeFormatImplSP format_sp = value_sp->GetValueFormat(); in GetTypeFormat()
602 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetTypeSummary() local
603 if (value_sp) in GetTypeSummary()
605 if (value_sp->UpdateValueIfNeeded(true)) in GetTypeSummary()
607 lldb::TypeSummaryImplSP summary_sp = value_sp->GetSummaryFormat(); in GetTypeSummary()
621 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetTypeFilter() local
622 if (value_sp) in GetTypeFilter()
624 if (value_sp->UpdateValueIfNeeded(true)) in GetTypeFilter()
626 lldb::SyntheticChildrenSP synthetic_sp = value_sp->GetSyntheticChildren(); in GetTypeFilter()
644 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetTypeSynthetic() local
645 if (value_sp) in GetTypeSynthetic()
647 if (value_sp->UpdateValueIfNeeded(true)) in GetTypeSynthetic()
649 lldb::SyntheticChildrenSP children_sp = value_sp->GetSyntheticChildren(); in GetTypeSynthetic()
667 lldb::ValueObjectSP value_sp(GetSP(locker)); in CreateChildAtOffset() local
669 if (value_sp) in CreateChildAtOffset()
674 …sb_value.SetSP(value_sp->GetSyntheticChildAtOffset(offset, type_sp->GetClangASTType(), true),GetPr… in CreateChildAtOffset()
682 value_sp.get(), in CreateChildAtOffset()
686 value_sp.get()); in CreateChildAtOffset()
696 lldb::ValueObjectSP value_sp(GetSP(locker)); in Cast() local
698 if (value_sp && type_sp) in Cast()
699 …sb_value.SetSP(value_sp->Cast(type_sp->GetClangASTType()),GetPreferDynamicValue(),GetPreferSynthet… in Cast()
717 lldb::ValueObjectSP value_sp(GetSP(locker)); in CreateValueFromExpression() local
719 if (value_sp) in CreateValueFromExpression()
721 ExecutionContext exe_ctx (value_sp->GetExecutionContextRef()); in CreateValueFromExpression()
741 value_sp.get(), in CreateValueFromExpression()
747 value_sp.get(), in CreateValueFromExpression()
759 lldb::ValueObjectSP value_sp(GetSP(locker)); in CreateValueFromAddress() local
762 if (value_sp && type_impl_sp) in CreateValueFromAddress()
769 ExecutionContext exe_ctx (value_sp->GetExecutionContextRef()); in CreateValueFromAddress()
792 …log->Printf ("SBValue(%p)::CreateValueFromAddress => \"%s\"", value_sp.get(), new_value_sp->GetNam… in CreateValueFromAddress()
794 log->Printf ("SBValue(%p)::CreateValueFromAddress => NULL", value_sp.get()); in CreateValueFromAddress()
805 lldb::ValueObjectSP value_sp(GetSP(locker)); in CreateValueFromData() local
806 if (value_sp) in CreateValueFromData()
808 ExecutionContext exe_ctx (value_sp->GetExecutionContextRef()); in CreateValueFromData()
822 …log->Printf ("SBValue(%p)::CreateValueFromData => \"%s\"", value_sp.get(), new_value_sp->GetName()… in CreateValueFromData()
824 log->Printf ("SBValue(%p)::CreateValueFromData => NULL", value_sp.get()); in CreateValueFromData()
851 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetChildAtIndex() local
852 if (value_sp) in GetChildAtIndex()
855 child_sp = value_sp->GetChildAtIndex (idx, can_create); in GetChildAtIndex()
858 if (value_sp->IsPointerType()) in GetChildAtIndex()
860 child_sp = value_sp->GetSyntheticArrayMemberFromPointer(idx, can_create); in GetChildAtIndex()
862 else if (value_sp->IsArrayType()) in GetChildAtIndex()
864 child_sp = value_sp->GetSyntheticArrayMemberFromArray(idx, can_create); in GetChildAtIndex()
872 …->Printf ("SBValue(%p)::GetChildAtIndex (%u) => SBValue(%p)", value_sp.get(), idx, value_sp.get()); in GetChildAtIndex()
882 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetIndexOfChildWithName() local
883 if (value_sp) in GetIndexOfChildWithName()
885 idx = value_sp->GetIndexOfChildWithName (ConstString(name)); in GetIndexOfChildWithName()
891 …->Printf ("SBValue(%p)::GetIndexOfChildWithName (name=\"%s\") => NOT FOUND", value_sp.get(), name); in GetIndexOfChildWithName()
893 …log->Printf ("SBValue(%p)::GetIndexOfChildWithName (name=\"%s\") => %u", value_sp.get(), name, idx… in GetIndexOfChildWithName()
920 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetChildMemberWithName() local
921 if (value_sp) in GetChildMemberWithName()
923 child_sp = value_sp->GetChildMemberWithName (str_name, true); in GetChildMemberWithName()
930 …e(%p)::GetChildMemberWithName (name=\"%s\") => SBValue(%p)", value_sp.get(), name, value_sp.get()); in GetChildMemberWithName()
1005 lldb::ValueObjectSP value_sp(GetSP(locker)); in IsDynamic() local
1006 if (value_sp) in IsDynamic()
1007 return value_sp->IsDynamic(); in IsDynamic()
1015 lldb::ValueObjectSP value_sp(GetSP(locker)); in IsSynthetic() local
1016 if (value_sp) in IsSynthetic()
1017 return value_sp->IsSynthetic(); in IsSynthetic()
1027 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetValueForExpressionPath() local
1028 if (value_sp) in GetValueForExpressionPath()
1031 child_sp = value_sp->GetValueForExpressionPath(expr_path); in GetValueForExpressionPath()
1038 …ValueForExpressionPath (expr_path=\"%s\") => SBValue(%p)", value_sp.get(), expr_path, value_sp.get… in GetValueForExpressionPath()
1048 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetValueAsSigned() local
1049 if (value_sp) in GetValueAsSigned()
1052 if (value_sp->ResolveValue (scalar)) in GetValueAsSigned()
1068 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetValueAsUnsigned() local
1069 if (value_sp) in GetValueAsUnsigned()
1072 if (value_sp->ResolveValue (scalar)) in GetValueAsUnsigned()
1087 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetValueAsSigned() local
1088 if (value_sp) in GetValueAsSigned()
1091 if (value_sp->ResolveValue (scalar)) in GetValueAsSigned()
1101 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetValueAsUnsigned() local
1102 if (value_sp) in GetValueAsUnsigned()
1105 if (value_sp->ResolveValue (scalar)) in GetValueAsUnsigned()
1117 lldb::ValueObjectSP value_sp(GetSP(locker)); in MightHaveChildren() local
1118 if (value_sp) in MightHaveChildren()
1119 has_children = value_sp->MightHaveChildren(); in MightHaveChildren()
1122 log->Printf ("SBValue(%p)::MightHaveChildren() => %i", value_sp.get(), has_children); in MightHaveChildren()
1133 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetNumChildren() local
1134 if (value_sp) in GetNumChildren()
1135 num_children = value_sp->GetNumChildren(); in GetNumChildren()
1138 log->Printf ("SBValue(%p)::GetNumChildren () => %u", value_sp.get(), num_children); in GetNumChildren()
1149 lldb::ValueObjectSP value_sp(GetSP(locker)); in Dereference() local
1150 if (value_sp) in Dereference()
1153 sb_value = value_sp->Dereference (error); in Dereference()
1157 log->Printf ("SBValue(%p)::Dereference () => SBValue(%p)", value_sp.get(), value_sp.get()); in Dereference()
1168 lldb::ValueObjectSP value_sp(GetSP(locker)); in TypeIsPointerType() local
1169 if (value_sp) in TypeIsPointerType()
1170 is_ptr_type = value_sp->IsPointerType(); in TypeIsPointerType()
1174 log->Printf ("SBValue(%p)::TypeIsPointerType () => %i", value_sp.get(), is_ptr_type); in TypeIsPointerType()
1184 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetOpaqueType() local
1185 if (value_sp) in GetOpaqueType()
1186 return value_sp->GetClangType().GetOpaqueQualType(); in GetOpaqueType()
1367 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetExpressionPath() local
1368 if (value_sp) in GetExpressionPath()
1370 value_sp->GetExpressionPath (description.ref(), false); in GetExpressionPath()
1380 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetExpressionPath() local
1381 if (value_sp) in GetExpressionPath()
1383 value_sp->GetExpressionPath (description.ref(), qualify_cxx_base_classes); in GetExpressionPath()
1395 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetDescription() local
1396 if (value_sp) in GetDescription()
1398 ValueObject::DumpValueObject (strm, value_sp.get()); in GetDescription()
1410 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetFormat() local
1411 if (value_sp) in GetFormat()
1412 return value_sp->GetFormat(); in GetFormat()
1420 lldb::ValueObjectSP value_sp(GetSP(locker)); in SetFormat() local
1421 if (value_sp) in SetFormat()
1422 value_sp->SetFormat(format); in SetFormat()
1430 lldb::ValueObjectSP value_sp(GetSP(locker)); in AddressOf() local
1431 if (value_sp) in AddressOf()
1434 … sb_value.SetSP(value_sp->AddressOf (error),GetPreferDynamicValue(), GetPreferSyntheticValue()); in AddressOf()
1438 log->Printf ("SBValue(%p)::AddressOf () => SBValue(%p)", value_sp.get(), value_sp.get()); in AddressOf()
1448 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetLoadAddress() local
1449 if (value_sp) in GetLoadAddress()
1451 TargetSP target_sp (value_sp->GetTargetSP()); in GetLoadAddress()
1456 value = value_sp->GetAddressOf(scalar_is_load_address, &addr_type); in GetLoadAddress()
1459 ModuleSP module_sp (value_sp->GetModule()); in GetLoadAddress()
1475 log->Printf ("SBValue(%p)::GetLoadAddress () => (%" PRIu64 ")", value_sp.get(), value); in GetLoadAddress()
1485 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetAddress() local
1486 if (value_sp) in GetAddress()
1488 TargetSP target_sp (value_sp->GetTargetSP()); in GetAddress()
1494 value = value_sp->GetAddressOf(scalar_is_load_address, &addr_type); in GetAddress()
1497 ModuleSP module_sp (value_sp->GetModule()); in GetAddress()
1512 log->Printf ("SBValue(%p)::GetAddress () => (%s,%" PRIu64 ")", value_sp.get(), in GetAddress()
1525 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetPointeeData() local
1526 if (value_sp) in GetPointeeData()
1528 TargetSP target_sp (value_sp->GetTargetSP()); in GetPointeeData()
1532 value_sp->GetPointeeData(*data_sp, item_idx, item_count); in GetPointeeData()
1539 value_sp.get(), in GetPointeeData()
1553 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetData() local
1554 if (value_sp) in GetData()
1557 value_sp->GetData(*data_sp); in GetData()
1563 value_sp.get(), in GetData()
1574 lldb::ValueObjectSP value_sp(GetSP(locker)); in SetData() local
1577 if (value_sp) in SetData()
1584 log->Printf ("SBValue(%p)::SetData() => error: no data to set", value_sp.get()); in SetData()
1593 value_sp->SetData(*data_extractor, set_error); in SetData()
1610 value_sp.get(), in SetData()
1620 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetDeclaration() local
1622 if (value_sp) in GetDeclaration()
1625 if (value_sp->GetDeclaration(decl)) in GetDeclaration()
1638 lldb::ValueObjectSP value_sp(GetSP(locker)); in Watch() local
1640 if (value_sp && target_sp) in Watch()
1664 ClangASTType type (value_sp->GetClangType()); in Watch()
1672 if (value_sp->GetDeclaration (decl)) in Watch()
1688 …log->Printf ("SBValue(%p)::Watch() => error getting SBValue: %s", value_sp.get(), locker.GetError(… in Watch()
1696 … log->Printf ("SBValue(%p)::Watch() => error getting SBValue: no target", value_sp.get()); in Watch()