Home
last modified time | relevance | path

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

123

/freebsd-13.1/contrib/llvm-project/lldb/source/Symbol/
H A DLocateSymbolFile.cpp156 const FileSpec &exec_fspec = module_spec.GetFileSpec(); in LocateDSYMInVincinityOfExecutable()
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()
233 const FileSpec &exec_fspec = module_spec.GetFileSpec(); in LocateExecutableObjectFile()
234 const ArchSpec *arch = module_spec.GetArchitecturePtr(); in LocateExecutableObjectFile()
235 const UUID *uuid = module_spec.GetUUIDPtr(); in LocateExecutableObjectFile()
248 LocateMacOSXFilesUsingDebugSymbols(module_spec, result); in LocateExecutableObjectFile()
267 FileSpec module_file_spec = module_spec.GetFileSpec(); in LocateExecutableSymbolFile()
308 const UUID &module_uuid = module_spec.GetUUID(); in LocateExecutableSymbolFile()
[all …]
H A DLocateSymbolFileMacOSX.cpp53 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()
417 module_spec.GetSourceMappingList().Append( in GetModuleSpecInfoFromUUIDDictionary()
427 module_spec.GetSourceMappingList().Append( in GetModuleSpecInfoFromUUIDDictionary()
461 module_spec.GetSourceMappingList().Append( in GetModuleSpecInfoFromUUIDDictionary()
472 const UUID *uuid_ptr = module_spec.GetUUIDPtr(); in DownloadObjectAndSymbolFile()
479 module_spec.GetFileSpec() = paths.first; in DownloadObjectAndSymbolFile()
481 module_spec.GetSymbolFileSpec() = paths.second; in DownloadObjectAndSymbolFile()
490 uuid_ptr, module_spec.GetFileSpec(), module_spec.GetSymbolFileSpec()); in DownloadObjectAndSymbolFile()
[all …]
H A 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-13.1/contrib/llvm-project/lldb/source/Target/
H A DModuleCache.cpp194 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()
234 module_spec.GetObjectSize()) in Get()
247 auto cached_module_spec(module_spec); in Get()
270 const ModuleSpec &module_spec, in GetAndPut() argument
276 GetModuleDirectory(root_dir_spec, module_spec.GetUUID()); in GetAndPut()
281 ModuleLock lock(root_dir_spec, module_spec.GetUUID(), error); in GetAndPut()
284 module_spec.GetUUID().GetAsString().c_str(), in GetAndPut()
[all …]
H A 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()
H A DPlatform.cpp860 if (module_spec.GetArchitecture().IsValid()) { in ResolveExecutable()
868 ModuleSpec arch_module_spec(module_spec); in ResolveExecutable()
1558 if (!module_spec.GetUUID().IsValid() || in GetRemoteSharedModule()
1565 if (!module_spec.GetArchitecture().IsValid()) { in GetRemoteSharedModule()
1570 ModuleSpec arch_module_spec(module_spec); in GetRemoteSharedModule()
1588 if (GetModuleSpec(module_spec.GetFileSpec(), module_spec.GetArchitecture(), in GetRemoteSharedModule()
1590 if (!module_spec.GetUUID().IsValid() || in GetRemoteSharedModule()
1600 return module_resolver(module_spec); in GetRemoteSharedModule()
1605 if (module_spec.GetUUID().IsValid()) { in GetRemoteSharedModule()
1631 [this](const ModuleSpec &module_spec, in GetCachedSharedModule()
[all …]
H A DTargetList.cpp122 FileSystem::Instance().Resolve(module_spec.GetFileSpec()); in CreateTargetInternal()
125 Host::ResolveExecutableInBundle(module_spec.GetFileSpec()); 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()
195 module_spec.GetArchitecture(), false, nullptr)) { in CreateTargetInternal()
205 module_spec.GetArchitecture(), nullptr)); in CreateTargetInternal()
[all …]
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/SymbolVendor/wasm/
H A 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-13.1/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()
146 specs.Append(module_spec); in GetModuleSpecifications()
150 specs.Append(module_spec); in GetModuleSpecifications()
154 specs.Append(module_spec); in GetModuleSpecifications()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/SymbolVendor/ELF/
H A 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-13.1/contrib/llvm-project/lldb/include/lldb/Core/
H A 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 …]
H A 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-13.1/contrib/llvm-project/lldb/include/lldb/Symbol/
H A DLocateSymbolFile.h29 static ModuleSpec LocateExecutableObjectFile(const ModuleSpec &module_spec);
36 LocateExecutableSymbolFile(const ModuleSpec &module_spec,
52 static bool DownloadObjectAndSymbolFile(ModuleSpec &module_spec,
/freebsd-13.1/contrib/llvm-project/lldb/source/Commands/
H A DCommandObjectTarget.cpp2464 ModuleSpec module_spec; in DoExecute() local
2465 module_spec.GetUUID() = in DoExecute()
2522 module_spec.GetUUID() = in DoExecute()
2613 ModuleSpec module_spec; in DoExecute() local
2623 module_spec.GetFileSpec() = in DoExecute()
2637 module_spec.GetFileSpec() = in DoExecute()
2652 module_spec.GetUUID() = in DoExecute()
2804 if (module_spec.GetUUIDPtr()) in DoExecute()
4000 if (!module_spec.GetFileSpec() && !module_spec.GetPlatformFileSpec()) in AddModuleSymbols()
4147 ModuleSpec module_spec; in DoExecute() local
[all …]
/freebsd-13.1/contrib/llvm-project/lldb/source/Core/
H A 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()
H A DModule.cpp127 Module::Module(const ModuleSpec &module_spec) in Module() argument
145 module_spec.GetObjectName().IsEmpty() in Module()
150 auto data_sp = module_spec.GetData(); in Module()
185 if (module_spec.GetFileSpec()) in Module()
197 else if (module_spec.GetArchitecture().IsValid()) in Module()
198 m_arch = module_spec.GetArchitecture(); in Module()
203 if (module_spec.GetFileSpec()) in Module()
204 m_file = module_spec.GetFileSpec(); in Module()
209 if (module_spec.GetPlatformFileSpec()) in Module()
215 if (module_spec.GetSymbolFileSpec()) in Module()
[all …]
H A DModuleList.cpp481 void ModuleList::FindModules(const ModuleSpec &module_spec, in FindModules() argument
487 if (module_sp->MatchesModuleSpec(module_spec)) in FindModules()
589 if (module_sp->MatchesModuleSpec(module_spec)) in FindFirstModule()
736 void ModuleList::FindSharedModules(const ModuleSpec &module_spec, in FindSharedModules() 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()
805 module_sp = std::make_shared<Module>(module_spec); in GetSharedModule()
845 auto resolved_module_spec(module_spec); in GetSharedModule()
878 Symbols::LocateExecutableObjectFile(module_spec); in GetSharedModule()
[all …]
/freebsd-13.1/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,
H A 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,
H A DRemoteAwarePlatform.h23 ModuleSpec &module_spec) override;
26 ResolveExecutable(const ModuleSpec &module_spec, lldb::ModuleSP &module_sp,
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/Trace/common/
H A 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-13.1/contrib/llvm-project/lldb/source/Breakpoint/
H A 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-13.1/contrib/llvm-project/lldb/source/Plugins/Process/minidump/
H A 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-13.1/contrib/llvm-project/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/
H A 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-13.1/contrib/llvm-project/lldb/source/Plugins/DynamicLoader/Hexagon-DYLD/
H A 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