Home
last modified time | relevance | path

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

123

/freebsd/contrib/llvm-project/lldb/source/Symbol/
H A DLocateSymbolFile.cpp
H A DLocateSymbolFileMacOSX.cpp
H A DSymbolLocator.cpp34 ModuleSpec module_spec; in DownloadSymbolFileAsync() local
35 module_spec.GetUUID() = uuid; in DownloadSymbolFileAsync()
36 if (!PluginManager::DownloadObjectAndSymbolFile(module_spec, error, in DownloadSymbolFileAsync()
44 Debugger::ReportSymbolChange(module_spec); in DownloadSymbolFileAsync()
H A DSymbol.cpp471 Target &target, ConstString &reexport_name, ModuleSpec &module_spec, in ResolveReExportedSymbolInModuleSpec() argument
474 if (module_spec.GetFileSpec()) { in ResolveReExportedSymbolInModuleSpec()
476 module_sp = target.GetImages().FindFirstModule(module_spec); in ResolveReExportedSymbolInModuleSpec()
481 module_spec.GetFileSpec().ClearDirectory(); in ResolveReExportedSymbolInModuleSpec()
482 module_sp = target.GetImages().FindFirstModule(module_spec); in ResolveReExportedSymbolInModuleSpec()
523 ModuleSpec module_spec; in ResolveReExportedSymbol() local
525 module_spec.GetFileSpec() = GetReExportedSymbolSharedLibrary(); in ResolveReExportedSymbol()
526 if (module_spec.GetFileSpec()) { in ResolveReExportedSymbol()
528 module_spec, seen_modules); in ResolveReExportedSymbol()
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolLocator/DebugSymbols/
H A DSymbolLocatorDebugSymbols.cpp84 const ModuleSpec &module_spec) { in LocateExecutableObjectFile() argument
91 return_module_spec = module_spec; in LocateExecutableObjectFile()
95 const UUID *uuid = module_spec.GetUUIDPtr(); in LocateExecutableObjectFile()
96 const ArchSpec *arch = module_spec.GetArchitecturePtr(); in LocateExecutableObjectFile()
131 const FileSpec *exec_fspec = module_spec.GetFileSpecPtr(); in LocateExecutableObjectFile()
186 if (FileSystem::Instance().Exists(module_spec.GetFileSpec())) { in LocateExecutableObjectFile()
188 exe_spec.GetFileSpec() = module_spec.GetFileSpec(); in LocateExecutableObjectFile()
189 exe_spec.GetUUID() = module_spec.GetUUID(); in LocateExecutableObjectFile()
195 return_module_spec.GetFileSpec() = module_spec.GetFileSpec(); in LocateExecutableObjectFile()
197 module_spec.GetFileSpec().GetPath().c_str(), in LocateExecutableObjectFile()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Target/
H A DModuleCache.cpp192 const ModuleSpec &module_spec, const FileSpec &tmp_file, in Put() argument
195 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()
230 module_spec_dir, module_spec.GetFileSpec().GetFilename().AsCString()); in Get()
235 module_spec.GetObjectSize()) in Get()
242 module_spec.GetFileSpec(), in Get()
248 auto cached_module_spec(module_spec); in Get()
252 cached_module_spec.GetPlatformFileSpec() = module_spec.GetFileSpec(); in Get()
[all …]
H A DAssertFrameRecognizer.cpp30 location.module_spec = FileSpec("libsystem_kernel.dylib"); in GetAbortLocation()
34 location.module_spec = FileSpec("libc.so.6"); in GetAbortLocation()
63 location.module_spec = FileSpec("libsystem_c.dylib"); in GetAssertLocation()
67 location.module_spec = FileSpec("libc.so.6"); in GetAssertLocation()
91 location.module_spec.GetFilename(), location.symbols, in RegisterAssertFrameRecognizer()
96 for (char c : location.module_spec.GetFilename().GetStringRef()) { in RegisterAssertFrameRecognizer()
150 !sym_ctx.module_sp->GetFileSpec().FileEquals(location.module_spec)) in RecognizeFrame()
H A DPlatform.cpp165 const ModuleSpec &module_spec, Process *process, ModuleSP &module_sp, in GetSharedModule() argument
169 return ModuleList::GetSharedModule(module_spec, module_sp, in GetSharedModule()
200 return GetRemoteSharedModule(module_spec, process, module_sp, resolver, in GetSharedModule()
205 const ArchSpec &arch, ModuleSpec &module_spec) { in GetModuleSpec() argument
213 module_spec); in GetModuleSpec()
732 Platform::ResolveExecutable(const ModuleSpec &module_spec, in ResolveExecutable() argument
738 ModuleSpec resolved_module_spec(module_spec); in ResolveExecutable()
744 !module_spec.GetUUID().IsValid()) in ResolveExecutable()
1442 Platform::GetCachedExecutable(ModuleSpec &module_spec, in GetCachedExecutable() argument
1445 FileSpec platform_spec = module_spec.GetFileSpec(); in GetCachedExecutable()
[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()
308 ModuleSpec module_spec(file, arch); in CreateTargetInternal() local
[all …]
/freebsd/contrib/llvm-project/lldb/source/Core/
H A DDynamicLoader.cpp83 ModuleSpec module_spec(executable->GetFileSpec(), in GetTargetExecutable() local
85 auto module_sp = std::make_shared<Module>(module_spec); in GetTargetExecutable()
98 executable = target.GetOrCreateModule(module_spec, true /* notify */); in GetTargetExecutable()
155 ModuleSpec module_spec(file, target.GetArchitecture()); in FindModuleViaTarget() local
157 if (ModuleSP module_sp = target.GetImages().FindFirstModule(module_spec)) in FindModuleViaTarget()
160 if (ModuleSP module_sp = target.GetOrCreateModule(module_spec, false)) in FindModuleViaTarget()
221 ModuleSpec module_spec; in LoadBinaryWithUUIDAndAddress() local
222 module_spec.GetUUID() = uuid; in LoadBinaryWithUUIDAndAddress()
231 error = ModuleList::GetSharedModule(module_spec, module_sp, nullptr, in LoadBinaryWithUUIDAndAddress()
238 module_spec.GetSymbolFileSpec() = in LoadBinaryWithUUIDAndAddress()
[all …]
H A DModule.cpp133 Module::Module(const ModuleSpec &module_spec) in Module() argument
146 module_spec.GetArchitecture().GetArchitectureName(), in Module()
147 module_spec.GetFileSpec().GetPath().c_str(), in Module()
148 module_spec.GetObjectName().IsEmpty() ? "" : "(", in Module()
149 module_spec.GetObjectName().AsCString(""), in Module()
150 module_spec.GetObjectName().IsEmpty() ? "" : ")"); in Module()
152 auto data_sp = module_spec.GetData(); in Module()
161 module_spec.GetFileSpec(), 0, file_size, modules_specs, data_sp) == 0) in Module()
172 if (!modules_specs.FindMatchingModuleSpec(module_spec, in Module()
183 if (auto module_spec_data_sp = module_spec.GetData()) { in Module()
[all …]
H A DModuleList.cpp543 void ModuleList::FindModules(const ModuleSpec &module_spec, in FindModules() argument
547 if (module_sp->MatchesModuleSpec(module_spec)) in FindModules()
626 ModuleSP ModuleList::FindFirstModule(const ModuleSpec &module_spec) const { in FindFirstModule()
632 if (module_sp->MatchesModuleSpec(module_spec)) in FindFirstModule()
775 void ModuleList::FindSharedModules(const ModuleSpec &module_spec, in FindSharedModules() argument
777 GetSharedModuleList().FindModules(module_spec, matching_module_list); in FindSharedModules()
789 ModuleList::GetSharedModule(const ModuleSpec &module_spec, ModuleSP &module_sp, in GetSharedModule() argument
805 const UUID *uuid_ptr = module_spec.GetUUIDPtr(); in GetSharedModule()
806 const FileSpec &module_file_spec = module_spec.GetFileSpec(); in GetSharedModule()
807 const ArchSpec &arch = module_spec.GetArchitecture(); in GetSharedModule()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolLocator/Default/
H A DSymbolLocatorDefault.cpp74 const ModuleSpec &module_spec) { in LocateExecutableObjectFile() argument
75 const FileSpec &exec_fspec = module_spec.GetFileSpec(); in LocateExecutableObjectFile()
76 const ArchSpec *arch = module_spec.GetArchitecturePtr(); in LocateExecutableObjectFile()
77 const UUID *uuid = module_spec.GetUUIDPtr(); in LocateExecutableObjectFile()
87 module_specs.FindMatchingModuleSpec(module_spec, matched_module_spec)) { in LocateExecutableObjectFile()
98 const ModuleSpec &module_spec, const FileSpecList &default_search_paths) { in LocateExecutableSymbolFile() argument
100 FileSpec symbol_file_spec = module_spec.GetSymbolFileSpec(); in LocateExecutableSymbolFile()
107 module_spec.GetFileSpec().GetFilename().AsCString("<Unknown>")); in LocateExecutableSymbolFile()
112 FileSpec module_file_spec = module_spec.GetFileSpec(); in LocateExecutableSymbolFile()
171 const UUID &module_uuid = module_spec.GetUUID(); in LocateExecutableSymbolFile()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolVendor/PECOFF/
H A DSymbolVendorPECOFF.cpp81 ModuleSpec module_spec; in CreateInstance()
83 module_spec.GetFileSpec() = obj_file->GetFileSpec(); in CreateInstance()
84 FileSystem::Instance().Resolve(module_spec.GetFileSpec()); in CreateInstance()
85 module_spec.GetSymbolFileSpec() = fspec; in CreateInstance()
86 module_spec.GetUUID() = uuid; in CreateInstance()
89 PluginManager::LocateExecutableSymbolFile(module_spec, search_paths); in CreateInstance()
82 ModuleSpec module_spec; CreateInstance() local
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolVendor/wasm/
H A DSymbolVendorWasm.cpp73 ModuleSpec module_spec; in CreateInstance()
74 module_spec.GetFileSpec() = obj_file->GetFileSpec(); in CreateInstance() local
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 PluginManager::LocateExecutableSymbolFile(module_spec, search_paths); in CreateInstance()
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolVendor/ELF/
H A DSymbolVendorELF.cpp81 ModuleSpec module_spec; in CreateInstance()
83 module_spec.GetFileSpec() = obj_file->GetFileSpec(); in CreateInstance()
84 FileSystem::Instance().Resolve(module_spec.GetFileSpec()); in CreateInstance()
85 module_spec.GetSymbolFileSpec() = fspec; in CreateInstance()
86 module_spec.GetUUID() = uuid; in CreateInstance()
89 PluginManager::LocateExecutableSymbolFile(module_spec, search_paths); in CreateInstance()
82 ModuleSpec module_spec; CreateInstance() local
/freebsd/contrib/llvm-project/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 …]
H A DModuleList.h342 void FindModules(const ModuleSpec &module_spec,
354 lldb::ModuleSP FindFirstModule(const ModuleSpec &module_spec) const;
468 GetSharedModule(const ModuleSpec &module_spec, lldb::ModuleSP &module_sp,
475 static void FindSharedModules(const ModuleSpec &module_spec,
/freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectFile/PDB/
H A DObjectFilePDB.cpp116 ModuleSpec module_spec(file); in GetModuleSpecifications() local
133 lldb_private::UUID &uuid = module_spec.GetUUID(); in GetModuleSpecifications()
136 ArchSpec &module_arch = module_spec.GetArchitecture(); in GetModuleSpecifications()
140 specs.Append(module_spec); in GetModuleSpecifications()
144 specs.Append(module_spec); in GetModuleSpecifications()
148 specs.Append(module_spec); in GetModuleSpecifications()
152 specs.Append(module_spec); in GetModuleSpecifications()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectFile/Placeholder/
H A DObjectFilePlaceholder.cpp27 const lldb_private::ModuleSpec &module_spec, lldb::addr_t base, in LLDB_PLUGIN_DEFINE()
29 : ObjectFile(module_sp, &module_spec.GetFileSpec(), /*file_offset*/ 0, in LLDB_PLUGIN_DEFINE()
31 m_arch(module_spec.GetArchitecture()), m_uuid(module_spec.GetUUID()), in LLDB_PLUGIN_DEFINE()
/freebsd/contrib/llvm-project/lldb/source/Commands/
H A DCommandObjectTarget.cpp932 ModuleSpec module_spec(module_file); in DoExecute() local
935 target->GetImages().FindFirstModule(module_spec)); in DoExecute()
1795 ModuleSpec module_spec(module_file_spec); in FindModulesByName() local
1809 if (module->MatchesModuleSpec(module_spec)) { in FindModulesByName()
1817 target->GetImages().FindModules(module_spec, module_list); in FindModulesByName()
1823 module_spec.GetArchitecture() = target->GetArchitecture(); in FindModulesByName()
1824 ModuleList::FindSharedModules(module_spec, module_list); in FindModulesByName()
1827 ModuleList::FindSharedModules(module_spec, module_list); in FindModulesByName()
2736 ModuleSpec module_spec; in DoExecute() local
2737 module_spec.GetUUID() = in DoExecute()
[all …]
/freebsd/contrib/llvm-project/lldb/include/lldb/Symbol/
H A DLocateSymbolFile.h
/freebsd/contrib/llvm-project/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,
/freebsd/contrib/llvm-project/lldb/source/Plugins/Trace/intel-pt/
H A DTraceIntelPTBundleLoader.cpp42 ModuleSpec module_spec; in ParseModule()
43 module_spec.GetFileSpec() = local_file_spec; in ParseModule()
44 module_spec.GetPlatformFileSpec() = system_file_spec; in ParseModule()
47 module_spec.GetUUID().SetFromStringRef(*module.uuid); in ParseModule()
51 target.GetOrCreateModule(module_spec, /*notify*/ false, &error); in ParseModule()
168 ModuleSpec module_spec; in ParseKernel()
169 module_spec.GetFileSpec() = file_spec; in ParseKernel()
173 parsed_process->target_sp->GetOrCreateModule(module_spec, false, &error); in ParseKernel()
41 ModuleSpec module_spec; ParseModule() local
166 ModuleSpec module_spec; ParseKernel() local
/freebsd/contrib/llvm-project/lldb/source/Breakpoint/
H A DBreakpointResolverAddress.cpp23 const BreakpointSP &bkpt, const Address &addr, const FileSpec &module_spec) in BreakpointResolverAddress() argument
26 m_module_filespec(module_spec) {} in BreakpointResolverAddress()
127 ModuleSpec module_spec(m_module_filespec); in SearchCallback()
128 ModuleSP module_sp = target.GetImages().FindFirstModule(module_spec); in SearchCallback()
129 ModuleSpec module_spec(m_module_filespec); SearchCallback() local

123