Home
last modified time | relevance | path

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

/llvm-project-15.0.7/lldb/source/Target/
H A DRemoteAwarePlatform.cpp32 const ModuleSpec &module_spec, ModuleSP &exe_module_sp, in ResolveExecutable() argument
73 return GetCachedExecutable(resolved_module_spec, exe_module_sp, in ResolveExecutable()
94 error = ModuleList::GetSharedModule(resolved_module_spec, exe_module_sp, in ResolveExecutable()
116exe_module_sp, module_search_paths_ptr, nullptr, nullptr); in ResolveExecutable()
121 if (error.Fail() || !exe_module_sp || !exe_module_sp->GetObjectFile()) { in ResolveExecutable()
122 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()
151 if (error.Fail() || !exe_module_sp) { in ResolveExecutable()
H A DTargetList.cpp302 ModuleSP exe_module_sp; in CreateTargetInternal() local
307 error = platform_sp->ResolveExecutable(module_spec, exe_module_sp, in CreateTargetInternal()
313 if (error.Success() && exe_module_sp) { in CreateTargetInternal()
314 if (exe_module_sp->GetObjectFile() == nullptr) { in CreateTargetInternal()
326 target_sp->SetExecutableModule(exe_module_sp, load_dependent_files); in CreateTargetInternal()
328 exe_module_sp->GetFileSpec().GetPath(resolved_bundle_exe_path, in CreateTargetInternal()
331 exe_module_sp->PreloadSymbols(); in CreateTargetInternal()
H A DPlatform.cpp769 lldb::ModuleSP &exe_module_sp, in ResolveExecutable() argument
775 error = ModuleList::GetSharedModule(module_spec, exe_module_sp, in ResolveExecutable()
787 error = ModuleList::GetSharedModule(arch_module_spec, exe_module_sp, in ResolveExecutable()
791 if (error.Success() && exe_module_sp) in ResolveExecutable()
804 lldb::ModuleSP &exe_module_sp, in ResolveRemoteExecutable() argument
819 error = ModuleList::GetSharedModule(resolved_module_spec, exe_module_sp, in ResolveRemoteExecutable()
823 if (exe_module_sp && exe_module_sp->GetObjectFile()) in ResolveRemoteExecutable()
825 exe_module_sp.reset(); in ResolveRemoteExecutable()
835 error = ModuleList::GetSharedModule(resolved_module_spec, exe_module_sp, in ResolveRemoteExecutable()
840 if (exe_module_sp && exe_module_sp->GetObjectFile()) in ResolveRemoteExecutable()
[all …]
H A DProcess.cpp2952 ModuleSP exe_module_sp = GetTarget().GetExecutableModule(); in CompleteAttach() local
2956 exe_module_sp ? exe_module_sp->GetFileSpec() : FileSpec(), in CompleteAttach()
2967 ModuleSP exe_module_sp = GetTarget().GetExecutableModule(); in CompleteAttach() local
2971 exe_module_sp ? exe_module_sp->GetFileSpec() : FileSpec(), in CompleteAttach()
2999 ModuleSP exe_module_sp = GetTarget().GetExecutableModule(); in CompleteAttach() local
3004 exe_module_sp ? exe_module_sp->GetFileSpec().GetPath().c_str() in CompleteAttach()
H A DTarget.cpp2281 ModuleSP exe_module_sp(target->GetExecutableModule()); in ImageSearchPathsChanged() local
2282 if (exe_module_sp) in ImageSearchPathsChanged()
2283 target->SetExecutableModule(exe_module_sp, eLoadDependentsYes); in ImageSearchPathsChanged()
/llvm-project-15.0.7/lldb/source/Plugins/Platform/MacOSX/
H A DPlatformRemoteDarwinDevice.cpp66 const ModuleSpec &ms, lldb::ModuleSP &exe_module_sp, in ResolveExecutable() argument
81 error = ModuleList::GetSharedModule(resolved_module_spec, exe_module_sp, in ResolveExecutable()
84 if (exe_module_sp && exe_module_sp->GetObjectFile()) in ResolveExecutable()
86 exe_module_sp.reset(); in ResolveExecutable()
96 error = ModuleList::GetSharedModule(resolved_module_spec, exe_module_sp, in ResolveExecutable()
100 if (exe_module_sp && exe_module_sp->GetObjectFile()) in ResolveExecutable()
109 if (error.Fail() || !exe_module_sp) { in ResolveExecutable()
H A DPlatformAppleSimulator.cpp365 const ModuleSpec &module_spec, lldb::ModuleSP &exe_module_sp, in ResolveExecutable() argument
385 error = ModuleList::GetSharedModule(resolved_module_spec, exe_module_sp, in ResolveExecutable()
388 if (exe_module_sp && exe_module_sp->GetObjectFile()) in ResolveExecutable()
390 exe_module_sp.reset(); in ResolveExecutable()
405 error = ModuleList::GetSharedModule(resolved_module_spec, exe_module_sp, in ResolveExecutable()
409 if (exe_module_sp && exe_module_sp->GetObjectFile()) in ResolveExecutable()
419 if (error.Fail() || !exe_module_sp) { in ResolveExecutable()
H A DPlatformMacOSX.cpp102 ModuleSP exe_module_sp(target.GetExecutableModule()); in GetSDKDirectory() local
103 if (!exe_module_sp) in GetSDKDirectory()
106 ObjectFile *objfile = exe_module_sp->GetObjectFile(); in GetSDKDirectory()
H A DPlatformDarwinKernel.cpp882 const ArchSpec &arch, ModuleSP &exe_module_sp) { in ExamineKextForMatchingUUID() argument
899 Status error = ModuleList::GetSharedModule(exe_spec, exe_module_sp, in ExamineKextForMatchingUUID()
901 if (exe_module_sp && exe_module_sp->GetObjectFile()) { in ExamineKextForMatchingUUID()
905 exe_module_sp.reset(); in ExamineKextForMatchingUUID()
H A DPlatformDarwinKernel.h155 lldb::ModuleSP &exe_module_sp);
H A DPlatformDarwin.cpp1017 ModuleSP exe_module_sp = target->GetExecutableModule(); in AddClangModuleCompilationOptionsForSDKType() local
1018 if (exe_module_sp) { in AddClangModuleCompilationOptionsForSDKType()
1019 ObjectFile *object_file = exe_module_sp->GetObjectFile(); in AddClangModuleCompilationOptionsForSDKType()
/llvm-project-15.0.7/lldb/unittests/Target/
H A DRemoteAwarePlatformTest.cpp39 const ModuleSpec &module_spec, lldb::ModuleSP &exe_module_sp, in ResolveRemoteExecutable() argument
43 exe_module_sp = pair.second; in ResolveRemoteExecutable()
/llvm-project-15.0.7/lldb/source/Commands/
H A DCommandObjectProcess.cpp165 ModuleSP exe_module_sp = target->GetExecutableModule(); in DoExecute() local
172 if (exe_module_sp == nullptr && !target->GetProcessLaunchInfo().GetExecutableFile()) { in DoExecute()
232 if (exe_module_sp) in DoExecute()
234 exe_module_sp->GetPlatformFileSpec(), false); in DoExecute()
238 if (exe_module_sp) in DoExecute()
240 exe_module_sp->GetPlatformFileSpec(), true); in DoExecute()
271 if (!exe_module_sp) in DoExecute()
272 exe_module_sp = target->GetExecutableModule(); in DoExecute()
273 if (!exe_module_sp) { in DoExecute()
278 exe_module_sp->GetArchitecture().GetArchitectureName(); in DoExecute()
[all …]
/llvm-project-15.0.7/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()
H A DDynamicLoaderMacOSXDYLD.cpp946 ModuleSP exe_module_sp(FindTargetModuleForImageInfo(image_infos[exe_idx], in UpdateImageInfosHeaderAndLoadCommands() local
949 if (exe_module_sp) { in UpdateImageInfosHeaderAndLoadCommands()
950 UpdateImageLoadAddress(exe_module_sp.get(), image_infos[exe_idx]); in UpdateImageInfosHeaderAndLoadCommands()
952 if (exe_module_sp.get() != target.GetExecutableModulePointer()) { in UpdateImageInfosHeaderAndLoadCommands()
963 m_process->GetTarget().SetExecutableModule(exe_module_sp, in UpdateImageInfosHeaderAndLoadCommands()
/llvm-project-15.0.7/lldb/source/Plugins/SymbolFile/DWARF/
H A DSymbolFileDWARFDebugMap.cpp167 DebugMapModule(const ModuleSP &exe_module_sp, uint32_t cu_idx, in DebugMapModule() argument
172 m_exe_module_wp(exe_module_sp), m_cu_idx(cu_idx) {} in DebugMapModule()
183 ModuleSP exe_module_sp(m_exe_module_wp.lock()); in GetSymbolFile() local
184 if (exe_module_sp) { in GetSymbolFile()
200 ObjectFile *exe_objfile = exe_module_sp->GetObjectFile(); in GetSymbolFile()
201 SymbolFile *exe_symfile = exe_module_sp->GetSymbolFile(); in GetSymbolFile()
204 oso_symfile->SetDebugMapModule(exe_module_sp); in GetSymbolFile()
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/lldb/source/Plugins/DynamicLoader/Darwin-Kernel/
H A DDynamicLoaderDarwinKernel.cpp722 ModuleSP exe_module_sp = process->GetTarget().GetExecutableModule(); in ReadMemoryModule() local
723 if (exe_module_sp.get() && exe_module_sp->GetUUID().IsValid()) { in ReadMemoryModule()
724 if (m_uuid != exe_module_sp->GetUUID()) { in ReadMemoryModule()
732 user_specified_kernel_list.Append(exe_module_sp); in ReadMemoryModule()
/llvm-project-15.0.7/lldb/source/Plugins/Platform/POSIX/
H A DPlatformPOSIX.cpp384 ModuleSP exe_module_sp = target->GetExecutableModule(); in Attach() local
387 exe_module_sp ? exe_module_sp->GetFileSpec().GetPath().c_str() in Attach()
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/lldb/include/lldb/Target/
H A DPlatform.h929 lldb::ModuleSP &exe_module_sp,
/llvm-project-15.0.7/lldb/source/Core/
H A DIOHandlerCursesGUI.cpp3573 ModuleSP exe_module_sp = target->GetExecutableModule(); in GetTarget() local
3575 if (exe_module_sp == nullptr) { in GetTarget()