Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/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()
95 error = ModuleList::GetSharedModule(resolved_module_spec, exe_module_sp, in ResolveExecutable()
117exe_module_sp, module_search_paths_ptr, nullptr, nullptr); in ResolveExecutable()
122 if (error.Fail() || !exe_module_sp || !exe_module_sp->GetObjectFile()) { in ResolveExecutable()
123 exe_module_sp.reset(); in ResolveExecutable()
139 error = ModuleList::GetSharedModule(resolved_module_spec, exe_module_sp, in ResolveExecutable()
143 if (exe_module_sp && exe_module_sp->GetObjectFile()) in ResolveExecutable()
152 if (error.Fail() || !exe_module_sp) { in ResolveExecutable()
H A DTargetList.cpp304 ModuleSP exe_module_sp; in CreateTargetInternal() local
309 error = platform_sp->ResolveExecutable(module_spec, exe_module_sp, in CreateTargetInternal()
315 if (error.Success() && exe_module_sp) { in CreateTargetInternal()
316 if (exe_module_sp->GetObjectFile() == nullptr) { in CreateTargetInternal()
328 target_sp->SetExecutableModule(exe_module_sp, load_dependent_files); in CreateTargetInternal()
330 exe_module_sp->GetFileSpec().GetPath(resolved_bundle_exe_path, in CreateTargetInternal()
333 exe_module_sp->PreloadSymbols(); in CreateTargetInternal()
H A DPlatform.cpp771 lldb::ModuleSP &exe_module_sp, in ResolveExecutable() argument
777 error = ModuleList::GetSharedModule(module_spec, exe_module_sp, in ResolveExecutable()
789 error = ModuleList::GetSharedModule(arch_module_spec, exe_module_sp, in ResolveExecutable()
793 if (error.Success() && exe_module_sp) in ResolveExecutable()
806 lldb::ModuleSP &exe_module_sp, in ResolveRemoteExecutable() argument
821 error = ModuleList::GetSharedModule(resolved_module_spec, exe_module_sp, in ResolveRemoteExecutable()
825 if (exe_module_sp && exe_module_sp->GetObjectFile()) in ResolveRemoteExecutable()
827 exe_module_sp.reset(); in ResolveRemoteExecutable()
837 error = ModuleList::GetSharedModule(resolved_module_spec, exe_module_sp, in ResolveRemoteExecutable()
842 if (exe_module_sp && exe_module_sp->GetObjectFile()) in ResolveRemoteExecutable()
[all …]
H A DProcess.cpp2973 ModuleSP exe_module_sp = GetTarget().GetExecutableModule(); in CompleteAttach() local
2977 exe_module_sp ? exe_module_sp->GetFileSpec() : FileSpec(), in CompleteAttach()
2988 ModuleSP exe_module_sp = GetTarget().GetExecutableModule(); in CompleteAttach() local
2992 exe_module_sp ? exe_module_sp->GetFileSpec() : FileSpec(), in CompleteAttach()
3020 ModuleSP exe_module_sp = GetTarget().GetExecutableModule(); in CompleteAttach() local
3025 exe_module_sp ? exe_module_sp->GetFileSpec().GetPath().c_str() in CompleteAttach()
H A DTarget.cpp2328 ModuleSP exe_module_sp(target->GetExecutableModule()); in ImageSearchPathsChanged() local
2329 if (exe_module_sp) in ImageSearchPathsChanged()
2330 target->SetExecutableModule(exe_module_sp, eLoadDependentsYes); in ImageSearchPathsChanged()
/openbsd-src/gnu/llvm/lldb/source/Plugins/Platform/MacOSX/
H A DPlatformRemoteDarwinDevice.cpp67 const ModuleSpec &ms, lldb::ModuleSP &exe_module_sp, in ResolveExecutable() argument
82 error = ModuleList::GetSharedModule(resolved_module_spec, exe_module_sp, in ResolveExecutable()
85 if (exe_module_sp && exe_module_sp->GetObjectFile()) in ResolveExecutable()
87 exe_module_sp.reset(); in ResolveExecutable()
97 error = ModuleList::GetSharedModule(resolved_module_spec, exe_module_sp, in ResolveExecutable()
101 if (exe_module_sp && exe_module_sp->GetObjectFile()) in ResolveExecutable()
110 if (error.Fail() || !exe_module_sp) { in ResolveExecutable()
H A DPlatformAppleSimulator.cpp377 const ModuleSpec &module_spec, lldb::ModuleSP &exe_module_sp, in ResolveExecutable() argument
397 error = ModuleList::GetSharedModule(resolved_module_spec, exe_module_sp, in ResolveExecutable()
400 if (exe_module_sp && exe_module_sp->GetObjectFile()) in ResolveExecutable()
402 exe_module_sp.reset(); in ResolveExecutable()
417 error = ModuleList::GetSharedModule(resolved_module_spec, exe_module_sp, in ResolveExecutable()
421 if (exe_module_sp && exe_module_sp->GetObjectFile()) in ResolveExecutable()
431 if (error.Fail() || !exe_module_sp) { in ResolveExecutable()
H A DPlatformMacOSX.cpp103 ModuleSP exe_module_sp(target.GetExecutableModule()); in GetSDKDirectory() local
104 if (!exe_module_sp) in GetSDKDirectory()
107 ObjectFile *objfile = exe_module_sp->GetObjectFile(); in GetSDKDirectory()
H A DPlatformDarwinKernel.cpp892 const ArchSpec &arch, ModuleSP &exe_module_sp) { in ExamineKextForMatchingUUID() argument
909 Status error = ModuleList::GetSharedModule(exe_spec, exe_module_sp, in ExamineKextForMatchingUUID()
911 if (exe_module_sp && exe_module_sp->GetObjectFile()) { in ExamineKextForMatchingUUID()
915 exe_module_sp.reset(); in ExamineKextForMatchingUUID()
H A DPlatformDarwinKernel.h155 lldb::ModuleSP &exe_module_sp);
H A DPlatformDarwin.cpp1049 ModuleSP exe_module_sp = target->GetExecutableModule(); in AddClangModuleCompilationOptionsForSDKType() local
1050 if (exe_module_sp) { in AddClangModuleCompilationOptionsForSDKType()
1051 ObjectFile *object_file = exe_module_sp->GetObjectFile(); in AddClangModuleCompilationOptionsForSDKType()
/openbsd-src/gnu/llvm/lldb/source/Commands/
H A DCommandObjectProcess.cpp166 ModuleSP exe_module_sp = target->GetExecutableModule(); in DoExecute() local
173 if (exe_module_sp == nullptr && !target->GetProcessLaunchInfo().GetExecutableFile()) { in DoExecute()
233 if (exe_module_sp) in DoExecute()
235 exe_module_sp->GetPlatformFileSpec(), false); in DoExecute()
239 if (exe_module_sp) in DoExecute()
241 exe_module_sp->GetPlatformFileSpec(), true); in DoExecute()
272 if (!exe_module_sp) in DoExecute()
273 exe_module_sp = target->GetExecutableModule(); in DoExecute()
274 if (!exe_module_sp) { in DoExecute()
279 exe_module_sp->GetArchitecture().GetArchitectureName(); in DoExecute()
[all …]
/openbsd-src/gnu/llvm/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/
H A DDynamicLoaderDarwin.cpp563 ModuleSP exe_module_sp(FindTargetModuleForImageInfo(image_infos[exe_idx], in UpdateSpecialBinariesFromNewImageInfos() local
565 if (exe_module_sp) { in UpdateSpecialBinariesFromNewImageInfos()
567 exe_module_sp->GetFileSpec().GetPath().c_str()); in UpdateSpecialBinariesFromNewImageInfos()
568 target.GetImages().AppendIfNeeded(exe_module_sp); in UpdateSpecialBinariesFromNewImageInfos()
569 UpdateImageLoadAddress(exe_module_sp.get(), image_infos[exe_idx]); in UpdateSpecialBinariesFromNewImageInfos()
570 if (exe_module_sp.get() != target.GetExecutableModulePointer()) in UpdateSpecialBinariesFromNewImageInfos()
571 target.SetExecutableModule(exe_module_sp, eLoadDependentsNo); in UpdateSpecialBinariesFromNewImageInfos()
574 auto exe_triple = exe_module_sp->GetArchitecture().GetTriple(); in UpdateSpecialBinariesFromNewImageInfos()
H A DDynamicLoaderMacOSXDYLD.cpp956 ModuleSP exe_module_sp(FindTargetModuleForImageInfo(image_infos[exe_idx], in UpdateImageInfosHeaderAndLoadCommands() local
959 if (exe_module_sp) { in UpdateImageInfosHeaderAndLoadCommands()
960 UpdateImageLoadAddress(exe_module_sp.get(), image_infos[exe_idx]); in UpdateImageInfosHeaderAndLoadCommands()
962 if (exe_module_sp.get() != target.GetExecutableModulePointer()) { in UpdateImageInfosHeaderAndLoadCommands()
973 m_process->GetTarget().SetExecutableModule(exe_module_sp, in UpdateImageInfosHeaderAndLoadCommands()
/openbsd-src/gnu/llvm/lldb/source/Plugins/SymbolFile/DWARF/
H A DSymbolFileDWARFDebugMap.cpp173 DebugMapModule(const ModuleSP &exe_module_sp, uint32_t cu_idx, in DebugMapModule() argument
178 m_exe_module_wp(exe_module_sp), m_cu_idx(cu_idx) {} in DebugMapModule()
189 ModuleSP exe_module_sp(m_exe_module_wp.lock()); in GetSymbolFile() local
190 if (exe_module_sp) { in GetSymbolFile()
206 ObjectFile *exe_objfile = exe_module_sp->GetObjectFile(); in GetSymbolFile()
207 SymbolFile *exe_symfile = exe_module_sp->GetSymbolFile(); in GetSymbolFile()
210 oso_symfile->SetDebugMapModule(exe_module_sp); in GetSymbolFile()
/openbsd-src/gnu/llvm/lldb/source/Plugins/Process/elf-core/
H A DProcessElfCore.cpp255 lldb::ModuleSP exe_module_sp = GetTarget().GetExecutableModule(); in DoLoadCore() local
256 if (!exe_module_sp) { in DoLoadCore()
264 exe_module_sp = GetTarget().GetOrCreateModule(exe_module_spec, in DoLoadCore()
266 if (exe_module_sp) in DoLoadCore()
267 GetTarget().SetExecutableModule(exe_module_sp, eLoadDependentsNo); in DoLoadCore()
/openbsd-src/gnu/llvm/lldb/source/Plugins/Platform/POSIX/
H A DPlatformPOSIX.cpp385 ModuleSP exe_module_sp = target->GetExecutableModule(); in Attach() local
388 exe_module_sp ? exe_module_sp->GetFileSpec().GetPath().c_str() in Attach()
/openbsd-src/gnu/llvm/lldb/source/Plugins/Process/Windows/Common/
H A DProcessWindows.cpp514 ModuleSP exe_module_sp(target_sp->GetExecutableModule()); in CanDebug() local
515 if (exe_module_sp.get()) in CanDebug()
516 return FileSystem::Instance().Exists(exe_module_sp->GetFileSpec()); in CanDebug()
/openbsd-src/gnu/llvm/lldb/source/Plugins/Process/MacOSX-Kernel/
H A DProcessKDP.cpp303 ModuleSP exe_module_sp(target.GetExecutableModule()); in DoConnectRemote() local
307 if (exe_module_sp.get() != module_sp.get()) in DoConnectRemote()
/openbsd-src/gnu/llvm/lldb/include/lldb/Target/
H A DPlatform.h958 lldb::ModuleSP &exe_module_sp,
/openbsd-src/gnu/llvm/lldb/source/Core/
H A DIOHandlerCursesGUI.cpp3575 ModuleSP exe_module_sp = target->GetExecutableModule(); in GetTarget() local
3577 if (exe_module_sp == nullptr) { in GetTarget()