Lines Matching refs:target_sp
24 ExecutionContext::ExecutionContext(const lldb::TargetSP &target_sp, in ExecutionContext() argument
27 if (target_sp) in ExecutionContext()
28 SetContext(target_sp, get_process); in ExecutionContext()
52 lldb::TargetSP target_sp(target_wp.lock()); in ExecutionContext() local
53 if (target_sp) in ExecutionContext()
54 SetContext(target_sp, get_process); in ExecutionContext()
245 void ExecutionContext::SetTargetSP(const lldb::TargetSP &target_sp) { in SetTargetSP() argument
246 m_target_sp = target_sp; in SetTargetSP()
289 void ExecutionContext::SetContext(const lldb::TargetSP &target_sp, in SetContext() argument
291 m_target_sp = target_sp; in SetContext()
292 if (get_process && target_sp) in SetContext()
293 m_process_sp = target_sp->GetProcessSP(); in SetContext()
458 void ExecutionContextRef::SetTargetSP(const lldb::TargetSP &target_sp) { in SetTargetSP() argument
459 m_target_wp = target_sp; in SetTargetSP()
499 lldb::TargetSP target_sp(target->shared_from_this()); in SetTargetPtr() local
500 if (target_sp) { in SetTargetPtr()
501 m_target_wp = target_sp; in SetTargetPtr()
503 lldb::ProcessSP process_sp(target_sp->GetProcessSP()); in SetTargetPtr()
563 lldb::TargetSP target_sp(m_target_wp.lock()); in GetTargetSP() local
564 if (target_sp && !target_sp->IsValid()) in GetTargetSP()
565 target_sp.reset(); in GetTargetSP()
566 return target_sp; in GetTargetSP()