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 in ReadJITDescriptorImpl()
[all...]
/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.cpp704 SectionList *section_list = GetSectionList(); in SetLoadAddress() local
705 if (section_list) { in SetLoadAddress()
713 const size_t num_sections = section_list->GetSize(); in SetLoadAddress()
719 SectionSP section_sp(section_list->GetSectionAtIndex(sect_idx)); in SetLoadAddress()
872 SectionList *section_list = GetSectionList(); in GetImageInfoAddress() local
873 if (!section_list) in GetImageInfoAddress()
878 section_list->FindSectionByType(eSectionTypeELFDynamicLinkInfo, true)); in GetImageInfoAddress()
941 SectionList *section_list = GetSectionList(); in GetEntryPointAddress() local
944 if (!section_list) in GetEntryPointAddress()
947 m_entry_point_address.ResolveAddressUsingFileSections(offset, section_list); in GetEntryPointAddress()
[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()
552 if (section_list) { in FindSection()
554 SectionSP section_sp(section_list->FindSectionByName(const_sect_name)); in FindSection()
557 SectionList *section_list = module_sp->GetSectionList(); FindSection() local
/freebsd/contrib/llvm-project/lldb/source/Expression/
H A DObjectFileJIT.cpp171 SectionList *section_list = GetSectionList();
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()
175 SectionList *section_list = GetSectionList(); SetLoadAddress() local
/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.cpp566 const lldb_private::SectionList &section_list) { in InitializeFirstCodeAddressRecursive() argument
567 for (SectionSP section_sp : section_list) { in InitializeFirstCodeAddressRecursive()
600 const SectionList *section_list = m_objfile_sp->GetSectionList(); in CalculateAbilities() local
601 if (section_list == nullptr) in CalculateAbilities()
608 section = section_list->FindSectionByName(GetDWARFMachOSegmentName()).get(); in CalculateAbilities()
611 section_list = &section->GetChildren(); in CalculateAbilities()
614 section_list->FindSectionByType(eSectionTypeDWARFDebugInfo, true).get(); in CalculateAbilities()
619 section_list->FindSectionByType(eSectionTypeDWARFDebugAbbrev, true) in CalculateAbilities()
637 section_list->FindSectionByType(eSectionTypeDWARFDebugLine, true) in CalculateAbilities()
651 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()
648 const SectionList *section_list, in Decode() argument
674 section_list); in Decode()
H A DObjectFile.cpp638 SectionList *section_list = GetSectionList(); in GetLoadableData() local
639 if (!section_list) in GetLoadableData()
642 size_t section_count = section_list->GetNumSections(0); in GetLoadableData()
645 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.cpp374 SectionList *section_list = GetSectionList(); in SetLoadAddress() local
375 if (!section_list) in SetLoadAddress()
378 const size_t num_sections = section_list->GetSize(); in SetLoadAddress()
380 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.cpp439 SectionList *section_list = GetSectionList(); in ResolveFileAddress() local
440 if (section_list) in ResolveFileAddress()
441 return so_addr.ResolveAddressUsingFileSections(vm_addr, section_list); in ResolveFileAddress()
1344 SectionList *section_list = GetSectionList(); in SetSymbolFileFileSpec() local
1346 if (section_list && symbol_file) { in SetSymbolFileFileSpec()
1379 size_t num_sections = section_list->GetNumSections(0); in SetSymbolFileFileSpec()
1382 section_list->GetSectionAtIndex(idx - 1)); in SetSymbolFileFileSpec()
1384 section_list->DeleteSection(idx - 1); in SetSymbolFileFileSpec()
H A DAddress.cpp237 Address::Address(addr_t address, const SectionList *section_list) in Address() argument
239 ResolveAddressUsingFileSections(address, section_list); in Address()
251 const SectionList *section_list) { in ResolveAddressUsingFileSections() argument
252 if (section_list) { in ResolveAddressUsingFileSections()
254 section_list->FindSectionContainingFileAddress(file_addr)); in ResolveAddressUsingFileSections()
/freebsd/contrib/llvm-project/lldb/include/lldb/Symbol/
H A DSymbol.h55 SectionList *section_list);
273 /// \param section_list
287 const SectionList *section_list, const StringTableReader &strtab);
/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/Core/
H A DAddressRange.h64 const SectionList *section_list = nullptr);
H A DAddress.h159 /// \param[in] section_list
161 Address(lldb::addr_t file_addr, const SectionList *section_list);
/freebsd/contrib/llvm-project/lldb/include/lldb/Expression/
H A DObjectFileJIT.h29 lldb_private::SectionList &section_list) = 0;

12