Lines Matching refs:module_spec

216 Status Platform::GetSharedModule(const ModuleSpec &module_spec,  in GetSharedModule()  argument
223 module_spec, module_sp, module_search_paths_ptr, old_module_sp_ptr, in GetSharedModule()
254 return GetRemoteSharedModule(module_spec, process, module_sp, resolver, in GetSharedModule()
259 const ArchSpec &arch, ModuleSpec &module_spec) { in GetModuleSpec() argument
267 module_spec); in GetModuleSpec()
888 Platform::ResolveExecutable(const ModuleSpec &module_spec, in ResolveExecutable() argument
892 if (FileSystem::Instance().Exists(module_spec.GetFileSpec())) { in ResolveExecutable()
893 if (module_spec.GetArchitecture().IsValid()) { in ResolveExecutable()
894 error = ModuleList::GetSharedModule(module_spec, exe_module_sp, in ResolveExecutable()
901 ModuleSpec arch_module_spec(module_spec); in ResolveExecutable()
915 module_spec.GetFileSpec().GetPath().c_str()); in ResolveExecutable()
1552 ModuleSpec &module_spec, lldb::ModuleSP &module_sp, in GetCachedExecutable() argument
1554 const auto platform_spec = module_spec.GetFileSpec(); in GetCachedExecutable()
1556 module_spec, module_sp, module_search_paths_ptr, remote_platform); in GetCachedExecutable()
1558 module_spec.GetFileSpec() = module_sp->GetFileSpec(); in GetCachedExecutable()
1559 module_spec.GetPlatformFileSpec() = platform_spec; in GetCachedExecutable()
1566 const ModuleSpec &module_spec, lldb::ModuleSP &module_sp, in LoadCachedExecutable() argument
1568 return GetRemoteSharedModule(module_spec, nullptr, module_sp, in LoadCachedExecutable()
1576 Status Platform::GetRemoteSharedModule(const ModuleSpec &module_spec, in GetRemoteSharedModule() argument
1586 if (process->GetModuleSpec(module_spec.GetFileSpec(), in GetRemoteSharedModule()
1587 module_spec.GetArchitecture(), in GetRemoteSharedModule()
1589 if (!module_spec.GetUUID().IsValid() || in GetRemoteSharedModule()
1590 module_spec.GetUUID() == resolved_module_spec.GetUUID()) { in GetRemoteSharedModule()
1596 if (!module_spec.GetArchitecture().IsValid()) { in GetRemoteSharedModule()
1601 ModuleSpec arch_module_spec(module_spec); in GetRemoteSharedModule()
1617 if (!GetModuleSpec(module_spec.GetFileSpec(), module_spec.GetArchitecture(), in GetRemoteSharedModule()
1619 if (!module_spec.GetUUID().IsValid() || in GetRemoteSharedModule()
1620 module_spec.GetUUID() == resolved_module_spec.GetUUID()) { in GetRemoteSharedModule()
1621 return module_resolver(module_spec); in GetRemoteSharedModule()
1628 if (module_spec.GetUUID().IsValid()) { in GetRemoteSharedModule()
1629 resolved_module_spec.GetUUID() = module_spec.GetUUID(); in GetRemoteSharedModule()
1642 bool Platform::GetCachedSharedModule(const ModuleSpec &module_spec, in GetCachedSharedModule() argument
1653 GetModuleCacheRoot(), GetCacheHostname(), module_spec, in GetCachedSharedModule()
1654 [this](const ModuleSpec &module_spec, in GetCachedSharedModule()
1657 module_spec.GetFileSpec(), module_spec.GetObjectOffset(), in GetCachedSharedModule()
1658 module_spec.GetObjectSize(), tmp_download_file_spec); in GetCachedSharedModule()
1671 __FUNCTION__, module_spec.GetUUID().GetAsString().c_str(), in GetCachedSharedModule()