Home
last modified time | relevance | path

Searched refs:section_list (Results 1 – 25 of 35) sorted by relevance

12

/llvm-project-15.0.7/lldb/source/Plugins/JITLoader/GDB/
H A DJITLoaderGDB.cpp228 static void updateSectionLoadAddress(const SectionList &section_list, in updateSectionLoadAddress() argument
233 const uint32_t num_sections = section_list.GetSize(); in updateSectionLoadAddress()
235 SectionSP section_sp(section_list.GetSectionAtIndex(i)); in updateSectionLoadAddress()
342 const SectionList *section_list = image_object_file->GetSectionList(); in ReadJITDescriptorImpl() local
343 if (section_list) { in ReadJITDescriptorImpl()
347 updateSectionLoadAddress(*section_list, target, symbolfile_addr, in ReadJITDescriptorImpl()
376 const SectionList *section_list = image_object_file->GetSectionList(); in ReadJITDescriptorImpl() local
377 if (section_list) { in ReadJITDescriptorImpl()
378 const uint32_t num_sections = section_list->GetSize(); in ReadJITDescriptorImpl()
380 SectionSP section_sp(section_list->GetSectionAtIndex(i)); in ReadJITDescriptorImpl()
/llvm-project-15.0.7/lldb/source/Plugins/DynamicLoader/Static/
H A DDynamicLoaderStatic.cpp92 SectionList *section_list = image_object_file->GetSectionList(); in LoadAllImagesAtFileAddresses() local
93 if (section_list) { in LoadAllImagesAtFileAddresses()
101 const size_t num_sections = section_list->GetSize(); in LoadAllImagesAtFileAddresses()
107 SectionSP section_sp(section_list->GetSectionAtIndex(sect_idx)); in LoadAllImagesAtFileAddresses()
/llvm-project-15.0.7/lldb/source/Plugins/ObjectFile/ELF/
H A DObjectFileELF.cpp676 if (section_list) { in SetLoadAddress()
830 if (!section_list) in GetImageInfoAddress()
901 if (!section_list) in GetEntryPointAddress()
931 if (!section_list) in ParseDependentModules()
2330 if (!section_list) in ParseSymbolTable()
2365 if (!section_list) in ParseDynamicSymbols()
2555 if (!section_list) in ParseTrampolineSymbols()
2701 if (!section_list) in RelocateDebugSections()
2758 if (!section_list) in ParseSymtab()
2912 if (!section_list) in ParseUnwindSymbols()
[all …]
H A DELFHeader.cpp291 elf_half shndx, const lldb_private::SectionList *section_list) { in sectionIndexToCString() argument
303 section_list->GetSectionAtIndex(shndx).get(); in sectionIndexToCString()
313 const lldb_private::SectionList *section_list) { in Dump() argument
318 st_shndx, sectionIndexToCString(st_shndx, section_list), in Dump()
H A DELFHeader.h251 const lldb_private::SectionList *section_list);
271 const lldb_private::SectionList *section_list);
/llvm-project-15.0.7/lldb/source/API/
H A DSBModule.cpp363 SectionList *section_list = module_sp->GetSectionList(); in GetNumSections() local
364 if (section_list) in GetNumSections()
365 return section_list->GetSize(); in GetNumSections()
378 SectionList *section_list = module_sp->GetSectionList(); in GetSectionAtIndex() local
380 if (section_list) in GetSectionAtIndex()
381 sb_section.SetSP(section_list->GetSectionAtIndex(idx)); in GetSectionAtIndex()
555 SectionList *section_list = module_sp->GetSectionList(); in FindSection() local
556 if (section_list) { in FindSection()
558 SectionSP section_sp(section_list->FindSectionByName(const_sect_name)); in FindSection()
/llvm-project-15.0.7/lldb/source/Plugins/ObjectFile/JIT/
H A DObjectFileJIT.cpp184 SectionList *section_list = GetSectionList(); in SetLoadAddress() local
185 if (section_list) { in SetLoadAddress()
186 const size_t num_sections = section_list->GetSize(); in SetLoadAddress()
191 SectionSP section_sp(section_list->GetSectionAtIndex(sect_idx)); in SetLoadAddress()
/llvm-project-15.0.7/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFContext.cpp16 static DWARFDataExtractor LoadSection(SectionList *section_list, in LoadSection() argument
18 if (!section_list) in LoadSection()
21 auto section_sp = section_list->FindSectionByType(section_type, true); in LoadSection()
H A DSymbolFileDWARF.cpp505 const lldb_private::SectionList &section_list) { in InitializeFirstCodeAddressRecursive() argument
506 for (SectionSP section_sp : section_list) { in InitializeFirstCodeAddressRecursive()
524 const SectionList *section_list = m_objfile_sp->GetSectionList(); in CalculateAbilities() local
525 if (section_list == nullptr) in CalculateAbilities()
535 section_list = &section->GetChildren(); in CalculateAbilities()
543 section_list->FindSectionByType(eSectionTypeDWARFDebugAbbrev, true) in CalculateAbilities()
565 section_list->FindSectionByType(eSectionTypeDWARFDebugLine, true) in CalculateAbilities()
579 section_list->FindSectionByType(eSectionTypeDWARFDebugStr, true) in CalculateAbilities()
603 const SectionList *section_list = module_sp->GetSectionList(); in LoadSectionData() local
604 if (!section_list) in LoadSectionData()
[all …]
/llvm-project-15.0.7/lldb/source/Plugins/SymbolFile/PDB/
H A DPDBLocationToDWARFExpression.cpp90 SectionList *section_list = module->GetSectionList(); in ConvertPDBLocationToDWARFExpression() local
91 if (!section_list) in ConvertPDBLocationToDWARFExpression()
96 auto section = section_list->FindSectionByID(section_id); in ConvertPDBLocationToDWARFExpression()
/llvm-project-15.0.7/lldb/source/Symbol/
H A DSymbolFile.cpp247 const SectionList *section_list = module_sp->GetSectionList(); in GetDebugInfoSize() local
248 if (section_list) in GetDebugInfoSize()
249 return section_list->GetDebugInfoSize(); in GetDebugInfoSize()
H A DObjectFile.cpp627 SectionList *section_list = GetSectionList(); in GetLoadableData() local
628 if (!section_list) in GetLoadableData()
631 size_t section_count = section_list->GetNumSections(0); in GetLoadableData()
634 SectionSP section_sp = section_list->GetSectionAtIndex(i); in GetLoadableData()
H A DFunction.cpp137 SectionList *section_list = caller_module_sp->GetSectionList(); in GetLoadAddress() local
138 if (!section_list) { in GetLoadAddress()
143 Address the_addr = Address(unresolved_pc, section_list); in GetLoadAddress()
/llvm-project-15.0.7/lldb/source/Plugins/ObjectFile/wasm/
H A DObjectFileWasm.cpp373 SectionList *section_list = GetSectionList(); in SetLoadAddress() local
374 if (!section_list) in SetLoadAddress()
377 const size_t num_sections = section_list->GetSize(); in SetLoadAddress()
379 SectionSP section_sp(section_list->GetSectionAtIndex(sect_idx)); in SetLoadAddress()
/llvm-project-15.0.7/lldb/source/Plugins/SymbolFile/NativePDB/
H A DDWARFLocationExpression.cpp207 SectionList *section_list = module->GetSectionList(); in MakeGlobalLocationExpression() local
208 assert(section_list); in MakeGlobalLocationExpression()
210 auto section_ptr = section_list->FindSectionByID(section); in MakeGlobalLocationExpression()
/llvm-project-15.0.7/lldb/source/Core/
H A DAddressRange.cpp34 const SectionList *section_list) in AddressRange() argument
35 : m_base_addr(file_addr, section_list), m_byte_size(byte_size) {} in AddressRange()
H A DAddress.cpp235 Address::Address(addr_t address, const SectionList *section_list) in Address() argument
237 ResolveAddressUsingFileSections(address, section_list); in Address()
249 const SectionList *section_list) { in ResolveAddressUsingFileSections() argument
250 if (section_list) { in ResolveAddressUsingFileSections()
252 section_list->FindSectionContainingFileAddress(file_addr)); in ResolveAddressUsingFileSections()
H A DModule.cpp437 SectionList *section_list = GetSectionList(); in ResolveFileAddress() local
438 if (section_list) in ResolveFileAddress()
439 return so_addr.ResolveAddressUsingFileSections(vm_addr, section_list); in ResolveFileAddress()
1409 SectionList *section_list = GetSectionList(); in SetSymbolFileFileSpec() local
1411 if (section_list && symbol_file) { in SetSymbolFileFileSpec()
1449 size_t num_sections = section_list->GetNumSections(0); in SetSymbolFileFileSpec()
1452 section_list->GetSectionAtIndex(idx - 1)); in SetSymbolFileFileSpec()
1454 section_list->DeleteSection(idx - 1); in SetSymbolFileFileSpec()
/llvm-project-15.0.7/lldb/source/Plugins/Process/mach-core/
H A DProcessMachCore.cpp287 SectionList *section_list = core_objfile->GetSectionList(); in DoLoadCore() local
288 if (section_list == nullptr) { in DoLoadCore()
293 const uint32_t num_sections = section_list->GetNumSections(0); in DoLoadCore()
309 Section *section = section_list->GetSectionAtIndex(i).get(); in DoLoadCore()
/llvm-project-15.0.7/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/
H A DDynamicLoaderDarwin.cpp250 SectionList *section_list = image_object_file->GetSectionList(); in UpdateImageLoadAddress() local
251 if (section_list) { in UpdateImageLoadAddress()
260 section_list->FindSectionByName(info.segments[i].name)); in UpdateImageLoadAddress()
293 section_list->FindSectionByName(info.segments[seg_idx].name)); in UpdateImageLoadAddress()
327 SectionList *section_list = image_object_file->GetSectionList(); in UnloadModuleSections() local
328 if (section_list) { in UnloadModuleSections()
332 section_list->FindSectionByName(info.segments[i].name)); in UnloadModuleSections()
/llvm-project-15.0.7/lldb/include/lldb/Core/
H A DAddressRange.h64 const SectionList *section_list = nullptr);
H A DAddress.h158 Address(lldb::addr_t file_addr, const SectionList *section_list);
/llvm-project-15.0.7/lldb/source/Plugins/ObjectFile/Mach-O/
H A DObjectFileMachO.cpp1909 MachSymtabSectionInfo(SectionList *section_list) in MachSymtabSectionInfo() argument
2329 SectionList *section_list = GetSectionList(); in ParseSymtab() local
2330 if (section_list == nullptr) in ParseSymtab()
2612 MachSymtabSectionInfo section_info(section_list); in ParseSymtab()
5375 SectionList *section_list = GetSectionList();
5376 if (section_list) {
5747 if (section_list) {
6093 SectionList *section_list = GetSectionList();
6094 if (!section_list)
6156 SectionList *section_list = GetSectionList();
[all …]
/llvm-project-15.0.7/lldb/source/Plugins/ObjectFile/PECOFF/
H A DObjectFilePECOFF.cpp463 SectionList *section_list = GetSectionList(); in SetLoadAddress() local
464 if (section_list) { in SetLoadAddress()
469 const size_t num_sections = section_list->GetSize(); in SetLoadAddress()
475 SectionSP section_sp(section_list->GetSectionAtIndex(sect_idx)); in SetLoadAddress()
1116 SectionList *section_list = GetSectionList(); in GetEntryPointAddress() local
1119 if (!section_list) in GetEntryPointAddress()
1123 section_list); in GetEntryPointAddress()
/llvm-project-15.0.7/lldb/include/lldb/Symbol/
H A DSymbol.h261 const SectionList *section_list, const StringTableReader &strtab);

12