Home
last modified time | relevance | path

Searched refs:exe_module_sp (Results 1 – 10 of 10) sorted by relevance

/freebsd-13.1/contrib/llvm-project/lldb/source/Target/
H A DRemoteAwarePlatform.cpp33 const ModuleSpec &module_spec, ModuleSP &exe_module_sp, in ResolveExecutable() argument
74 return GetCachedExecutable(resolved_module_spec, exe_module_sp, in ResolveExecutable()
96 error = ModuleList::GetSharedModule(resolved_module_spec, exe_module_sp, in ResolveExecutable()
118exe_module_sp, module_search_paths_ptr, nullptr, nullptr); in ResolveExecutable()
123 if (error.Fail() || !exe_module_sp || !exe_module_sp->GetObjectFile()) { in ResolveExecutable()
124 exe_module_sp.reset(); in ResolveExecutable()
138 error = ModuleList::GetSharedModule(resolved_module_spec, exe_module_sp, in ResolveExecutable()
142 if (exe_module_sp && exe_module_sp->GetObjectFile()) in ResolveExecutable()
154 if (error.Fail() || !exe_module_sp) { in ResolveExecutable()
H A DTargetList.cpp342 ModuleSP exe_module_sp; in CreateTargetInternal() local
347 error = platform_sp->ResolveExecutable(module_spec, exe_module_sp, in CreateTargetInternal()
353 if (error.Success() && exe_module_sp) { in CreateTargetInternal()
354 if (exe_module_sp->GetObjectFile() == nullptr) { in CreateTargetInternal()
366 target_sp->SetExecutableModule(exe_module_sp, load_dependent_files); in CreateTargetInternal()
368 exe_module_sp->GetFileSpec().GetPath(resolved_bundle_exe_path, in CreateTargetInternal()
371 exe_module_sp->PreloadSymbols(); in CreateTargetInternal()
H A DPlatform.cpp856 lldb::ModuleSP &exe_module_sp, in ResolveExecutable() argument
861 error = ModuleList::GetSharedModule(module_spec, exe_module_sp, in ResolveExecutable()
872 error = ModuleList::GetSharedModule(arch_module_spec, exe_module_sp, in ResolveExecutable()
876 if (error.Success() && exe_module_sp) in ResolveExecutable()
H A DProcess.cpp2918 ModuleSP exe_module_sp = GetTarget().GetExecutableModule(); in CompleteAttach() local
2923 exe_module_sp ? exe_module_sp->GetFileSpec().GetPath().c_str() in CompleteAttach()
2935 ModuleSP exe_module_sp = GetTarget().GetExecutableModule(); in CompleteAttach() local
2940 exe_module_sp ? exe_module_sp->GetFileSpec().GetPath().c_str() in CompleteAttach()
2969 ModuleSP exe_module_sp = GetTarget().GetExecutableModule(); in CompleteAttach() local
2974 exe_module_sp ? exe_module_sp->GetFileSpec().GetPath().c_str() in CompleteAttach()
H A DTarget.cpp2196 ModuleSP exe_module_sp(target->GetExecutableModule()); in ImageSearchPathsChanged() local
2197 if (exe_module_sp) in ImageSearchPathsChanged()
2198 target->SetExecutableModule(exe_module_sp, eLoadDependentsYes); in ImageSearchPathsChanged()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/Platform/gdb-server/
H A DPlatformRemoteGDBServer.cpp98 const ModuleSpec &module_spec, lldb::ModuleSP &exe_module_sp, in ResolveExecutable() argument
114 error = ModuleList::GetSharedModule(resolved_module_spec, exe_module_sp, in ResolveExecutable()
118 if (exe_module_sp && exe_module_sp->GetObjectFile()) in ResolveExecutable()
120 exe_module_sp.reset(); in ResolveExecutable()
129 error = ModuleList::GetSharedModule(resolved_module_spec, exe_module_sp, in ResolveExecutable()
134 if (exe_module_sp && exe_module_sp->GetObjectFile()) in ResolveExecutable()
146 if (error.Fail() || !exe_module_sp) { in ResolveExecutable()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DSymbolFileDWARFDebugMap.cpp169 DebugMapModule(const ModuleSP &exe_module_sp, uint32_t cu_idx, in DebugMapModule() argument
174 m_exe_module_wp(exe_module_sp), m_cu_idx(cu_idx) {} in DebugMapModule()
185 ModuleSP exe_module_sp(m_exe_module_wp.lock()); in GetSymbolFile() local
186 if (exe_module_sp) { in GetSymbolFile()
202 ObjectFile *exe_objfile = exe_module_sp->GetObjectFile(); in GetSymbolFile()
203 SymbolFile *exe_symfile = exe_module_sp->GetSymbolFile(); in GetSymbolFile()
206 oso_symfile->SetDebugMapModule(exe_module_sp); in GetSymbolFile()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/Process/elf-core/
H A DProcessElfCore.cpp238 lldb::ModuleSP exe_module_sp = GetTarget().GetExecutableModule(); in DoLoadCore() local
239 if (!exe_module_sp) { in DoLoadCore()
247 exe_module_sp = GetTarget().GetOrCreateModule(exe_module_spec, in DoLoadCore()
249 if (exe_module_sp) in DoLoadCore()
250 GetTarget().SetExecutableModule(exe_module_sp, eLoadDependentsNo); in DoLoadCore()
/freebsd-13.1/contrib/llvm-project/lldb/source/Commands/
H A DCommandObjectProcess.cpp160 ModuleSP exe_module_sp = target->GetExecutableModule(); in DoExecute() local
162 if (exe_module_sp == nullptr) { in DoExecute()
223 exe_module_sp->GetPlatformFileSpec(), false); in DoExecute()
226 exe_module_sp->GetPlatformFileSpec(), true); in DoExecute()
254 exe_module_sp->GetArchitecture().GetArchitectureName(); in DoExecute()
257 exe_module_sp->GetFileSpec().GetPath().c_str(), archname); in DoExecute()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/Platform/POSIX/
H A DPlatformPOSIX.cpp381 ModuleSP exe_module_sp = target->GetExecutableModule(); in Attach() local
384 exe_module_sp ? exe_module_sp->GetFileSpec().GetPath().c_str() in Attach()