Home
last modified time | relevance | path

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

/external/llvm-project/lldb/source/Target/
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()
DTargetList.cpp332 ModuleSP exe_module_sp; in CreateTargetInternal() local
337 error = platform_sp->ResolveExecutable(module_spec, exe_module_sp, in CreateTargetInternal()
343 if (error.Success() && exe_module_sp) { in CreateTargetInternal()
344 if (exe_module_sp->GetObjectFile() == nullptr) { in CreateTargetInternal()
356 target_sp->SetExecutableModule(exe_module_sp, load_dependent_files); in CreateTargetInternal()
358 exe_module_sp->GetFileSpec().GetPath(resolved_bundle_exe_path, in CreateTargetInternal()
361 exe_module_sp->PreloadSymbols(); in CreateTargetInternal()
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()
DProcess.cpp3044 ModuleSP exe_module_sp = GetTarget().GetExecutableModule(); in CompleteAttach() local
3049 exe_module_sp ? exe_module_sp->GetFileSpec().GetPath().c_str() in CompleteAttach()
3061 ModuleSP exe_module_sp = GetTarget().GetExecutableModule(); in CompleteAttach() local
3066 exe_module_sp ? exe_module_sp->GetFileSpec().GetPath().c_str() in CompleteAttach()
3100 ModuleSP exe_module_sp = GetTarget().GetExecutableModule(); in CompleteAttach() local
3105 exe_module_sp ? exe_module_sp->GetFileSpec().GetPath().c_str() in CompleteAttach()
DTarget.cpp2177 ModuleSP exe_module_sp(target->GetExecutableModule()); in ImageSearchPathsChanged() local
2178 if (exe_module_sp) in ImageSearchPathsChanged()
2179 target->SetExecutableModule(exe_module_sp, eLoadDependentsYes); in ImageSearchPathsChanged()
/external/llvm-project/lldb/source/Plugins/Platform/MacOSX/
DPlatformAppleSimulator.cpp353 const ModuleSpec &module_spec, lldb::ModuleSP &exe_module_sp, in ResolveExecutable() argument
373 error = ModuleList::GetSharedModule(resolved_module_spec, exe_module_sp, in ResolveExecutable()
376 if (exe_module_sp && exe_module_sp->GetObjectFile()) in ResolveExecutable()
378 exe_module_sp.reset(); in ResolveExecutable()
392 error = ModuleList::GetSharedModule(resolved_module_spec, exe_module_sp, in ResolveExecutable()
396 if (exe_module_sp && exe_module_sp->GetObjectFile()) in ResolveExecutable()
408 if (error.Fail() || !exe_module_sp) { in ResolveExecutable()
DPlatformRemoteDarwinDevice.cpp69 const ModuleSpec &ms, lldb::ModuleSP &exe_module_sp, in ResolveExecutable() argument
84 error = ModuleList::GetSharedModule(resolved_module_spec, exe_module_sp, in ResolveExecutable()
87 if (exe_module_sp && exe_module_sp->GetObjectFile()) in ResolveExecutable()
89 exe_module_sp.reset(); in ResolveExecutable()
98 error = ModuleList::GetSharedModule(resolved_module_spec, exe_module_sp, in ResolveExecutable()
102 if (exe_module_sp && exe_module_sp->GetObjectFile()) in ResolveExecutable()
114 if (error.Fail() || !exe_module_sp) { in ResolveExecutable()
DPlatformMacOSX.cpp107 ModuleSP exe_module_sp(target.GetExecutableModule()); in GetSDKDirectory() local
108 if (!exe_module_sp) in GetSDKDirectory()
111 ObjectFile *objfile = exe_module_sp->GetObjectFile(); in GetSDKDirectory()
DPlatformDarwinKernel.cpp936 const ArchSpec &arch, ModuleSP &exe_module_sp) { in ExamineKextForMatchingUUID() argument
953 Status error = ModuleList::GetSharedModule(exe_spec, exe_module_sp, in ExamineKextForMatchingUUID()
955 if (exe_module_sp && exe_module_sp->GetObjectFile()) { in ExamineKextForMatchingUUID()
959 exe_module_sp.reset(); in ExamineKextForMatchingUUID()
DPlatformDarwinKernel.h159 lldb::ModuleSP &exe_module_sp);
DPlatformDarwin.cpp1549 ModuleSP exe_module_sp = target->GetExecutableModule(); in AddClangModuleCompilationOptionsForSDKType() local
1550 if (exe_module_sp) { in AddClangModuleCompilationOptionsForSDKType()
1551 ObjectFile *object_file = exe_module_sp->GetObjectFile(); in AddClangModuleCompilationOptionsForSDKType()
/external/llvm-project/lldb/source/Plugins/Platform/gdb-server/
DPlatformRemoteGDBServer.cpp97 const ModuleSpec &module_spec, lldb::ModuleSP &exe_module_sp, in ResolveExecutable() argument
113 error = ModuleList::GetSharedModule(resolved_module_spec, exe_module_sp, in ResolveExecutable()
117 if (exe_module_sp && exe_module_sp->GetObjectFile()) in ResolveExecutable()
119 exe_module_sp.reset(); in ResolveExecutable()
128 error = ModuleList::GetSharedModule(resolved_module_spec, exe_module_sp, in ResolveExecutable()
133 if (exe_module_sp && exe_module_sp->GetObjectFile()) in ResolveExecutable()
145 if (error.Fail() || !exe_module_sp) { in ResolveExecutable()
/external/llvm-project/lldb/unittests/Target/
DRemoteAwarePlatformTest.cpp58 lldb::ModuleSP &exe_module_sp, in ResolveExecutable() argument
61 exe_module_sp = pair.second; in ResolveExecutable()
/external/llvm-project/lldb/source/Plugins/Process/FreeBSD/
DProcessFreeBSD.cpp278 ModuleSP exe_module_sp(target_sp->GetExecutableModule()); in CanDebug() local
279 if (exe_module_sp.get()) in CanDebug()
280 return FileSystem::Instance().Exists(exe_module_sp->GetFileSpec()); in CanDebug()
310 ModuleSP exe_module_sp; in DoAttachToProcessWithID() local
316 exe_module_spec, exe_module_sp, in DoAttachToProcessWithID()
322 const ArchSpec &module_arch = exe_module_sp->GetArchitecture(); in DoAttachToProcessWithID()
328 GetTarget().SetExecutableModule(exe_module_sp, eLoadDependentsYes); in DoAttachToProcessWithID()
502 ModuleSP exe_module_sp; in DoDidExec() local
508 exe_module_spec, exe_module_sp, in DoDidExec()
512 target->SetExecutableModule(exe_module_sp, eLoadDependentsYes); in DoDidExec()
/external/llvm-project/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/
DDynamicLoaderDarwin.cpp583 ModuleSP exe_module_sp(FindTargetModuleForImageInfo(image_infos[exe_idx], in UpdateSpecialBinariesFromNewImageInfos() local
585 if (exe_module_sp) { in UpdateSpecialBinariesFromNewImageInfos()
587 exe_module_sp->GetFileSpec().GetPath().c_str()); in UpdateSpecialBinariesFromNewImageInfos()
588 target.GetImages().AppendIfNeeded(exe_module_sp); in UpdateSpecialBinariesFromNewImageInfos()
589 UpdateImageLoadAddress(exe_module_sp.get(), image_infos[exe_idx]); in UpdateSpecialBinariesFromNewImageInfos()
590 if (exe_module_sp.get() != target.GetExecutableModulePointer()) { in UpdateSpecialBinariesFromNewImageInfos()
591 target.SetExecutableModule(exe_module_sp, eLoadDependentsNo); in UpdateSpecialBinariesFromNewImageInfos()
DDynamicLoaderMacOSXDYLD.cpp940 ModuleSP exe_module_sp(FindTargetModuleForImageInfo(image_infos[exe_idx], in UpdateImageInfosHeaderAndLoadCommands() local
943 if (exe_module_sp) { in UpdateImageInfosHeaderAndLoadCommands()
944 UpdateImageLoadAddress(exe_module_sp.get(), image_infos[exe_idx]); in UpdateImageInfosHeaderAndLoadCommands()
946 if (exe_module_sp.get() != target.GetExecutableModulePointer()) { in UpdateImageInfosHeaderAndLoadCommands()
957 m_process->GetTarget().SetExecutableModule(exe_module_sp, in UpdateImageInfosHeaderAndLoadCommands()
/external/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
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()
/external/llvm-project/lldb/source/Plugins/Process/elf-core/
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()
/external/llvm-project/lldb/source/Commands/
DCommandObjectProcess.cpp150 ModuleSP exe_module_sp = target->GetExecutableModule(); in DoExecute() local
152 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()
/external/llvm-project/lldb/source/Plugins/DynamicLoader/Darwin-Kernel/
DDynamicLoaderDarwinKernel.cpp725 ModuleSP exe_module_sp = process->GetTarget().GetExecutableModule(); in ReadMemoryModule() local
726 if (exe_module_sp.get() && exe_module_sp->GetUUID().IsValid()) { in ReadMemoryModule()
727 if (m_uuid != exe_module_sp->GetUUID()) { in ReadMemoryModule()
735 user_specified_kernel_list.Append(exe_module_sp); in ReadMemoryModule()
/external/llvm-project/lldb/source/Plugins/Process/Windows/Common/
DProcessWindows.cpp505 ModuleSP exe_module_sp(target_sp->GetExecutableModule()); in CanDebug() local
506 if (exe_module_sp.get()) in CanDebug()
507 return FileSystem::Instance().Exists(exe_module_sp->GetFileSpec()); in CanDebug()
/external/llvm-project/lldb/source/Plugins/Platform/POSIX/
DPlatformPOSIX.cpp382 ModuleSP exe_module_sp = target->GetExecutableModule(); in Attach() local
385 exe_module_sp ? exe_module_sp->GetFileSpec().GetPath().c_str() in Attach()
/external/llvm-project/lldb/source/Plugins/Process/MacOSX-Kernel/
DProcessKDP.cpp316 ModuleSP exe_module_sp(target.GetExecutableModule()); in DoConnectRemote() local
320 if (exe_module_sp.get() != module_sp.get()) in DoConnectRemote()