Lines Matching defs:target_sp
71 SourceManager::SourceManager(const TargetSP &target_sp)
73 m_last_count(0), m_default_set(false), m_target_wp(target_sp),
74 m_debugger_wp(target_sp->GetDebugger().shared_from_this()) {}
94 TargetSP target_sp(m_target_wp.lock());
99 if (target_sp)
100 return std::make_shared<File>(support_file_sp, target_sp);
104 ProcessSP process_sp = target_sp ? target_sp->GetProcessSP() : ProcessSP();
161 if (target_sp)
162 file_sp = std::make_shared<File>(support_file_sp, target_sp);
416 TargetSP target_sp(m_target_wp.lock());
418 if (target_sp) {
423 Module *executable_ptr = target_sp->GetExecutableModulePointer();
473 SourceManager::File::File(SupportFileSP support_file_sp, TargetSP target_sp)
476 m_debugger_wp(target_sp ? target_sp->GetDebugger().shared_from_this()
478 m_target_wp(target_sp) {
479 CommonInitializer(support_file_sp, target_sp);
483 TargetSP target_sp) {
488 if (target_sp)
489 m_source_map_mod_id = target_sp->GetSourcePathMap().GetModificationID();
493 if (target_sp) {
501 target_sp->GetImages().ResolveSymbolContextForFilePath(
538 auto remapped = target_sp->GetSourcePathMap().FindFile(file_spec);
541 if (target_sp->GetImages().FindSourceFile(file_spec, new_spec))
645 if (TargetSP target_sp = m_target_wp.lock())
647 target_sp->GetSourcePathMap().GetModificationID();