Home
last modified time | relevance | path

Searched refs:module_sp (Results 1 – 25 of 148) sorted by relevance

123456

/freebsd-13.1/contrib/llvm-project/lldb/source/API/
H A DSBModule.cpp44 if (module_sp) in SBModule()
101 if (module_sp) in GetFileSpec()
113 if (module_sp) in GetPlatformFileSpec()
126 if (module_sp) { in SetPlatformFileSpec()
140 if (module_sp) in GetRemoteInstallFileSpec()
150 if (module_sp) { in SetRemoteInstallFileSpec()
162 if (module_sp) in GetUUIDBytes()
173 if (module_sp) { in GetUUIDString()
290 if (module_sp) in GetUnifiedSymbolTable()
348 sc.module_sp = module_sp; in FindSymbols()
[all …]
/freebsd-13.1/contrib/llvm-project/lldb/source/Core/
H A DModuleList.cpp162 if (module_sp) { in AppendImpl()
177 if (module_sp) { in ReplaceEquivalent()
204 if (module_sp) { in AppendIfNeeded()
233 if (module_sp) { in RemoveImpl()
362 return module_sp; in GetModuleAtIndexUnlocked()
507 return module_sp; in FindModule()
524 return module_sp; in FindModule()
592 return module_sp; in FindFirstModule()
648 if (module_sp) { in ResolveSymbolContextForAddress()
802 if (module_sp) in GetSharedModule()
[all …]
H A DDynamicLoader.cpp86 if (module_sp && module_sp->GetUUID().IsValid() && in GetTargetExecutable()
88 if (module_sp->GetUUID() != executable->GetUUID()) in GetTargetExecutable()
157 ModuleSP module_sp; in LoadModuleAtAddress() local
159 if ((module_sp = modules.FindFirstModule(module_spec))) { in LoadModuleAtAddress()
162 return module_sp; in LoadModuleAtAddress()
165 if ((module_sp = target.GetOrCreateModule(module_spec, in LoadModuleAtAddress()
169 return module_sp; in LoadModuleAtAddress()
199 return module_sp; in LoadModuleAtAddress()
205 return module_sp; in LoadModuleAtAddress()
212 target.GetImages().AppendIfNeeded(module_sp); in LoadModuleAtAddress()
[all …]
H A DSearchFilter.cpp231 for (ModuleSP module_sp : modules.Modules()) { in SearchInModuleList() local
232 if (!ModulePasses(module_sp)) in SearchInModuleList()
252 if (context.module_sp) { in DoModuleIteration()
264 if (!ModulePasses(module_sp)) in DoModuleIteration()
277 DoCUIteration(module_sp, context, searcher); in DoModuleIteration()
289 SearchFilter::DoCUIteration(const ModuleSP &module_sp, in DoCUIteration() argument
376 const lldb::ModuleSP &module_sp) { in ModulePasses() argument
377 if (!module_sp) in ModulePasses()
398 return (module_sp && in ModulePasses()
716 ModuleSP module_sp(compUnit.GetModule()); in CompUnitPasses() local
[all …]
H A DAddress.cpp92 if (module_sp) { in GetByteOrderAndAddressSize()
147 assert(module_sp); in ReadAddress()
287 return module_sp; in GetModule()
433 if (module_sp) in Dump()
690 if (module_sp) { in Dump()
804 if (module_sp) { in CalculateSymbolContext()
805 sc->module_sp = module_sp; in CalculateSymbolContext()
826 if (sc.module_sp) { in CalculateSymbolContextCompileUnit()
840 if (sc.module_sp) { in CalculateSymbolContextFunction()
854 if (sc.module_sp) { in CalculateSymbolContextBlock()
[all …]
H A DModuleChild.cpp13 ModuleChild::ModuleChild(const lldb::ModuleSP &module_sp) in ModuleChild() argument
14 : m_module_wp(module_sp) {} in ModuleChild()
26 void ModuleChild::SetModule(const lldb::ModuleSP &module_sp) { in SetModule() argument
27 m_module_wp = module_sp; in SetModule()
/freebsd-13.1/contrib/llvm-project/lldb/source/Symbol/
H A DSymbolVendor.cpp26 SymbolVendor *SymbolVendor::FindPlugin(const lldb::ModuleSP &module_sp, in FindPlugin() argument
35 instance_up.reset(create_callback(module_sp, feedback_strm)); in FindPlugin()
44 FileSpec sym_spec = module_sp->GetSymbolFileFileSpec(); in FindPlugin()
45 if (sym_spec && sym_spec != module_sp->GetObjectFile()->GetFileSpec()) { in FindPlugin()
53 sym_objfile_sp = module_sp->GetObjectFile()->shared_from_this(); in FindPlugin()
54 instance_up = std::make_unique<SymbolVendor>(module_sp); in FindPlugin()
60 SymbolVendor::SymbolVendor(const lldb::ModuleSP &module_sp) in SymbolVendor() argument
61 : ModuleChild(module_sp), m_sym_file_up() {} in SymbolVendor()
65 ModuleSP module_sp(GetModule()); in AddSymbolFileRepresentation() local
66 if (module_sp) { in AddSymbolFileRepresentation()
[all …]
H A DObjectFile.cpp55 module_sp->GetFileSpec().GetPath().c_str(), in FindPlugin()
59 if (!module_sp) in FindPlugin()
154 if (module_sp) { in FindPlugin()
242 : ModuleChild(module_sp), in ObjectFile()
286 ModuleSP module_sp(GetModule()); in SetModulesArchitecture() local
287 if (module_sp) in SetModulesArchitecture()
288 return module_sp->SetArchitecture(new_arch); in SetModulesArchitecture()
572 ModuleSP module_sp(GetModule()); in ClearSymtab() local
573 if (module_sp) { in ClearSymtab()
586 ModuleSP module_sp(GetModule()); in GetSectionList() local
[all …]
H A DType.cpp876 if (!module_sp) { in CheckModuleCommon()
905 ModuleSP module_sp; in IsValid() local
922 return module_sp; in GetModule()
927 ModuleSP module_sp; in GetName() local
937 ModuleSP module_sp; in GetDisplayTypeName() local
947 ModuleSP module_sp; in GetPointerType() local
959 ModuleSP module_sp; in GetPointeeType() local
971 ModuleSP module_sp; in GetReferenceType() local
983 ModuleSP module_sp; in GetTypedefedType() local
995 ModuleSP module_sp; in GetDereferencedType() local
[all …]
H A DSymbol.cpp274 if (module_sp) { in GetPrologueByteSize()
386 sc->module_sp = GetAddressRef().GetModule(); in CalculateSymbolContext()
388 sc->module_sp.reset(); in CalculateSymbolContext()
403 if (module_sp) { in DumpSymbolContext()
405 module_sp->DumpSymbolContext(s); in DumpSymbolContext()
419 ModuleSP module_sp; in ResolveReExportedSymbolInModuleSpec() local
423 if (!module_sp) { in ResolveReExportedSymbolInModuleSpec()
432 if (module_sp) { in ResolveReExportedSymbolInModuleSpec()
435 if (!seen_modules.AppendIfNeeded(module_sp)) in ResolveReExportedSymbolInModuleSpec()
454 seen_modules.Append(module_sp); in ResolveReExportedSymbolInModuleSpec()
[all …]
H A DSymbolContext.cpp59 module_sp.reset(); in Clear()
74 if (show_module && module_sp) { in DumpStopContext()
188 if (module_sp) { in GetDescription()
289 if (module_sp) in GetResolvedMask()
315 if (module_sp) in Dump()
368 lhs.module_sp.get() == rhs.module_sp.get() && in operator ==()
493 if (module_sp) { in GetParentOfInlinedScope()
964 lldb::ModuleSP module_sp( in AddSpecification() local
967 if (module_sp) in AddSpecification()
968 m_module_sp = module_sp; in AddSpecification()
[all …]
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/
H A DDynamicLoaderPOSIXDYLD.cpp163 module_sp ? module_sp->GetFileSpec().GetPath().c_str() in DidAttach()
439 ModuleSP module_sp = in RefreshModules() local
441 if (module_sp.get()) { in RefreshModules()
470 if (module_sp.get()) { in RefreshModules()
574 return module_sp; in LoadInterpreterModule()
607 ModuleSP module_sp = in LoadAllCurrentModules() local
609 if (module_sp.get()) { in LoadAllCurrentModules()
762 if (module_sp && module_sp->MatchesModuleSpec(module_spec)) in ResolveExecutableModule()
785 ModuleSP module_sp; in AlwaysRelyOnEHUnwindInfo() local
789 module_sp = in AlwaysRelyOnEHUnwindInfo()
[all …]
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/SymbolVendor/ELF/
H A DSymbolVendorELF.cpp31 SymbolVendorELF::SymbolVendorELF(const lldb::ModuleSP &module_sp) in LLDB_PLUGIN_DEFINE()
32 : SymbolVendor(module_sp) {} in LLDB_PLUGIN_DEFINE()
59 SymbolVendorELF::CreateInstance(const lldb::ModuleSP &module_sp, in CreateInstance() argument
61 if (!module_sp) in CreateInstance()
65 llvm::dyn_cast_or_null<ObjectFileELF>(module_sp->GetObjectFile()); in CreateInstance()
79 FileSpec fspec = module_sp->GetSymbolFileFileSpec(); in CreateInstance()
85 module_sp->GetFileSpec().GetPath().c_str()); in CreateInstance()
102 module_sp, &dsym_fspec, 0, FileSystem::Instance().GetByteSize(dsym_fspec), in CreateInstance()
112 SymbolVendorELF *symbol_vendor = new SymbolVendorELF(module_sp); in CreateInstance()
116 SectionList *module_section_list = module_sp->GetSectionList(); in CreateInstance()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/SymbolVendor/wasm/
H A DSymbolVendorWasm.cpp32 SymbolVendorWasm::SymbolVendorWasm(const lldb::ModuleSP &module_sp) in LLDB_PLUGIN_DEFINE()
33 : SymbolVendor(module_sp) {} in LLDB_PLUGIN_DEFINE()
60 SymbolVendorWasm::CreateInstance(const lldb::ModuleSP &module_sp, in CreateInstance() argument
62 if (!module_sp) in CreateInstance()
66 llvm::dyn_cast_or_null<ObjectFileWasm>(module_sp->GetObjectFile()); in CreateInstance()
76 module_sp->GetFileSpec().GetPath().c_str()); in CreateInstance()
101 module_sp, &sym_fspec, 0, FileSystem::Instance().GetByteSize(sym_fspec), in CreateInstance()
109 SymbolVendorWasm *symbol_vendor = new SymbolVendorWasm(module_sp); in CreateInstance()
113 SectionList *module_section_list = module_sp->GetSectionList(); in CreateInstance()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
H A DAppleObjCRuntime.cpp218 ModuleSP module_sp(m_objc_module_wp.lock()); in GetObjCModule() local
219 if (module_sp) in GetObjCModule()
220 return module_sp; in GetObjCModule()
226 module_sp = modules.GetModuleAtIndex(idx); in GetObjCModule()
228 m_objc_module_wp = module_sp; in GetObjCModule()
229 return module_sp; in GetObjCModule()
306 if (module_sp) { in AppleIsModuleObjCLibrary()
325 if (!module_sp) in GetFoundationVersion()
344 return AppleIsModuleObjCLibrary(module_sp); in IsModuleObjCLibrary()
387 if (AppleIsModuleObjCLibrary(module_sp) && in GetObjCVersion()
[all …]
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/DynamicLoader/Windows-DYLD/
H A DDynamicLoaderWindowsDYLD.cpp66 void DynamicLoaderWindowsDYLD::OnLoadModule(lldb::ModuleSP module_sp, in OnLoadModule() argument
71 if (!module_sp) { in OnLoadModule()
73 module_sp = m_process->GetTarget().GetOrCreateModule(module_spec, in OnLoadModule()
79 m_loaded_modules[module_sp] = module_addr; in OnLoadModule()
80 UpdateLoadedSectionsCommon(module_sp, module_addr, false); in OnLoadModule()
82 module_list.Append(module_sp); in OnLoadModule()
91 ModuleSP module_sp = resolved_addr.GetModule(); in OnUnloadModule() local
92 if (module_sp) { in OnUnloadModule()
93 m_loaded_modules.erase(module_sp); in OnUnloadModule()
94 UnloadSectionsCommon(module_sp); in OnUnloadModule()
[all …]
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/ObjectContainer/BSD-Archive/
H A DObjectContainerBSDArchive.cpp290 ConstString object_name(module_sp->GetObjectName()); in CreateInstance()
304 module_sp->GetFileSpec().GetPath().c_str(), in CreateInstance()
319 *file, module_sp->GetArchitecture(), module_sp->GetModificationTime(), in CreateInstance()
338 *file, module_sp->GetArchitecture(), module_sp->GetModificationTime(), in CreateInstance()
381 ModuleSP module_sp(GetModule()); in ParseHeader() local
382 if (module_sp) { in ParseHeader()
384 m_file, module_sp->GetArchitecture(), in ParseHeader()
420 ModuleSP module_sp(GetModule()); in GetObjectFile() local
421 if (module_sp) { in GetObjectFile()
422 if (module_sp->GetObjectName() && m_archive_sp) { in GetObjectFile()
[all …]
/freebsd-13.1/contrib/llvm-project/lldb/source/Target/
H A DSectionLoadList.cpp67 ModuleSP module_sp(section->GetModule()); in SetSectionLoadAddress() local
69 if (module_sp) { in SetSectionLoadAddress()
71 section.get(), module_sp->GetFileSpec(), section->GetName(), in SetSectionLoadAddress()
72 load_addr, module_sp.get()); in SetSectionLoadAddress()
103 ModuleSP module_sp(section->GetModule()); in SetSectionLoadAddress() local
104 if (module_sp) { in SetSectionLoadAddress()
107 module_sp->ReportWarning( in SetSectionLoadAddress()
142 ModuleSP module_sp = section_sp->GetModule(); in SetSectionUnloaded() local
144 if (module_sp) { in SetSectionUnloaded()
177 ModuleSP module_sp = section_sp->GetModule(); in SetSectionUnloaded() local
[all …]
H A DInstrumentationRuntime.cpp52 module_list.ForEach([this](const lldb::ModuleSP module_sp) -> bool { in ModulesDidLoad() argument
53 const FileSpec &file_spec = module_sp->GetFileSpec(); in ModulesDidLoad()
59 module_sp->IsExecutable()) { in ModulesDidLoad()
60 if (CheckIfRuntimeIsValid(module_sp)) { in ModulesDidLoad()
61 SetRuntimeModuleSP(module_sp); in ModulesDidLoad()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/Process/minidump/
H A DProcessMinidump.cpp496 if (!module_sp) in GetOrCreateModule()
497 return module_sp; in GetOrCreateModule()
506 return module_sp; in GetOrCreateModule()
521 return module_sp; in GetOrCreateModule()
525 return module_sp; in GetOrCreateModule()
531 module_sp.reset(); in GetOrCreateModule()
532 return module_sp; in GetOrCreateModule()
564 if (module_sp) { in ReadModuleList()
581 if (module_sp) { in ReadModuleList()
594 if (!module_sp) { in ReadModuleList()
[all …]
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/ObjectFile/JIT/
H A DObjectFileJIT.cpp65 ObjectFile *ObjectFileJIT::CreateInstance(const lldb::ModuleSP &module_sp, in CreateInstance() argument
76 ObjectFile *ObjectFileJIT::CreateMemoryInstance(const lldb::ModuleSP &module_sp, in CreateMemoryInstance() argument
93 ObjectFileJIT::ObjectFileJIT(const lldb::ModuleSP &module_sp, in ObjectFileJIT() argument
95 : ObjectFile(module_sp, nullptr, 0, 0, DataBufferSP(), 0), m_delegate_wp() { in ObjectFileJIT()
119 ModuleSP module_sp(GetModule()); in GetSymtab() local
120 if (module_sp) { in GetSymtab()
121 std::lock_guard<std::recursive_mutex> guard(module_sp->GetMutex()); in GetSymtab()
152 ModuleSP module_sp(GetModule()); in Dump() local
153 if (module_sp) { in Dump()
154 std::lock_guard<std::recursive_mutex> guard(module_sp->GetMutex()); in Dump()
/freebsd-13.1/contrib/llvm-project/lldb/include/lldb/Core/
H A DModuleList.h78 const lldb::ModuleSP &module_sp) = 0;
80 const lldb::ModuleSP &module_sp) = 0;
132 void Append(const lldb::ModuleSP &module_sp, bool notify = true);
147 const lldb::ModuleSP &module_sp,
161 bool AppendIfNeeded(const lldb::ModuleSP &module_sp, bool notify = true);
395 bool Remove(const lldb::ModuleSP &module_sp, bool notify = true);
439 GetSharedModule(const ModuleSpec &module_spec, lldb::ModuleSP &module_sp,
444 static bool RemoveSharedModule(lldb::ModuleSP &module_sp);
453 void ForEach(std::function<bool(const lldb::ModuleSP &module_sp)> const
461 void AppendImpl(const lldb::ModuleSP &module_sp, bool use_notifier = true);
[all …]
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/JITLoader/GDB/
H A DJITLoaderGDB.cpp321 ModuleSP module_sp; in ReadJITDescriptorImpl() local
331 module_sp = m_process->ReadModuleFromMemory( in ReadJITDescriptorImpl()
334 if (module_sp && module_sp->GetObjectFile()) { in ReadJITDescriptorImpl()
337 module_sp->GetObjectFile()->SetType(ObjectFile::eTypeJIT); in ReadJITDescriptorImpl()
340 module_sp->GetObjectFile()->GetSymtab(); in ReadJITDescriptorImpl()
359 module_sp->SetLoadAddress(target, 0, true, changed); in ReadJITDescriptorImpl()
362 module_list.AppendIfNeeded(module_sp); in ReadJITDescriptorImpl()
365 module_list.Append(module_sp); in ReadJITDescriptorImpl()
379 module_sp = it->second; in ReadJITDescriptorImpl()
380 ObjectFile *image_object_file = module_sp->GetObjectFile(); in ReadJITDescriptorImpl()
[all …]
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/DynamicLoader/Hexagon-DYLD/
H A DDynamicLoaderHexagonDYLD.cpp192 if (module_sp.get() && module_sp->GetUUID().IsValid() && in GetTargetExecutable()
368 ModuleSP module_sp = in RefreshModules() local
370 if (module_sp.get()) { in RefreshModules()
372 new_modules.Append(module_sp); in RefreshModules()
377 if (!module_sp.get()) in RefreshModules()
396 if (module_sp.get()) { in RefreshModules()
397 old_modules.Append(module_sp); in RefreshModules()
398 UnloadSections(module_sp); in RefreshModules()
487 ModuleSP module_sp = in LoadAllCurrentModules() local
489 if (module_sp.get()) { in LoadAllCurrentModules()
[all …]
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/ObjectFile/wasm/
H A DObjectFileWasm.cpp131 module_sp, data_sp, data_offset, file, file_offset, length)); in CreateInstance()
147 ObjectFile *ObjectFileWasm::CreateMemoryInstance(const ModuleSP &module_sp, in CreateMemoryInstance() argument
155 new ObjectFileWasm(module_sp, data_sp, process_sp, header_addr)); in CreateMemoryInstance()
237 : ObjectFile(module_sp, file, offset, length, data_sp, data_offset), in ObjectFileWasm()
242 ObjectFileWasm::ObjectFileWasm(const lldb::ModuleSP &module_sp, in ObjectFileWasm() argument
246 : ObjectFile(module_sp, process_sp, header_addr, header_data_sp), in ObjectFileWasm()
370 ModuleSP module_sp = GetModule(); in SetLoadAddress() local
371 if (!module_sp) in SetLoadAddress()
438 ModuleSP module_sp(GetModule()); in Dump() local
439 if (!module_sp) in Dump()
[all …]

123456