Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/Platform/POSIX/
H A DPlatformPOSIX.cpp116 lldb::ModuleSP &exe_module_sp, in ResolveExecutable() argument
158 GetCachedExecutable(resolved_module_spec, exe_module_sp, in ResolveExecutable()
179 error = ModuleList::GetSharedModule(resolved_module_spec, exe_module_sp, in ResolveExecutable()
206 if (error.Fail() || !exe_module_sp || !exe_module_sp->GetObjectFile()) { in ResolveExecutable()
207 exe_module_sp.reset(); in ResolveExecutable()
221 error = ModuleList::GetSharedModule(resolved_module_spec, exe_module_sp, in ResolveExecutable()
225 if (exe_module_sp && exe_module_sp->GetObjectFile()) in ResolveExecutable()
237 if (error.Fail() || !exe_module_sp) { in ResolveExecutable()
830 ModuleSP exe_module_sp = target->GetExecutableModule(); in Attach() local
833 exe_module_sp in Attach()
[all …]
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/Platform/gdb-server/
H A DPlatformRemoteGDBServer.cpp95 const ModuleSpec &module_spec, lldb::ModuleSP &exe_module_sp, in ResolveExecutable() argument
111 error = ModuleList::GetSharedModule(resolved_module_spec, exe_module_sp, in ResolveExecutable()
114 if (exe_module_sp && exe_module_sp->GetObjectFile()) in ResolveExecutable()
116 exe_module_sp.reset(); in ResolveExecutable()
125 error = ModuleList::GetSharedModule(resolved_module_spec, exe_module_sp, in ResolveExecutable()
129 if (exe_module_sp && exe_module_sp->GetObjectFile()) in ResolveExecutable()
141 if (error.Fail() || !exe_module_sp) { in ResolveExecutable()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/Process/FreeBSD/
H A DProcessFreeBSD.cpp285 ModuleSP exe_module_sp(target_sp->GetExecutableModule()); in CanDebug() local
286 if (exe_module_sp.get()) in CanDebug()
287 return FileSystem::Instance().Exists(exe_module_sp->GetFileSpec()); in CanDebug()
317 ModuleSP exe_module_sp; in DoAttachToProcessWithID() local
323 exe_module_spec, exe_module_sp, in DoAttachToProcessWithID()
329 const ArchSpec &module_arch = exe_module_sp->GetArchitecture(); in DoAttachToProcessWithID()
335 GetTarget().SetExecutableModule(exe_module_sp, eLoadDependentsYes); in DoAttachToProcessWithID()
509 ModuleSP exe_module_sp; in DoDidExec() local
515 exe_module_spec, exe_module_sp, in DoDidExec()
519 target->SetExecutableModule(exe_module_sp, eLoadDependentsYes); in DoDidExec()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Target/
H A DTargetList.cpp378 ModuleSP exe_module_sp; in CreateTargetInternal() local
383 error = platform_sp->ResolveExecutable(module_spec, exe_module_sp, in CreateTargetInternal()
389 if (error.Success() && exe_module_sp) { in CreateTargetInternal()
390 if (exe_module_sp->GetObjectFile() == nullptr) { in CreateTargetInternal()
402 target_sp->SetExecutableModule(exe_module_sp, load_dependent_files); in CreateTargetInternal()
404 exe_module_sp->GetFileSpec().GetPath(resolved_bundle_exe_path, in CreateTargetInternal()
H A DPlatform.cpp889 lldb::ModuleSP &exe_module_sp, in ResolveExecutable() argument
894 error = ModuleList::GetSharedModule(module_spec, exe_module_sp, in ResolveExecutable()
905 error = ModuleList::GetSharedModule(arch_module_spec, exe_module_sp, in ResolveExecutable()
909 if (error.Success() && exe_module_sp) in ResolveExecutable()
H A DProcess.cpp3170 ModuleSP exe_module_sp = GetTarget().GetExecutableModule(); in CompleteAttach() local
3174 exe_module_sp ? exe_module_sp->GetFileSpec().GetPath().c_str() in CompleteAttach()
3186 ModuleSP exe_module_sp = GetTarget().GetExecutableModule(); in CompleteAttach() local
3190 exe_module_sp ? exe_module_sp->GetFileSpec().GetPath().c_str() in CompleteAttach()
3216 ModuleSP exe_module_sp = GetTarget().GetExecutableModule(); in CompleteAttach() local
3220 exe_module_sp ? exe_module_sp->GetFileSpec().GetPath().c_str() in CompleteAttach()
H A DTarget.cpp2148 ModuleSP exe_module_sp(target->GetExecutableModule()); in ImageSearchPathsChanged() local
2149 if (exe_module_sp) in ImageSearchPathsChanged()
2150 target->SetExecutableModule(exe_module_sp, eLoadDependentsYes); in ImageSearchPathsChanged()
/freebsd-12.1/contrib/llvm/tools/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().GetSharedModule(exe_module_spec); in DoLoadCore()
248 if (exe_module_sp) in DoLoadCore()
249 GetTarget().SetExecutableModule(exe_module_sp, eLoadDependentsNo); in DoLoadCore()
/freebsd-12.1/contrib/llvm/tools/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 GetSymbolVendor() local
186 if (exe_module_sp) { in GetSymbolVendor()
204 ObjectFile *exe_objfile = exe_module_sp->GetObjectFile(); in GetSymbolVendor()
205 SymbolVendor *exe_sym_vendor = exe_module_sp->GetSymbolVendor(); in GetSymbolVendor()
208 oso_symfile->SetDebugMapModule(exe_module_sp); in GetSymbolVendor()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Commands/
H A DCommandObjectProcess.cpp156 ModuleSP exe_module_sp = target->GetExecutableModule(); in DoExecute() local
158 if (exe_module_sp == nullptr) { in DoExecute()
205 exe_module_sp->GetPlatformFileSpec(), false); in DoExecute()
208 exe_module_sp->GetPlatformFileSpec(), true); in DoExecute()
236 exe_module_sp->GetArchitecture().GetArchitectureName(); in DoExecute()
239 exe_module_sp->GetFileSpec().GetPath().c_str(), archname); in DoExecute()