Home
last modified time | relevance | path

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

123

/freebsd-12-stable/contrib/llvm-project/lldb/source/Symbol/
DLocateSymbolFile.cpp36 int LocateMacOSXFilesUsingDebugSymbols(const ModuleSpec &module_spec,
41 int LocateMacOSXFilesUsingDebugSymbols(const ModuleSpec &module_spec, in LocateMacOSXFilesUsingDebugSymbols() argument
153 static bool LocateDSYMInVincinityOfExecutable(const ModuleSpec &module_spec, in LocateDSYMInVincinityOfExecutable() argument
156 const FileSpec &exec_fspec = module_spec.GetFileSpec(); in LocateDSYMInVincinityOfExecutable()
158 if (::LookForDsymNextToExecutablePath(module_spec, exec_fspec, in LocateDSYMInVincinityOfExecutable()
190 if (::LookForDsymNextToExecutablePath(module_spec, parent_dirs, in LocateDSYMInVincinityOfExecutable()
207 static FileSpec LocateExecutableSymbolFileDsym(const ModuleSpec &module_spec) { in LocateExecutableSymbolFileDsym() argument
208 const FileSpec *exec_fspec = module_spec.GetFileSpecPtr(); in LocateExecutableSymbolFileDsym()
209 const ArchSpec *arch = module_spec.GetArchitecturePtr(); in LocateExecutableSymbolFileDsym()
210 const UUID *uuid = module_spec.GetUUIDPtr(); in LocateExecutableSymbolFileDsym()
[all …]
DLocateSymbolFileMacOSX.cpp45 int LocateMacOSXFilesUsingDebugSymbols(const ModuleSpec &module_spec, in LocateMacOSXFilesUsingDebugSymbols() argument
53 return_module_spec = module_spec; in LocateMacOSXFilesUsingDebugSymbols()
57 const UUID *uuid = module_spec.GetUUIDPtr(); in LocateMacOSXFilesUsingDebugSymbols()
58 const ArchSpec *arch = module_spec.GetArchitecturePtr(); in LocateMacOSXFilesUsingDebugSymbols()
96 const FileSpec *exec_fspec = module_spec.GetFileSpecPtr(); in LocateMacOSXFilesUsingDebugSymbols()
207 module_spec, matched_module_spec)) in LocateMacOSXFilesUsingDebugSymbols()
236 module_specs.FindMatchingModuleSpec(module_spec, in LocateMacOSXFilesUsingDebugSymbols()
308 ModuleSpec &module_spec) { in GetModuleSpecInfoFromUUIDDictionary() argument
320 module_spec.GetFileSpec().SetFile(str.c_str(), FileSpec::Style::native); in GetModuleSpecInfoFromUUIDDictionary()
321 FileSystem::Instance().Resolve(module_spec.GetFileSpec()); in GetModuleSpecInfoFromUUIDDictionary()
[all …]
DSymbol.cpp417 Target &target, ConstString &reexport_name, ModuleSpec &module_spec, in ResolveReExportedSymbolInModuleSpec() argument
420 if (module_spec.GetFileSpec()) { in ResolveReExportedSymbolInModuleSpec()
422 module_sp = target.GetImages().FindFirstModule(module_spec); in ResolveReExportedSymbolInModuleSpec()
427 module_spec.GetFileSpec().GetDirectory().Clear(); in ResolveReExportedSymbolInModuleSpec()
428 module_sp = target.GetImages().FindFirstModule(module_spec); in ResolveReExportedSymbolInModuleSpec()
475 ModuleSpec module_spec; in ResolveReExportedSymbol() local
477 module_spec.GetFileSpec() = GetReExportedSymbolSharedLibrary(); in ResolveReExportedSymbol()
478 if (module_spec.GetFileSpec()) { in ResolveReExportedSymbol()
480 module_spec, seen_modules); in ResolveReExportedSymbol()
/freebsd-12-stable/contrib/llvm-project/lldb/source/Target/
DModuleCache.cpp191 const ModuleSpec &module_spec, const FileSpec &tmp_file, in Put() argument
194 GetModuleDirectory(root_dir_spec, module_spec.GetUUID()); in Put()
215 const ModuleSpec &module_spec, in Get() argument
218 m_loaded_modules.find(module_spec.GetUUID().GetAsString()); in Get()
227 GetModuleDirectory(root_dir_spec, module_spec.GetUUID()); in Get()
229 module_spec_dir, module_spec.GetFileSpec().GetFilename().AsCString()); in Get()
234 module_spec.GetObjectSize()) in Get()
241 module_spec.GetFileSpec(), in Get()
247 auto cached_module_spec(module_spec); in Get()
251 cached_module_spec.GetPlatformFileSpec() = module_spec.GetFileSpec(); in Get()
[all …]
DAssertFrameRecognizer.cpp23 FileSpec module_spec; member
44 location.module_spec = FileSpec("libsystem_kernel.dylib"); in GetAbortLocation()
48 location.module_spec = FileSpec("libc.so.6"); in GetAbortLocation()
77 location.module_spec = FileSpec("libsystem_c.dylib"); in GetAssertLocation()
81 location.module_spec = FileSpec("libc.so.6"); in GetAssertLocation()
105 location.module_spec.GetFilename(), location.symbols, in RegisterAssertFrameRecognizer()
110 for (char c : location.module_spec.GetFilename().GetStringRef()) { in RegisterAssertFrameRecognizer()
164 !sym_ctx.module_sp->GetFileSpec().FileEquals(location.module_spec)) in RecognizeFrame()
DPlatform.cpp222 const ModuleSpec &module_spec, Process *process, ModuleSP &module_sp, in GetSharedModule() argument
226 return ModuleList::GetSharedModule(module_spec, module_sp, in GetSharedModule()
258 return GetRemoteSharedModule(module_spec, process, module_sp, resolver, in GetSharedModule()
263 const ArchSpec &arch, ModuleSpec &module_spec) { in GetModuleSpec() argument
271 module_spec); in GetModuleSpec()
855 Platform::ResolveExecutable(const ModuleSpec &module_spec, in ResolveExecutable() argument
859 if (FileSystem::Instance().Exists(module_spec.GetFileSpec())) { in ResolveExecutable()
860 if (module_spec.GetArchitecture().IsValid()) { in ResolveExecutable()
861 error = ModuleList::GetSharedModule(module_spec, exe_module_sp, in ResolveExecutable()
868 ModuleSpec arch_module_spec(module_spec); in ResolveExecutable()
[all …]
DTargetList.cpp121 ModuleSpec module_spec(FileSpec(user_exe_path, FileSpec::Style::native)); in CreateTargetInternal() local
122 FileSystem::Instance().Resolve(module_spec.GetFileSpec()); in CreateTargetInternal()
125 Host::ResolveExecutableInBundle(module_spec.GetFileSpec()); in CreateTargetInternal()
131 module_spec.GetFileSpec(), file_offset, file_size, module_specs); in CreateTargetInternal()
156 module_spec.GetFileSpec().GetPath().c_str()); in CreateTargetInternal()
167 module_spec.GetArchitecture() = arch; in CreateTargetInternal()
168 if (module_specs.FindMatchingModuleSpec(module_spec, in CreateTargetInternal()
177 ModuleSpec module_spec; in CreateTargetInternal() local
178 if (module_specs.GetModuleSpecAtIndex(i, module_spec)) { in CreateTargetInternal()
183 module_spec.GetArchitecture(), false, nullptr)) { in CreateTargetInternal()
[all …]
/freebsd-12-stable/contrib/llvm-project/lldb/source/Plugins/SymbolVendor/wasm/
DSymbolVendorWasm.cpp78 ModuleSpec module_spec; in CreateInstance() local
79 module_spec.GetFileSpec() = obj_file->GetFileSpec(); in CreateInstance()
80 FileSystem::Instance().Resolve(module_spec.GetFileSpec()); in CreateInstance()
81 module_spec.GetUUID() = obj_file->GetUUID(); in CreateInstance()
90 module_spec.GetSymbolFileSpec() = *symbol_file_spec; in CreateInstance()
94 Symbols::LocateExecutableSymbolFile(module_spec, search_paths); in CreateInstance()
/freebsd-12-stable/contrib/llvm-project/lldb/source/Plugins/ObjectFile/PDB/
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()
146 specs.Append(module_spec); in GetModuleSpecifications()
150 specs.Append(module_spec); in GetModuleSpecifications()
154 specs.Append(module_spec); in GetModuleSpecifications()
/freebsd-12-stable/contrib/llvm-project/lldb/include/lldb/Core/
DModuleSpec.h328 bool GetModuleSpecAtIndex(size_t i, ModuleSpec &module_spec) const { in GetModuleSpecAtIndex() argument
331 module_spec = m_specs[i]; in GetModuleSpecAtIndex()
334 module_spec.Clear(); in GetModuleSpecAtIndex()
338 bool FindMatchingModuleSpec(const ModuleSpec &module_spec, in FindMatchingModuleSpec() argument
343 if (spec.Matches(module_spec, exact_arch_match)) { in FindMatchingModuleSpec()
350 if (module_spec.GetArchitecturePtr()) { in FindMatchingModuleSpec()
353 if (spec.Matches(module_spec, exact_arch_match)) { in FindMatchingModuleSpec()
363 void FindMatchingModuleSpecs(const ModuleSpec &module_spec, in FindMatchingModuleSpecs() argument
369 if (spec.Matches(module_spec, exact_arch_match)) in FindMatchingModuleSpecs()
375 if (module_spec.GetArchitecturePtr() && in FindMatchingModuleSpecs()
[all …]
DModuleList.h309 void FindModules(const ModuleSpec &module_spec,
321 lldb::ModuleSP FindFirstModule(const ModuleSpec &module_spec) const;
439 GetSharedModule(const ModuleSpec &module_spec, lldb::ModuleSP &module_sp,
446 static void FindSharedModules(const ModuleSpec &module_spec,
/freebsd-12-stable/contrib/llvm-project/lldb/source/Plugins/SymbolVendor/ELF/
DSymbolVendorELF.cpp87 ModuleSpec module_spec; in CreateInstance() local
89 module_spec.GetFileSpec() = obj_file->GetFileSpec(); in CreateInstance()
90 FileSystem::Instance().Resolve(module_spec.GetFileSpec()); in CreateInstance()
91 module_spec.GetSymbolFileSpec() = fspec; in CreateInstance()
92 module_spec.GetUUID() = uuid; in CreateInstance()
95 Symbols::LocateExecutableSymbolFile(module_spec, search_paths); in CreateInstance()
/freebsd-12-stable/contrib/llvm-project/lldb/source/Commands/
DCommandObjectTarget.cpp920 ModuleSpec module_spec(module_file); in DoExecute() local
923 target->GetImages().FindFirstModule(module_spec)); in DoExecute()
1729 ModuleSpec module_spec(module_file_spec); in FindModulesByName() local
1743 if (module->MatchesModuleSpec(module_spec)) { in FindModulesByName()
1751 target->GetImages().FindModules(module_spec, module_list); in FindModulesByName()
1757 module_spec.GetArchitecture() = target->GetArchitecture(); in FindModulesByName()
1758 ModuleList::FindSharedModules(module_spec, module_list); in FindModulesByName()
1761 ModuleList::FindSharedModules(module_spec, module_list); in FindModulesByName()
2464 ModuleSpec module_spec; in DoExecute() local
2465 module_spec.GetUUID() = in DoExecute()
[all …]
/freebsd-12-stable/contrib/llvm-project/lldb/source/Core/
DDynamicLoader.cpp80 ModuleSpec module_spec(executable->GetFileSpec(), in GetTargetExecutable() local
82 auto module_sp = std::make_shared<Module>(module_spec); in GetTargetExecutable()
95 executable = target.GetOrCreateModule(module_spec, true /* notify */); in GetTargetExecutable()
156 ModuleSpec module_spec(file, target.GetArchitecture()); in LoadModuleAtAddress() local
159 if ((module_sp = modules.FindFirstModule(module_spec))) { in LoadModuleAtAddress()
165 if ((module_sp = target.GetOrCreateModule(module_spec, in LoadModuleAtAddress()
DModule.cpp127 Module::Module(const ModuleSpec &module_spec) in Module() argument
142 module_spec.GetArchitecture().GetArchitectureName(), in Module()
143 module_spec.GetFileSpec().GetPath().c_str(), in Module()
144 module_spec.GetObjectName().IsEmpty() ? "" : "(", in Module()
145 module_spec.GetObjectName().IsEmpty() in Module()
147 : module_spec.GetObjectName().AsCString(""), in Module()
148 module_spec.GetObjectName().IsEmpty() ? "" : ")"); in Module()
150 auto data_sp = module_spec.GetData(); in Module()
159 module_spec.GetFileSpec(), 0, file_size, modules_specs, data_sp) == 0) in Module()
170 if (!modules_specs.FindMatchingModuleSpec(module_spec, in Module()
[all …]
DModuleList.cpp481 void ModuleList::FindModules(const ModuleSpec &module_spec, in FindModules() argument
487 if (module_sp->MatchesModuleSpec(module_spec)) in FindModules()
583 ModuleSP ModuleList::FindFirstModule(const ModuleSpec &module_spec) const { in FindFirstModule()
589 if (module_sp->MatchesModuleSpec(module_spec)) in FindFirstModule()
736 void ModuleList::FindSharedModules(const ModuleSpec &module_spec, in FindSharedModules() argument
738 GetSharedModuleList().FindModules(module_spec, matching_module_list); in FindSharedModules()
746 ModuleList::GetSharedModule(const ModuleSpec &module_spec, ModuleSP &module_sp, in GetSharedModule() argument
762 const UUID *uuid_ptr = module_spec.GetUUIDPtr(); in GetSharedModule()
763 const FileSpec &module_file_spec = module_spec.GetFileSpec(); in GetSharedModule()
764 const ArchSpec &arch = module_spec.GetArchitecture(); in GetSharedModule()
[all …]
/freebsd-12-stable/contrib/llvm-project/lldb/include/lldb/Symbol/
DLocateSymbolFile.h29 static ModuleSpec LocateExecutableObjectFile(const ModuleSpec &module_spec);
36 LocateExecutableSymbolFile(const ModuleSpec &module_spec,
52 static bool DownloadObjectAndSymbolFile(ModuleSpec &module_spec,
/freebsd-12-stable/contrib/llvm-project/lldb/include/lldb/Target/
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,
DPlatform.h150 virtual Status ResolveExecutable(const ModuleSpec &module_spec,
305 const ModuleSpec &module_spec, Process *process,
310 const ArchSpec &arch, ModuleSpec &module_spec);
922 Status GetCachedExecutable(ModuleSpec &module_spec, lldb::ModuleSP &module_sp,
939 Status GetRemoteSharedModule(const ModuleSpec &module_spec, Process *process,
944 bool GetCachedSharedModule(const ModuleSpec &module_spec,
947 Status LoadCachedExecutable(const ModuleSpec &module_spec,
DRemoteAwarePlatform.h23 ModuleSpec &module_spec) override;
26 ResolveExecutable(const ModuleSpec &module_spec, lldb::ModuleSP &module_sp,
/freebsd-12-stable/contrib/llvm-project/lldb/source/Plugins/Trace/common/
DTraceSessionFileParser.cpp37 ModuleSpec module_spec; in ParseModule() local
38 module_spec.GetFileSpec() = local_file_spec; in ParseModule()
39 module_spec.GetPlatformFileSpec() = system_file_spec; in ParseModule()
42 module_spec.GetUUID().SetFromStringRef(*module.uuid); in ParseModule()
46 target_sp->GetOrCreateModule(module_spec, /*notify*/ false, &error); in ParseModule()
/freebsd-12-stable/contrib/llvm-project/lldb/source/Breakpoint/
DBreakpointResolverAddress.cpp25 const BreakpointSP &bkpt, const Address &addr, const FileSpec &module_spec) in BreakpointResolverAddress() argument
28 m_module_filespec(module_spec) {} in BreakpointResolverAddress()
132 ModuleSpec module_spec(m_module_filespec); in SearchCallback() local
133 ModuleSP module_sp = target.GetImages().FindFirstModule(module_spec); in SearchCallback()
/freebsd-12-stable/contrib/llvm-project/lldb/source/Plugins/Process/minidump/
DProcessMinidump.cpp54 const ModuleSpec &module_spec, lldb::addr_t base, in PlaceholderObjectFile() argument
56 : ObjectFile(module_sp, &module_spec.GetFileSpec(), /*file_offset*/ 0, in PlaceholderObjectFile()
58 m_arch(module_spec.GetArchitecture()), m_uuid(module_spec.GetUUID()), in PlaceholderObjectFile()
490 ModuleSpec module_spec) { in GetOrCreateModule() argument
495 GetTarget().GetOrCreateModule(module_spec, true /* notify */, &error); in GetOrCreateModule()
557 ModuleSpec module_spec(file_spec, uuid); in ReadModuleList() local
558 module_spec.GetArchitecture() = GetArchitecture(); in ReadModuleList()
562 lldb::ModuleSP module_sp = GetTarget().GetOrCreateModule(module_spec, in ReadModuleList()
573 ModuleSpec partial_module_spec = module_spec; in ReadModuleList()
608 module_spec, load_addr, load_size); in ReadModuleList()
/freebsd-12-stable/contrib/llvm-project/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/
DDynamicLoaderPOSIXDYLD.cpp467 ModuleSpec module_spec{I->file_spec}; in RefreshModules() local
468 ModuleSP module_sp = loaded_modules.FindFirstModule(module_spec); in RefreshModules()
567 ModuleSpec module_spec(file, target.GetArchitecture()); in LoadInterpreterModule() local
569 if (ModuleSP module_sp = target.GetOrCreateModule(module_spec, in LoadInterpreterModule()
760 ModuleSpec module_spec(process_info.GetExecutableFile(), in ResolveExecutableModule() local
762 if (module_sp && module_sp->MatchesModuleSpec(module_spec)) in ResolveExecutableModule()
767 module_spec, module_sp, in ResolveExecutableModule()
771 module_spec.Dump(stream); in ResolveExecutableModule()
/freebsd-12-stable/contrib/llvm-project/lldb/source/Plugins/DynamicLoader/Hexagon-DYLD/
DDynamicLoaderHexagonDYLD.cpp186 ModuleSpec module_spec(executable->GetFileSpec(), in GetTargetExecutable() local
188 ModuleSP module_sp(new Module(module_spec)); in GetTargetExecutable()
204 executable = target.GetOrCreateModule(module_spec, true /* notify */); in GetTargetExecutable()
393 ModuleSpec module_spec(file); in RefreshModules() local
394 ModuleSP module_sp = loaded_modules.FindFirstModule(module_spec); in RefreshModules()

123