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()
244 void ExecutionContext::SetTargetSP(const lldb::TargetSP &target_sp) { in SetTargetSP() argument
245 m_target_sp = target_sp; in SetTargetSP()
288 void ExecutionContext::SetContext(const lldb::TargetSP &target_sp, in SetContext() argument
290 m_target_sp = target_sp; in SetContext()
291 if (get_process && target_sp) in SetContext()
292 m_process_sp = target_sp->GetProcessSP(); in SetContext()
457 void ExecutionContextRef::SetTargetSP(const lldb::TargetSP &target_sp) { in SetTargetSP() argument
458 m_target_wp = target_sp; in SetTargetSP()
498 lldb::TargetSP target_sp(target->shared_from_this()); in SetTargetPtr() local
499 if (target_sp) { in SetTargetPtr()
500 m_target_wp = target_sp; in SetTargetPtr()
502 lldb::ProcessSP process_sp(target_sp->GetProcessSP()); in SetTargetPtr()
561 lldb::TargetSP target_sp(m_target_wp.lock()); in GetTargetSP() local
562 if (target_sp && !target_sp->IsValid()) in GetTargetSP()
563 target_sp.reset(); in GetTargetSP()
564 return target_sp; in GetTargetSP()