void SBValue::SetSP (const lldb::ValueObjectSP &sp, lldb::DynamicValueType use_dynamic) { if (sp) { lldb::TargetSP target_sp(sp->GetTargetSP()); if (target_sp) { bool use_synthetic = target_sp->TargetProperties::GetEnableSyntheticValue(); SetSP (sp, use_dynamic, use_synthetic); } else SetSP (sp, use_dynamic, true); } else SetSP (sp, use_dynamic, false); }
void SBValue::SetSP (const lldb::ValueObjectSP &sp, bool use_synthetic) { if (sp) { lldb::TargetSP target_sp(sp->GetTargetSP()); if (target_sp) { lldb::DynamicValueType use_dynamic = target_sp->GetPreferDynamicValue(); SetSP (sp, use_dynamic, use_synthetic); } else SetSP (sp, eNoDynamicValues, use_synthetic); } else SetSP (sp, eNoDynamicValues, use_synthetic); }
void SBValue::SetSP (const lldb::ValueObjectSP &sp) { if (sp) { lldb::TargetSP target_sp(sp->GetTargetSP()); if (target_sp) { lldb::DynamicValueType use_dynamic = target_sp->GetPreferDynamicValue(); bool use_synthetic = target_sp->TargetProperties::GetEnableSyntheticValue(); m_opaque_sp = ValueImplSP(new ValueImpl(sp, use_dynamic, use_synthetic)); } else m_opaque_sp = ValueImplSP(new ValueImpl(sp,eNoDynamicValues,true)); } else m_opaque_sp = ValueImplSP(new ValueImpl(sp,eNoDynamicValues,false)); }