Home
last modified time | relevance | path

Searched refs:module_spec (Results 1 – 25 of 47) sorted by relevance

12

/freebsd-12.1/contrib/llvm/tools/lldb/source/Host/common/
H A DSymbols.cpp154 const FileSpec &exec_fspec = module_spec.GetFileSpec(); in LocateDSYMInVincinityOfExecutable()
203 const FileSpec *exec_fspec = module_spec.GetFileSpecPtr(); in LocateExecutableSymbolFileDsym()
204 const ArchSpec *arch = module_spec.GetArchitecturePtr(); in LocateExecutableSymbolFileDsym()
205 const UUID *uuid = module_spec.GetUUIDPtr(); in LocateExecutableSymbolFileDsym()
229 const FileSpec *exec_fspec = module_spec.GetFileSpecPtr(); in LocateExecutableObjectFile()
230 const ArchSpec *arch = module_spec.GetArchitecturePtr(); in LocateExecutableObjectFile()
231 const UUID *uuid = module_spec.GetUUIDPtr(); in LocateExecutableObjectFile()
245 LocateMacOSXFilesUsingDebugSymbols(module_spec, result); in LocateExecutableObjectFile()
264 FileSpec module_file_spec = module_spec.GetFileSpec(); in LocateExecutableSymbolFile()
304 const UUID &module_uuid = module_spec.GetUUID(); in LocateExecutableSymbolFile()
[all …]
/freebsd-12.1/contrib/llvm/tools/lldb/source/Target/
H A DModuleCache.cpp192 GetModuleDirectory(root_dir_spec, module_spec.GetUUID()); in Put()
213 const ModuleSpec &module_spec, in Get() argument
216 m_loaded_modules.find(module_spec.GetUUID().GetAsString()); in Get()
225 GetModuleDirectory(root_dir_spec, module_spec.GetUUID()); in Get()
232 module_spec.GetObjectSize()) in Get()
245 auto cached_module_spec(module_spec); in Get()
268 const ModuleSpec &module_spec, in GetAndPut() argument
274 GetModuleDirectory(root_dir_spec, module_spec.GetUUID()); in GetAndPut()
279 ModuleLock lock(root_dir_spec, module_spec.GetUUID(), error); in GetAndPut()
282 module_spec.GetUUID().GetAsString().c_str(), in GetAndPut()
[all …]
H A DPlatform.cpp893 if (module_spec.GetArchitecture().IsValid()) { in ResolveExecutable()
901 ModuleSpec arch_module_spec(module_spec); in ResolveExecutable()
1589 if (!module_spec.GetUUID().IsValid() || 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()
1621 return module_resolver(module_spec); in GetRemoteSharedModule()
1628 if (module_spec.GetUUID().IsValid()) { in GetRemoteSharedModule()
1654 [this](const ModuleSpec &module_spec, in GetCachedSharedModule()
[all …]
H A DTargetList.cpp120 ModuleSpec module_spec; in CreateTargetInternal() local
122 FileSystem::Instance().Resolve(module_spec.GetFileSpec()); in CreateTargetInternal()
126 Host::ResolveExecutableInBundle(module_spec.GetFileSpec()); in CreateTargetInternal()
131 module_spec.GetFileSpec(), file_offset, file_size, module_specs); in CreateTargetInternal()
159 module_spec.GetFileSpec().GetPath().c_str()); in CreateTargetInternal()
170 module_spec.GetArchitecture() = arch; in CreateTargetInternal()
171 if (module_specs.FindMatchingModuleSpec(module_spec, in CreateTargetInternal()
184 ModuleSpec module_spec; in CreateTargetInternal() local
185 if (module_specs.GetModuleSpecAtIndex(i, module_spec)) { in CreateTargetInternal()
212 module_spec.GetArchitecture(), nullptr)); in CreateTargetInternal()
[all …]
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/SymbolVendor/ELF/
H A DSymbolVendorELF.cpp100 ModuleSpec module_spec; in CreateInstance() local
103 module_spec.GetFileSpec() = obj_file->GetFileSpec(); in CreateInstance()
104 FileSystem::Instance().Resolve(module_spec.GetFileSpec()); in CreateInstance()
105 module_spec.GetSymbolFileSpec() = fspec; in CreateInstance()
106 module_spec.GetUUID() = uuid; in CreateInstance()
107 FileSpec dsym_fspec = Symbols::LocateExecutableSymbolFile(module_spec); in CreateInstance()
/freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/Core/
H A DModuleSpec.h347 bool GetModuleSpecAtIndex(size_t i, ModuleSpec &module_spec) const { in GetModuleSpecAtIndex() argument
350 module_spec = m_specs[i]; in GetModuleSpecAtIndex()
353 module_spec.Clear(); in GetModuleSpecAtIndex()
357 bool FindMatchingModuleSpec(const ModuleSpec &module_spec, in FindMatchingModuleSpec() argument
362 if (spec.Matches(module_spec, exact_arch_match)) { in FindMatchingModuleSpec()
369 if (module_spec.GetArchitecturePtr()) { in FindMatchingModuleSpec()
372 if (spec.Matches(module_spec, exact_arch_match)) { in FindMatchingModuleSpec()
382 size_t FindMatchingModuleSpecs(const ModuleSpec &module_spec, in FindMatchingModuleSpecs() argument
388 if (spec.Matches(module_spec, exact_arch_match)) in FindMatchingModuleSpecs()
394 if (module_spec.GetArchitecturePtr() && in FindMatchingModuleSpecs()
[all …]
H A DModuleList.h391 size_t FindModules(const ModuleSpec &module_spec,
405 lldb::ModuleSP FindFirstModule(const ModuleSpec &module_spec) const;
535 static Status GetSharedModule(const ModuleSpec &module_spec,
544 static size_t FindSharedModules(const ModuleSpec &module_spec,
/freebsd-12.1/contrib/llvm/tools/lldb/source/Commands/
H A DCommandObjectTarget.cpp2555 ModuleSpec module_spec; in DoExecute() local
2556 module_spec.GetUUID() = in DoExecute()
2616 module_spec.GetUUID() = in DoExecute()
2713 ModuleSpec module_spec; in DoExecute() local
2723 module_spec.GetFileSpec() = in DoExecute()
2737 module_spec.GetFileSpec() = in DoExecute()
2754 module_spec.GetUUID() = in DoExecute()
2920 if (module_spec.GetUUIDPtr()) in DoExecute()
4147 if (!module_spec.GetFileSpec() && !module_spec.GetPlatformFileSpec()) in AddModuleSymbols()
4314 ModuleSpec module_spec; in DoExecute() local
[all …]
H A DCommandObjectSource.cpp597 ModuleSpec module_spec(module_file_spec); in DoExecute() local
598 if (target->GetImages().FindModules(module_spec, m_module_list) == 0) in DoExecute()
922 ModuleSpec module_spec(module_file_spec); in FindMatchingFunctions() local
924 target->GetImages().FindModules(module_spec, matching_modules); in FindMatchingFunctions()
947 ModuleSpec module_spec(module_file_spec); in FindMatchingFunctionSymbols() local
949 target->GetImages().FindModules(module_spec, matching_modules); in FindMatchingFunctionSymbols()
1204 ModuleSpec module_spec(module_file_spec); in DoExecute() local
1206 target->GetImages().FindModules(module_spec, matching_modules); in DoExecute()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Core/
H A DDynamicLoader.cpp85 ModuleSpec module_spec(executable->GetFileSpec(), in GetTargetExecutable() local
87 auto module_sp = std::make_shared<Module>(module_spec); in GetTargetExecutable()
100 executable = target.GetSharedModule(module_spec); in GetTargetExecutable()
161 ModuleSpec module_spec(file, target.GetArchitecture()); in LoadModuleAtAddress() local
164 if ((module_sp = modules.FindFirstModule(module_spec))) { in LoadModuleAtAddress()
170 if ((module_sp = target.GetSharedModule(module_spec))) { in LoadModuleAtAddress()
H A DModuleList.cpp495 size_t ModuleList::FindModules(const ModuleSpec &module_spec, in FindModules() argument
503 if (module_sp->MatchesModuleSpec(module_spec)) in FindModules()
614 if (module_sp->MatchesModuleSpec(module_spec)) in FindFirstModule()
793 const UUID *uuid_ptr = module_spec.GetUUIDPtr(); in GetSharedModule()
794 const FileSpec &module_file_spec = module_spec.GetFileSpec(); in GetSharedModule()
795 const ArchSpec &arch = module_spec.GetArchitecture(); in GetSharedModule()
833 module_sp.reset(new Module(module_spec)); in GetSharedModule()
869 module_spec.GetFileSpec().GetFilename().AsCString()); in GetSharedModule()
873 auto resolved_module_spec(module_spec); in GetSharedModule()
906 Symbols::LocateExecutableObjectFile(module_spec); in GetSharedModule()
[all …]
H A DModule.cpp128 Module::Module(const ModuleSpec &module_spec) in Module() argument
145 module_spec.GetObjectName().IsEmpty() in Module()
173 if (module_spec.GetFileSpec()) in Module()
183 else if (module_spec.GetArchitecture().IsValid()) in Module()
184 m_arch = module_spec.GetArchitecture(); in Module()
189 if (module_spec.GetFileSpec()) in Module()
190 m_file = module_spec.GetFileSpec(); in Module()
195 if (module_spec.GetPlatformFileSpec()) in Module()
201 if (module_spec.GetSymbolFileSpec()) in Module()
202 m_symfile_spec = module_spec.GetSymbolFileSpec(); in Module()
[all …]
/freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/Host/
H A DSymbols.h31 static ModuleSpec LocateExecutableObjectFile(const ModuleSpec &module_spec);
39 static FileSpec LocateExecutableSymbolFile(const ModuleSpec &module_spec);
56 static bool DownloadObjectAndSymbolFile(ModuleSpec &module_spec,
/freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/Target/
H A DModuleCache.h58 const ModuleSpec &module_spec,
65 const ModuleSpec &module_spec, const FileSpec &tmp_file,
69 const ModuleSpec &module_spec, lldb::ModuleSP &cached_module_sp,
H A DPlatform.h155 virtual Status ResolveExecutable(const ModuleSpec &module_spec,
325 virtual Status GetSharedModule(const ModuleSpec &module_spec,
332 const ArchSpec &arch, ModuleSpec &module_spec);
1012 Status GetCachedExecutable(ModuleSpec &module_spec, lldb::ModuleSP &module_sp,
1029 Status GetRemoteSharedModule(const ModuleSpec &module_spec, Process *process,
1034 bool GetCachedSharedModule(const ModuleSpec &module_spec,
1037 Status LoadCachedExecutable(const ModuleSpec &module_spec,
/freebsd-12.1/contrib/llvm/tools/lldb/source/Symbol/
H A DSymbol.cpp412 Target &target, ConstString &reexport_name, ModuleSpec &module_spec, in ResolveReExportedSymbolInModuleSpec() argument
415 if (module_spec.GetFileSpec()) { in ResolveReExportedSymbolInModuleSpec()
417 module_sp = target.GetImages().FindFirstModule(module_spec); in ResolveReExportedSymbolInModuleSpec()
422 module_spec.GetFileSpec().GetDirectory().Clear(); in ResolveReExportedSymbolInModuleSpec()
423 module_sp = target.GetImages().FindFirstModule(module_spec); in ResolveReExportedSymbolInModuleSpec()
470 ModuleSpec module_spec; in ResolveReExportedSymbol() local
472 module_spec.GetFileSpec() = GetReExportedSymbolSharedLibrary(); in ResolveReExportedSymbol()
473 if (module_spec.GetFileSpec()) { in ResolveReExportedSymbol()
475 module_spec, seen_modules); in ResolveReExportedSymbol()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Breakpoint/
H A DBreakpointResolverAddress.cpp28 Breakpoint *bkpt, const Address &addr, const FileSpec &module_spec) in BreakpointResolverAddress() argument
31 m_module_filespec(module_spec) {} in BreakpointResolverAddress()
139 ModuleSpec module_spec(m_module_filespec); in SearchCallback() local
140 ModuleSP module_sp = target.GetImages().FindFirstModule(module_spec); in SearchCallback()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/Process/minidump/
H A DProcessMinidump.cpp55 PlaceholderModule(const ModuleSpec &module_spec) : in PlaceholderModule() argument
56 Module(module_spec.GetFileSpec(), module_spec.GetArchitecture()) { in PlaceholderModule()
57 if (module_spec.GetUUID().IsValid()) in PlaceholderModule()
58 SetUUID(module_spec.GetUUID()); in PlaceholderModule()
360 ModuleSpec module_spec(file_spec, uuid); in ReadModuleList() local
362 lldb::ModuleSP module_sp = GetTarget().GetSharedModule(module_spec, &error); in ReadModuleList()
378 std::make_shared<PlaceholderModule>(module_spec); in ReadModuleList()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/
H A DDynamicLoaderPOSIXDYLD.cpp444 ModuleSpec module_spec{I->file_spec}; in RefreshModules() local
445 ModuleSP module_sp = loaded_modules.FindFirstModule(module_spec); in RefreshModules()
543 ModuleSpec module_spec(file, target.GetArchitecture()); in LoadInterpreterModule() local
545 if (ModuleSP module_sp = target.GetSharedModule(module_spec)) { in LoadInterpreterModule()
735 ModuleSpec module_spec(process_info.GetExecutableFile(), in ResolveExecutableModule() local
737 if (module_sp && module_sp->MatchesModuleSpec(module_spec)) in ResolveExecutableModule()
742 module_spec, module_sp, in ResolveExecutableModule()
746 module_spec.Dump(stream); in ResolveExecutableModule()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/DynamicLoader/Hexagon-DYLD/
H A DDynamicLoaderHexagonDYLD.cpp183 ModuleSpec module_spec(executable->GetFileSpec(), in GetTargetExecutable() local
185 ModuleSP module_sp(new Module(module_spec)); in GetTargetExecutable()
201 executable = target.GetSharedModule(module_spec); in GetTargetExecutable()
394 ModuleSpec module_spec(file); in RefreshModules() local
395 ModuleSP module_sp = loaded_modules.FindFirstModule(module_spec); in RefreshModules()
/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
102 ModuleSpec resolved_module_spec(module_spec); in ResolveExecutable()
108 module_spec.GetUUID().IsValid()) { in ResolveExecutable()
164 ModuleSpec &module_spec) { in GetModuleSpec() argument
169 if (!m_gdb_client.GetModuleInfo(module_file_spec, arch, module_spec)) { in GetModuleSpec()
180 module_spec.Dump(stream); in GetModuleSpec()
H A DPlatformRemoteGDBServer.h50 ResolveExecutable(const ModuleSpec &module_spec, lldb::ModuleSP &module_sp,
54 ModuleSpec &module_spec) override;
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/ObjectContainer/BSD-Archive/
H A DObjectContainerBSDArchive.cpp509 ModuleSpec module_spec; in GetModuleSpecifications() local
510 if (specs.GetModuleSpecAtIndex(i, module_spec)) { in GetModuleSpecifications()
511 if (module_spec.GetArchitecture().IsValid()) { in GetModuleSpecifications()
512 archive_sp->SetArchitecture(module_spec.GetArchitecture()); in GetModuleSpecifications()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/Platform/POSIX/
H A DPlatformPOSIX.h31 lldb_private::ModuleSpec &module_spec) override;
101 const lldb_private::ModuleSpec &module_spec, lldb::ModuleSP &module_sp,
/freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/Breakpoint/
H A DBreakpointResolverAddress.h30 const FileSpec &module_spec);

12