Home
last modified time | relevance | path

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

1234

/llvm-project-15.0.7/lldb/source/Plugins/Platform/MacOSX/
H A DPlatformDarwinDevice.cpp279 const lldb_private::ModuleSpec &module_spec, in BringInRemoteFile() argument
296 module_spec.GetFileSpec().GetDirectory().AsCString(), in GetSharedModuleWithLocalCache()
297 module_spec.GetFileSpec().GetFilename().AsCString(), in GetSharedModuleWithLocalCache()
318 (!module_spec.GetUUID() || module_spec.GetUUID() == image_info.uuid)) { in GetSharedModuleWithLocalCache()
327 module_spec.GetFileSpec().GetPath().c_str()); in GetSharedModuleWithLocalCache()
337 module_spec.GetFileSpec().GetPath()); in GetSharedModuleWithLocalCache()
349 module_spec.GetFileSpec().GetPath().c_str(), in GetSharedModuleWithLocalCache()
356 err = ModuleList::GetSharedModule(module_spec, module_sp, in GetSharedModuleWithLocalCache()
384 module_spec.GetArchitecture()); in GetSharedModuleWithLocalCache()
423 module_sp->SetPlatformFileSpec(module_spec.GetFileSpec()); in GetSharedModuleWithLocalCache()
[all …]
H A DPlatformMacOSX.cpp172 const lldb_private::ModuleSpec &module_spec, Process *process, in GetSharedModule() argument
176 Status error = GetSharedModuleWithLocalCache(module_spec, module_sp, in GetSharedModule()
181 if (module_spec.GetArchitecture().GetCore() == in GetSharedModule()
186 ModuleSpec module_spec_x86_64(module_spec); in GetSharedModule()
208 error = FindBundleBinaryInExecSearchPaths(module_spec, process, module_sp, in GetSharedModule()
H A DPlatformDarwinKernel.cpp717 const ModuleSpec &module_spec, Process *process, ModuleSP &module_sp, in GetSharedModule() argument
722 const FileSpec &platform_file = module_spec.GetFileSpec(); in GetSharedModule()
728 if (!kext_bundle_id.empty() && module_spec.GetUUID().IsValid()) { in GetSharedModule()
730 return GetSharedModuleKernel(module_spec, process, module_sp, in GetSharedModule()
734 return GetSharedModuleKext(module_spec, process, module_sp, in GetSharedModule()
748 const ModuleSpec &module_spec, Process *process, ModuleSP &module_sp, in GetSharedModuleKext() argument
753 const FileSpec &platform_file = module_spec.GetFileSpec(); in GetSharedModuleKext()
764 module_spec.GetArchitecture(), in GetSharedModuleKext()
786 const ModuleSpec &module_spec, Process *process, ModuleSP &module_sp, in GetSharedModuleKernel() argument
796 kern_spec.GetUUID() = module_spec.GetUUID(); in GetSharedModuleKernel()
[all …]
H A DPlatformDarwin.cpp209 FileSpec module_spec = module.GetFileSpec(); in LocateExecutableScriptingResources() local
211 if (module_spec) { in LocateExecutableScriptingResources()
220 while (module_spec.GetFilename()) { in LocateExecutableScriptingResources()
222 module_spec.GetFilename().GetCString()); in LocateExecutableScriptingResources()
307 module_spec.GetFileNameStrippingExtension()); in LocateExecutableScriptingResources()
355 const FileSpec &platform_file = module_spec.GetFileSpec(); in GetSharedModule()
362 ModuleSpec new_module_spec(module_spec); in GetSharedModule()
390 ModuleSpec new_module_spec(module_spec); in GetSharedModule()
408 module_sp->SetPlatformFileSpec(module_spec.GetFileSpec()); in GetSharedModule()
1199 const FileSpec &platform_file = module_spec.GetFileSpec(); in FindBundleBinaryInExecSearchPaths()
[all …]
H A DPlatformAppleSimulator.cpp365 const ModuleSpec &module_spec, lldb::ModuleSP &exe_module_sp, in ResolveExecutable() argument
370 ModuleSpec resolved_module_spec(module_spec); in ResolveExecutable()
402 if (!module_spec.GetArchitecture().IsValid() || in ResolveExecutable()
403 module_spec.GetArchitecture().GetCore() == in ResolveExecutable()
433 module_spec.GetFileSpec().GetPath().c_str()); in ResolveExecutable()
473 const ModuleSpec &module_spec, Process *process, ModuleSP &module_sp, in GetSharedModule() argument
481 ModuleSpec platform_module_spec(module_spec); in GetSharedModule()
482 const FileSpec &platform_file = module_spec.GetFileSpec(); in GetSharedModule()
483 error = GetSymbolFile(platform_file, module_spec.GetUUIDPtr(), in GetSharedModule()
490 error = ModuleList::GetSharedModule(module_spec, module_sp, in GetSharedModule()
/llvm-project-15.0.7/lldb/source/Symbol/
H A DLocateSymbolFile.cpp159 const FileSpec &exec_fspec = module_spec.GetFileSpec(); in LocateDSYMInVincinityOfExecutable()
211 const FileSpec *exec_fspec = module_spec.GetFileSpecPtr(); in LocateExecutableSymbolFileDsym()
212 const ArchSpec *arch = module_spec.GetArchitecturePtr(); in LocateExecutableSymbolFileDsym()
213 const UUID *uuid = module_spec.GetUUIDPtr(); in LocateExecutableSymbolFileDsym()
236 const FileSpec &exec_fspec = module_spec.GetFileSpec(); in LocateExecutableObjectFile()
237 const ArchSpec *arch = module_spec.GetArchitecturePtr(); in LocateExecutableObjectFile()
238 const UUID *uuid = module_spec.GetUUIDPtr(); in LocateExecutableObjectFile()
251 LocateMacOSXFilesUsingDebugSymbols(module_spec, result); in LocateExecutableObjectFile()
274 FileSpec module_file_spec = module_spec.GetFileSpec(); in LocateExecutableSymbolFile()
315 const UUID &module_uuid = module_spec.GetUUID(); in LocateExecutableSymbolFile()
[all …]
H A DLocateSymbolFileMacOSX.cpp57 return_module_spec = module_spec; in LocateMacOSXFilesUsingDebugSymbols()
61 const UUID *uuid = module_spec.GetUUIDPtr(); in LocateMacOSXFilesUsingDebugSymbols()
62 const ArchSpec *arch = module_spec.GetArchitecturePtr(); in LocateMacOSXFilesUsingDebugSymbols()
155 exe_spec.GetUUID() = module_spec.GetUUID(); in LocateMacOSXFilesUsingDebugSymbols()
172 module_spec.GetFileSpec().GetPath()); in LocateMacOSXFilesUsingDebugSymbols()
176 if (image_info.uuid && (!module_spec.GetUUID() || in LocateMacOSXFilesUsingDebugSymbols()
365 module_spec.GetSymbolFileSpec().SetFile(str.c_str(), in GetModuleSpecInfoFromUUIDDictionary()
454 module_spec.GetSourceMappingList().Append( in GetModuleSpecInfoFromUUIDDictionary()
497 const UUID *uuid_ptr = module_spec.GetUUIDPtr(); in DownloadObjectAndSymbolFile()
650 values[0], module_spec, error); in DownloadObjectAndSymbolFile()
[all …]
/llvm-project-15.0.7/lldb/source/Target/
H A DModuleCache.cpp195 GetModuleDirectory(root_dir_spec, module_spec.GetUUID()); in Put()
216 const ModuleSpec &module_spec, in Get() argument
219 m_loaded_modules.find(module_spec.GetUUID().GetAsString()); in Get()
228 GetModuleDirectory(root_dir_spec, module_spec.GetUUID()); in Get()
235 module_spec.GetObjectSize()) in Get()
248 auto cached_module_spec(module_spec); in Get()
271 const ModuleSpec &module_spec, in GetAndPut() argument
277 GetModuleDirectory(root_dir_spec, module_spec.GetUUID()); in GetAndPut()
282 ModuleLock lock(root_dir_spec, module_spec.GetUUID(), error); in GetAndPut()
285 module_spec.GetUUID().GetAsString().c_str(), in GetAndPut()
[all …]
H A DAssertFrameRecognizer.cpp20 FileSpec module_spec; member
41 location.module_spec = FileSpec("libsystem_kernel.dylib"); in GetAbortLocation()
45 location.module_spec = FileSpec("libc.so.6"); in GetAbortLocation()
74 location.module_spec = FileSpec("libsystem_c.dylib"); in GetAssertLocation()
78 location.module_spec = FileSpec("libc.so.6"); in GetAssertLocation()
102 location.module_spec.GetFilename(), location.symbols, in RegisterAssertFrameRecognizer()
107 for (char c : location.module_spec.GetFilename().GetStringRef()) { in RegisterAssertFrameRecognizer()
161 !sym_ctx.module_sp->GetFileSpec().FileEquals(location.module_spec)) in RecognizeFrame()
H A DPlatform.cpp782 ModuleSpec arch_module_spec(module_spec); in ResolveExecutable()
816 module_spec.GetUUID().IsValid()) { in ResolveRemoteExecutable()
1490 module_spec, nullptr, module_sp, in GetCachedExecutable()
1519 if (!module_spec.GetUUID().IsValid() || in GetRemoteSharedModule()
1531 ModuleSpec arch_module_spec(module_spec); in GetRemoteSharedModule()
1548 if (GetModuleSpec(module_spec.GetFileSpec(), module_spec.GetArchitecture(), in GetRemoteSharedModule()
1550 if (!module_spec.GetUUID().IsValid() || in GetRemoteSharedModule()
1560 return module_resolver(module_spec); in GetRemoteSharedModule()
1565 if (module_spec.GetUUID().IsValid()) { in GetRemoteSharedModule()
1591 [this](const ModuleSpec &module_spec, in GetCachedSharedModule()
[all …]
H A DTargetList.cpp122 ModuleSpec module_spec(FileSpec(user_exe_path, FileSpec::Style::native)); in CreateTargetInternal() local
123 FileSystem::Instance().Resolve(module_spec.GetFileSpec()); in CreateTargetInternal()
128 !FileSystem::Instance().Exists(module_spec.GetFileSpec())) in CreateTargetInternal()
130 module_spec.GetFileSpec()); in CreateTargetInternal()
134 Host::ResolveExecutableInBundle(module_spec.GetFileSpec()); in CreateTargetInternal()
140 module_spec.GetFileSpec(), file_offset, file_size, module_specs); in CreateTargetInternal()
165 module_spec.GetFileSpec().GetPath().c_str()); in CreateTargetInternal()
176 module_spec.GetArchitecture() = arch; in CreateTargetInternal()
177 if (module_specs.FindMatchingModuleSpec(module_spec, in CreateTargetInternal()
306 ModuleSpec module_spec(file, arch); in CreateTargetInternal() local
[all …]
/llvm-project-15.0.7/lldb/unittests/Symbol/
H A DLocateSymbolFileTest.cpp31 ModuleSpec module_spec; in TEST_F() local
34 Symbols::LocateExecutableSymbolFile(module_spec, search_paths); in TEST_F()
40 ModuleSpec module_spec; in TEST_F() local
42 module_spec.GetSymbolFileSpec().SetFile( in TEST_F()
46 Symbols::LocateExecutableSymbolFile(module_spec, search_paths); in TEST_F()
/llvm-project-15.0.7/lldb/source/Plugins/SymbolVendor/PECOFF/
H A DSymbolVendorPECOFF.cpp82 ModuleSpec module_spec; in CreateInstance() local
84 module_spec.GetFileSpec() = obj_file->GetFileSpec(); in CreateInstance()
85 FileSystem::Instance().Resolve(module_spec.GetFileSpec()); in CreateInstance()
86 module_spec.GetSymbolFileSpec() = fspec; in CreateInstance()
87 module_spec.GetUUID() = uuid; in CreateInstance()
90 Symbols::LocateExecutableSymbolFile(module_spec, search_paths); in CreateInstance()
/llvm-project-15.0.7/lldb/source/Plugins/SymbolVendor/wasm/
H A DSymbolVendorWasm.cpp73 ModuleSpec module_spec; in CreateInstance() local
74 module_spec.GetFileSpec() = obj_file->GetFileSpec(); in CreateInstance()
75 FileSystem::Instance().Resolve(module_spec.GetFileSpec()); in CreateInstance()
76 module_spec.GetUUID() = obj_file->GetUUID(); in CreateInstance()
85 module_spec.GetSymbolFileSpec() = *symbol_file_spec; in CreateInstance()
89 Symbols::LocateExecutableSymbolFile(module_spec, search_paths); in CreateInstance()
/llvm-project-15.0.7/lldb/source/Plugins/SymbolVendor/ELF/
H A DSymbolVendorELF.cpp82 ModuleSpec module_spec; in CreateInstance() local
84 module_spec.GetFileSpec() = obj_file->GetFileSpec(); in CreateInstance()
85 FileSystem::Instance().Resolve(module_spec.GetFileSpec()); in CreateInstance()
86 module_spec.GetSymbolFileSpec() = fspec; in CreateInstance()
87 module_spec.GetUUID() = uuid; in CreateInstance()
90 Symbols::LocateExecutableSymbolFile(module_spec, search_paths); in CreateInstance()
/llvm-project-15.0.7/lldb/unittests/Target/
H A DModuleCacheTest.cpp87 ModuleSpec module_spec; in TryGetAndPut() local
88 module_spec.GetFileSpec() = GetDummyRemotePath(); in TryGetAndPut()
89 module_spec.GetUUID().SetFromStringRef(module_uuid); in TryGetAndPut()
90 module_spec.SetObjectSize(module_size); in TryGetAndPut()
96 cache_dir, hostname, module_spec, in TryGetAndPut()
97 [&download_called, this](const ModuleSpec &module_spec, in TryGetAndPut()
101 module_spec.GetFileSpec().GetCString()); in TryGetAndPut()
/llvm-project-15.0.7/lldb/include/lldb/Core/
H A DModuleSpec.h323 bool GetModuleSpecAtIndex(size_t i, ModuleSpec &module_spec) const { in GetModuleSpecAtIndex() argument
326 module_spec = m_specs[i]; in GetModuleSpecAtIndex()
329 module_spec.Clear(); in GetModuleSpecAtIndex()
333 bool FindMatchingModuleSpec(const ModuleSpec &module_spec, in FindMatchingModuleSpec() argument
338 if (spec.Matches(module_spec, exact_arch_match)) { in FindMatchingModuleSpec()
345 if (module_spec.GetArchitecturePtr()) { in FindMatchingModuleSpec()
348 if (spec.Matches(module_spec, exact_arch_match)) { in FindMatchingModuleSpec()
358 void FindMatchingModuleSpecs(const ModuleSpec &module_spec, in FindMatchingModuleSpecs() argument
364 if (spec.Matches(module_spec, exact_arch_match)) in FindMatchingModuleSpecs()
370 if (module_spec.GetArchitecturePtr() && in FindMatchingModuleSpecs()
[all …]
/llvm-project-15.0.7/lldb/source/Plugins/ObjectFile/PDB/
H A DObjectFilePDB.cpp111 ModuleSpec module_spec(file); in GetModuleSpecifications() local
128 lldb_private::UUID &uuid = module_spec.GetUUID(); in GetModuleSpecifications()
131 ArchSpec &module_arch = module_spec.GetArchitecture(); in GetModuleSpecifications()
135 specs.Append(module_spec); in GetModuleSpecifications()
139 specs.Append(module_spec); in GetModuleSpecifications()
143 specs.Append(module_spec); in GetModuleSpecifications()
147 specs.Append(module_spec); in GetModuleSpecifications()
/llvm-project-15.0.7/lldb/source/Core/
H A DDynamicLoader.cpp78 ModuleSpec module_spec(executable->GetFileSpec(), in GetTargetExecutable() local
80 auto module_sp = std::make_shared<Module>(module_spec); in GetTargetExecutable()
93 executable = target.GetOrCreateModule(module_spec, true /* notify */); in GetTargetExecutable()
150 ModuleSpec module_spec(file, target.GetArchitecture()); in FindModuleViaTarget() local
152 if (ModuleSP module_sp = target.GetImages().FindFirstModule(module_spec)) in FindModuleViaTarget()
155 if (ModuleSP module_sp = target.GetOrCreateModule(module_spec, false)) in FindModuleViaTarget()
H A DModuleList.cpp520 void ModuleList::FindModules(const ModuleSpec &module_spec, in FindModules() argument
524 if (module_sp->MatchesModuleSpec(module_spec)) in FindModules()
624 if (module_sp->MatchesModuleSpec(module_spec)) in FindFirstModule()
767 void ModuleList::FindSharedModules(const ModuleSpec &module_spec, in FindSharedModules() argument
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()
836 module_sp = std::make_shared<Module>(module_spec); in GetSharedModule()
876 auto resolved_module_spec(module_spec); in GetSharedModule()
909 Symbols::LocateExecutableObjectFile(module_spec); in GetSharedModule()
[all …]
/llvm-project-15.0.7/lldb/include/lldb/Symbol/
H A DLocateSymbolFile.h30 static ModuleSpec LocateExecutableObjectFile(const ModuleSpec &module_spec);
37 LocateExecutableSymbolFile(const ModuleSpec &module_spec,
53 static bool DownloadObjectAndSymbolFile(ModuleSpec &module_spec,
/llvm-project-15.0.7/lldb/source/Commands/
H A DCommandObjectTarget.cpp2506 ModuleSpec module_spec; in DoExecute() local
2507 module_spec.GetUUID() = in DoExecute()
2656 ModuleSpec module_spec; in DoExecute() local
2695 module_spec.GetUUID() = in DoExecute()
4074 if (!module_spec.GetFileSpec() && !module_spec.GetPlatformFileSpec()) in AddModuleSymbols()
4233 ModuleSpec module_spec; in AddSymbolsForUUID() local
4234 module_spec.GetUUID() = in AddSymbolsForUUID()
4251 ModuleSpec module_spec; in AddSymbolsForFile() local
4308 ModuleSpec module_spec; in AddSymbolsForFrame() local
4357 ModuleSpec module_spec; in AddSymbolsForStack() local
[all …]
/llvm-project-15.0.7/lldb/include/lldb/Target/
H A DModuleCache.h55 const ModuleSpec &module_spec,
62 const ModuleSpec &module_spec, const FileSpec &tmp_file,
66 const ModuleSpec &module_spec, lldb::ModuleSP &cached_module_sp,
/llvm-project-15.0.7/lldb/source/Plugins/Process/MacOSX-Kernel/
H A DProcessKDP.cpp273 ModuleSpec module_spec; in DoConnectRemote() local
274 module_spec.GetUUID() = kernel_uuid; in DoConnectRemote()
275 module_spec.GetArchitecture() = target.GetArchitecture(); in DoConnectRemote()
280 module_spec.GetSymbolFileSpec() = in DoConnectRemote()
281 Symbols::LocateExecutableSymbolFile(module_spec, in DoConnectRemote()
283 if (module_spec.GetSymbolFileSpec()) { in DoConnectRemote()
285 Symbols::LocateExecutableObjectFile(module_spec); in DoConnectRemote()
288 module_spec.GetFileSpec() = in DoConnectRemote()
292 if (!module_spec.GetSymbolFileSpec() || in DoConnectRemote()
293 !module_spec.GetSymbolFileSpec()) { in DoConnectRemote()
[all …]
/llvm-project-15.0.7/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/
H A DDynamicLoaderDarwin.cpp103 ModuleSpec module_spec(image_info.file_spec); in FindTargetModuleForImageInfo() local
104 module_spec.GetUUID() = image_info.uuid; in FindTargetModuleForImageInfo()
113 module_spec.GetArchitecture() = ArchSpec(target_triple); in FindTargetModuleForImageInfo()
117 ModuleSP module_sp(target_images.FindFirstModule(module_spec)); in FindTargetModuleForImageInfo()
119 if (module_sp && !module_spec.GetUUID().IsValid() && in FindTargetModuleForImageInfo()
143 (!module_spec.GetUUID() || module_spec.GetUUID() == image_info.uuid)) { in FindTargetModuleForImageInfo()
646 ModuleSpec module_spec(objfile->GetFileSpec(), in AddModulesUsingImageInfos() local
648 module_spec.GetObjectName() = commpage_dbstr; in AddModulesUsingImageInfos()
650 target_images.FindFirstModule(module_spec)); in AddModulesUsingImageInfos()
1025 ModuleSpec module_spec; in GetPThreadLibraryModule() local
[all …]

1234