| /freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/SymbolLocator/DebugSymbols/ |
| H A D | SymbolLocatorDebugSymbols.cpp | 84 const ModuleSpec &module_spec) { in LocateExecutableObjectFile() argument 91 return_module_spec = module_spec; in LocateExecutableObjectFile() 95 const UUID *uuid = module_spec.GetUUIDPtr(); in LocateExecutableObjectFile() 189 exe_spec.GetUUID() = module_spec.GetUUID(); in LocateExecutableObjectFile() 206 module_spec.GetFileSpec().GetPath()); in LocateExecutableObjectFile() 533 return_module_spec = module_spec; in LocateMacOSXFilesUsingDebugSymbols() 537 const UUID *uuid = module_spec.GetUUIDPtr(); in LocateMacOSXFilesUsingDebugSymbols() 648 module_spec.GetFileSpec().GetPath()); in LocateMacOSXFilesUsingDebugSymbols() 772 const UUID *uuid = module_spec.GetUUIDPtr(); in LocateExecutableSymbolFile() 1025 const UUID *uuid_ptr = module_spec.GetUUIDPtr(); in DownloadObjectAndSymbolFile() [all …]
|
| H A D | SymbolLocatorDebugSymbols.h | 39 LocateExecutableObjectFile(const ModuleSpec &module_spec); 46 LocateExecutableSymbolFile(const ModuleSpec &module_spec, 57 static bool DownloadObjectAndSymbolFile(ModuleSpec &module_spec,
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Target/ |
| H A D | ModuleCache.cpp | 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() 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 D | AssertFrameRecognizer.cpp | 20 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 D | Platform.cpp | 814 module_spec.GetUUID().IsValid()) { in ResolveRemoteExecutable() 1495 module_spec, nullptr, module_sp, in GetCachedExecutable() 1524 if (!module_spec.GetUUID().IsValid() || in GetRemoteSharedModule() 1536 ModuleSpec arch_module_spec(module_spec); in GetRemoteSharedModule() 1553 if (GetModuleSpec(module_spec.GetFileSpec(), module_spec.GetArchitecture(), in GetRemoteSharedModule() 1555 if (!module_spec.GetUUID().IsValid() || in GetRemoteSharedModule() 1565 return module_resolver(module_spec); in GetRemoteSharedModule() 1570 if (module_spec.GetUUID().IsValid()) { in GetRemoteSharedModule() 1711 auto cached_module_spec(module_spec); in CallLocateModuleCallbackIfSet() 1749 [this](const ModuleSpec &module_spec, in GetCachedSharedModule() [all …]
|
| H A D | TargetList.cpp | 122 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-14.2/contrib/llvm-project/lldb/source/Core/ |
| H A D | DynamicLoader.cpp | 82 ModuleSpec module_spec(executable->GetFileSpec(), in GetTargetExecutable() local 84 auto module_sp = std::make_shared<Module>(module_spec); in GetTargetExecutable() 154 ModuleSpec module_spec(file, target.GetArchitecture()); in FindModuleViaTarget() local 204 ModuleSpec module_spec; in LoadBinaryWithUUIDAndAddress() local 205 module_spec.GetUUID() = uuid; in LoadBinaryWithUUIDAndAddress() 208 module_spec.GetFileSpec() = name_filespec; in LoadBinaryWithUUIDAndAddress() 220 module_spec.GetSymbolFileSpec() = in LoadBinaryWithUUIDAndAddress() 223 PluginManager::LocateExecutableObjectFile(module_spec); in LoadBinaryWithUUIDAndAddress() 227 module_sp = std::make_shared<Module>(module_spec); in LoadBinaryWithUUIDAndAddress() 237 module_sp = std::make_shared<Module>(module_spec); in LoadBinaryWithUUIDAndAddress() [all …]
|
| H A D | Module.cpp | 133 Module::Module(const ModuleSpec &module_spec) in Module() argument 152 auto data_sp = module_spec.GetData(); in Module() 187 if (module_spec.GetFileSpec()) in Module() 199 else if (module_spec.GetArchitecture().IsValid()) in Module() 200 m_arch = module_spec.GetArchitecture(); in Module() 205 if (module_spec.GetFileSpec()) in Module() 206 m_file = module_spec.GetFileSpec(); in Module() 211 if (module_spec.GetPlatformFileSpec()) in Module() 217 if (module_spec.GetSymbolFileSpec()) in Module() 218 m_symfile_spec = module_spec.GetSymbolFileSpec(); in Module() [all …]
|
| H A D | ModuleList.cpp | 538 void ModuleList::FindModules(const ModuleSpec &module_spec, in FindModules() argument 542 if (module_sp->MatchesModuleSpec(module_spec)) in FindModules() 627 if (module_sp->MatchesModuleSpec(module_spec)) in FindFirstModule() 770 void ModuleList::FindSharedModules(const ModuleSpec &module_spec, in FindSharedModules() argument 800 const UUID *uuid_ptr = module_spec.GetUUIDPtr(); in GetSharedModule() 801 const FileSpec &module_file_spec = module_spec.GetFileSpec(); in GetSharedModule() 802 const ArchSpec &arch = module_spec.GetArchitecture(); in GetSharedModule() 843 module_sp = std::make_shared<Module>(module_spec); in GetSharedModule() 883 auto resolved_module_spec(module_spec); in GetSharedModule() 916 PluginManager::LocateExecutableObjectFile(module_spec); in GetSharedModule() [all …]
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/SymbolLocator/Default/ |
| H A D | SymbolLocatorDefault.cpp | 70 const ModuleSpec &module_spec) { in LocateExecutableObjectFile() argument 71 const FileSpec &exec_fspec = module_spec.GetFileSpec(); in LocateExecutableObjectFile() 72 const ArchSpec *arch = module_spec.GetArchitecturePtr(); in LocateExecutableObjectFile() 73 const UUID *uuid = module_spec.GetUUIDPtr(); in LocateExecutableObjectFile() 83 module_specs.FindMatchingModuleSpec(module_spec, matched_module_spec)) { in LocateExecutableObjectFile() 94 const ModuleSpec &module_spec, const FileSpecList &default_search_paths) { in LocateExecutableSymbolFile() argument 96 FileSpec symbol_file_spec = module_spec.GetSymbolFileSpec(); in LocateExecutableSymbolFile() 103 module_spec.GetFileSpec().GetFilename().AsCString("<Unknown>")); in LocateExecutableSymbolFile() 108 FileSpec module_file_spec = module_spec.GetFileSpec(); in LocateExecutableSymbolFile() 149 const UUID &module_uuid = module_spec.GetUUID(); in LocateExecutableSymbolFile() [all …]
|
| H A D | SymbolLocatorDefault.h | 39 LocateExecutableObjectFile(const ModuleSpec &module_spec); 46 LocateExecutableSymbolFile(const ModuleSpec &module_spec, 57 static bool DownloadObjectAndSymbolFile(ModuleSpec &module_spec,
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/SymbolVendor/wasm/ |
| H A D | SymbolVendorWasm.cpp | 73 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 PluginManager::LocateExecutableSymbolFile(module_spec, search_paths); in CreateInstance()
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/SymbolVendor/PECOFF/ |
| H A D | SymbolVendorPECOFF.cpp | 81 ModuleSpec module_spec; in CreateInstance() local 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()
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/SymbolVendor/ELF/ |
| H A D | SymbolVendorELF.cpp | 81 ModuleSpec module_spec; in CreateInstance() local 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()
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Symbol/ |
| H A D | SymbolLocator.cpp | 35 ModuleSpec module_spec; in DownloadSymbolFileAsync() local 36 module_spec.GetUUID() = uuid; in DownloadSymbolFileAsync() 37 if (!PluginManager::DownloadObjectAndSymbolFile(module_spec, error, in DownloadSymbolFileAsync() 45 Debugger::ReportSymbolChange(module_spec); in DownloadSymbolFileAsync()
|
| /freebsd-14.2/contrib/llvm-project/lldb/include/lldb/Core/ |
| H A D | ModuleSpec.h | 323 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 …]
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/ObjectFile/PDB/ |
| H A D | ObjectFilePDB.cpp | 116 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-14.2/contrib/llvm-project/lldb/source/Plugins/SymbolLocator/Debuginfod/ |
| H A D | SymbolLocatorDebuginfod.cpp | 145 GetFileForModule(const ModuleSpec &module_spec, in GetFileForModule() argument 147 const UUID &module_uuid = module_spec.GetUUID(); in GetFileForModule() 184 const ModuleSpec &module_spec) { in LocateExecutableObjectFile() argument 185 return GetFileForModule(module_spec, llvm::getDebuginfodExecutableUrlPath); in LocateExecutableObjectFile() 189 const ModuleSpec &module_spec, const FileSpecList &default_search_paths) { in LocateExecutableSymbolFile() argument 190 return GetFileForModule(module_spec, llvm::getDebuginfodDebuginfoUrlPath); in LocateExecutableSymbolFile()
|
| H A D | SymbolLocatorDebuginfod.h | 41 LocateExecutableObjectFile(const ModuleSpec &module_spec); 48 LocateExecutableSymbolFile(const ModuleSpec &module_spec,
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/ObjectFile/Placeholder/ |
| H A D | ObjectFilePlaceholder.cpp | 27 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-14.2/contrib/llvm-project/lldb/source/Commands/ |
| H A D | CommandObjectTarget.cpp | 2812 ModuleSpec module_spec; in DoExecute() local 2813 module_spec.GetUUID() = in DoExecute() 2960 ModuleSpec module_spec; in DoExecute() local 2999 module_spec.GetUUID() = in DoExecute() 4369 if (!module_spec.GetFileSpec() && !module_spec.GetPlatformFileSpec()) in AddModuleSymbols() 4528 ModuleSpec module_spec; in AddSymbolsForUUID() local 4529 module_spec.GetUUID() = in AddSymbolsForUUID() 4546 ModuleSpec module_spec; in AddSymbolsForFile() local 4603 ModuleSpec module_spec; in AddSymbolsForFrame() local 4652 ModuleSpec module_spec; in AddSymbolsForStack() local [all …]
|
| /freebsd-14.2/contrib/llvm-project/lldb/include/lldb/Target/ |
| H A D | ModuleCache.h | 55 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 D | Platform.h | 139 virtual Status ResolveExecutable(const ModuleSpec &module_spec, 318 const ModuleSpec &module_spec, Process *process, 322 void CallLocateModuleCallbackIfSet(const ModuleSpec &module_spec, 328 const ArchSpec &arch, ModuleSpec &module_spec); 917 typedef std::function<Status(const ModuleSpec &module_spec, 992 Status GetCachedExecutable(ModuleSpec &module_spec, lldb::ModuleSP &module_sp, 1006 ResolveRemoteExecutable(const ModuleSpec &module_spec, 1013 Status GetRemoteSharedModule(const ModuleSpec &module_spec, Process *process, 1018 bool GetCachedSharedModule(const ModuleSpec &module_spec,
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/Trace/intel-pt/ |
| H A D | TraceIntelPTBundleLoader.cpp | 42 ModuleSpec module_spec; in ParseModule() local 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() local 169 module_spec.GetFileSpec() = file_spec; in ParseKernel() 173 parsed_process->target_sp->GetOrCreateModule(module_spec, false, &error); in ParseKernel()
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Breakpoint/ |
| H A D | BreakpointResolverAddress.cpp | 23 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() local 128 ModuleSP module_sp = target.GetImages().FindFirstModule(module_spec); in SearchCallback()
|