Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/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()
343 const SectionList *section_list = image_object_file->GetSectionList(); in ReadJITDescriptorImpl() local
344 if (section_list) { in ReadJITDescriptorImpl()
348 updateSectionLoadAddress(*section_list, target, symbolfile_addr, in ReadJITDescriptorImpl()
379 const SectionList *section_list = image_object_file->GetSectionList(); in ReadJITDescriptorImpl() local
380 if (section_list) { in ReadJITDescriptorImpl()
381 const uint32_t num_sections = section_list->GetSize(); in ReadJITDescriptorImpl()
383 SectionSP section_sp(section_list->GetSectionAtIndex(i)); in ReadJITDescriptorImpl()
/freebsd/contrib/llvm-project/lldb/source/Plugins/DynamicLoader/Static/
H A DDynamicLoaderStatic.cpp100 SectionList *section_list = image_object_file->GetSectionList(); in LoadAllImagesAtFileAddresses() local
101 if (section_list) { in LoadAllImagesAtFileAddresses()
102 const size_t num_sections = section_list->GetSize(); in LoadAllImagesAtFileAddresses()
104 SectionSP section_sp(section_list->GetSectionAtIndex(sect_idx)); in LoadAllImagesAtFileAddresses()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectFile/ELF/
H A DObjectFileELF.cpp721 SectionList *section_list = GetSectionList(); in SetLoadAddress() local
722 if (section_list) { in SetLoadAddress()
730 const size_t num_sections = section_list->GetSize(); in SetLoadAddress()
736 SectionSP section_sp(section_list->GetSectionAtIndex(sect_idx)); in SetLoadAddress()
888 SectionList *section_list = GetSectionList(); in GetImageInfoAddress() local
889 if (!section_list) in GetImageInfoAddress()
951 SectionList *section_list = GetSectionList(); in GetEntryPointAddress() local
954 if (!section_list) in GetEntryPointAddress()
957 m_entry_point_address.ResolveAddressUsingFileSections(offset, section_list); in GetEntryPointAddress()
1843 static SectionSP FindMatchingSection(const SectionList &section_list, in FindMatchingSection() argument
[all …]
H A DELFHeader.cpp294 elf_half shndx, const lldb_private::SectionList *section_list) { in sectionIndexToCString() argument
306 section_list->GetSectionAtIndex(shndx).get(); in sectionIndexToCString()
316 const lldb_private::SectionList *section_list) { in Dump() argument
321 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);
/freebsd/contrib/llvm-project/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()
551 SectionList *section_list = module_sp->GetSectionList(); in FindSection() local
552 if (section_list) { in FindSection()
554 SectionSP section_sp(section_list->FindSectionByName(const_sect_name)); in FindSection()
/freebsd/contrib/llvm-project/lldb/source/Expression/
H A DObjectFileJIT.cpp171 SectionList *section_list = GetSectionList(); in SetLoadAddress() local
172 if (section_list) { in SetLoadAddress()
173 const size_t num_sections = section_list->GetSize(); in SetLoadAddress()
178 SectionSP section_sp(section_list->GetSectionAtIndex(sect_idx)); in SetLoadAddress()
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFContext.cpp18 static DWARFDataExtractor LoadSection(SectionList *section_list, in LoadSection()
20 if (!section_list) in LoadSection()
23 auto section_sp = section_list->FindSectionByType(section_type, true); in LoadSection()
17 LoadSection(SectionList * section_list,SectionType section_type) LoadSection() argument
H A DSymbolFileDWARFDwo.cpp92 SectionList *section_list = in GetDebugInfoSize() local
94 if (section_list) in GetDebugInfoSize()
95 return section_list->GetDebugInfoSize(); in GetDebugInfoSize()
H A DSymbolFileDWARF.cpp572 const lldb_private::SectionList &section_list) { in InitializeFirstCodeAddressRecursive() argument
573 for (SectionSP section_sp : section_list) { in InitializeFirstCodeAddressRecursive()
606 const SectionList *section_list = m_objfile_sp->GetSectionList(); in CalculateAbilities() local
607 if (section_list == nullptr) in CalculateAbilities()
614 section = section_list->FindSectionByName(GetDWARFMachOSegmentName()).get(); in CalculateAbilities()
617 section_list = &section->GetChildren(); in CalculateAbilities()
620 section_list->FindSectionByType(eSectionTypeDWARFDebugInfo, true).get(); in CalculateAbilities()
625 section_list->FindSectionByType(eSectionTypeDWARFDebugAbbrev, true) in CalculateAbilities()
643 section_list->FindSectionByType(eSectionTypeDWARFDebugLine, true) in CalculateAbilities()
657 section_list->FindSectionByType(eSectionTypeDWARFDebugStr, true) in CalculateAbilities()
[all …]
/freebsd/contrib/llvm-project/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()
/freebsd/contrib/llvm-project/lldb/source/Symbol/
H A DSymbolFile.cpp236 const SectionList *section_list = module_sp->GetSectionList(); in GetDebugInfoSize() local
237 if (section_list) in GetDebugInfoSize()
238 return section_list->GetDebugInfoSize(); in GetDebugInfoSize()
H A DSymbol.cpp102 SectionList *section_list) { in FromJSON() argument
103 if (!section_list) in FromJSON()
125 section_list->FindSectionContainingFileAddress(*symbol.address)) { in FromJSON()
650 const SectionList *section_list, in Decode() argument
676 section_list); in Decode()
H A DObjectFile.cpp676 SectionList *section_list = GetSectionList(); in GetLoadableData() local
677 if (!section_list) in GetLoadableData()
680 size_t section_count = section_list->GetNumSections(0); in GetLoadableData()
683 SectionSP section_sp = section_list->GetSectionAtIndex(i); in GetLoadableData()
H A DFunction.cpp144 SectionList *section_list = caller_module_sp->GetSectionList(); in GetLoadAddress() local
145 if (!section_list) { in GetLoadAddress()
150 Address the_addr = Address(unresolved_pc, section_list); in GetLoadAddress()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectFile/wasm/
H A DObjectFileWasm.cpp344 SectionList *section_list = GetSectionList(); in SetLoadAddress() local
345 if (!section_list) in SetLoadAddress()
348 const size_t num_sections = section_list->GetSize(); in SetLoadAddress()
350 SectionSP section_sp(section_list->GetSectionAtIndex(sect_idx)); in SetLoadAddress()
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/
H A DDWARFLocationExpression.cpp213 SectionList *section_list = module->GetSectionList(); in MakeGlobalLocationExpression() local
214 assert(section_list); in MakeGlobalLocationExpression()
216 auto section_ptr = section_list->FindSectionByID(section); in MakeGlobalLocationExpression()
/freebsd/contrib/llvm-project/lldb/source/Core/
H A DAddressRange.cpp35 const SectionList *section_list) in AddressRange() argument
36 : m_base_addr(file_addr, section_list), m_byte_size(byte_size) {} in AddressRange()
H A DModule.cpp446 SectionList *section_list = GetSectionList(); in ResolveFileAddress() local
447 if (section_list) in ResolveFileAddress()
448 return so_addr.ResolveAddressUsingFileSections(vm_addr, section_list); in ResolveFileAddress()
1333 SectionList *section_list = GetSectionList(); in SetSymbolFileFileSpec() local
1335 if (section_list && symbol_file) { in SetSymbolFileFileSpec()
1368 size_t num_sections = section_list->GetNumSections(0); in SetSymbolFileFileSpec()
1371 section_list->GetSectionAtIndex(idx - 1)); in SetSymbolFileFileSpec()
1373 section_list->DeleteSection(idx - 1); in SetSymbolFileFileSpec()
H A DAddress.cpp236 Address::Address(addr_t address, const SectionList *section_list) in Address() argument
238 ResolveAddressUsingFileSections(address, section_list); in Address()
250 const SectionList *section_list) { in ResolveAddressUsingFileSections() argument
251 if (section_list) { in ResolveAddressUsingFileSections()
253 section_list->FindSectionContainingFileAddress(file_addr)); in ResolveAddressUsingFileSections()
/freebsd/contrib/llvm-project/lldb/include/lldb/Symbol/
H A DSymbol.h55 SectionList *section_list);
287 const SectionList *section_list, const StringTableReader &strtab);
/freebsd/contrib/llvm-project/lldb/include/lldb/Core/
H A DAddressRange.h64 const SectionList *section_list = nullptr);
H A DAddress.h161 Address(lldb::addr_t file_addr, const SectionList *section_list);
/freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectFile/JSON/
H A DObjectFileJSON.cpp165 SectionList *section_list = GetModule()->GetSectionList(); in ParseSymtab() local
167 llvm::Expected<Symbol> symbol = Symbol::FromJSON(json_symbol, section_list); in ParseSymtab()
/freebsd/contrib/llvm-project/lldb/include/lldb/Expression/
H A DObjectFileJIT.h29 lldb_private::SectionList &section_list) = 0;

12