Home
last modified time | relevance | path

Searched refs:getSections (Results 1 – 20 of 20) sorted by relevance

/llvm-project-15.0.7/llvm/lib/ObjCopy/COFF/
H A DCOFFWriter.cpp120 for (const auto &S : Obj.getSections()) in finalizeStringTable()
197 Obj.CoffFileHeader.NumberOfSections = Obj.getSections().size(); in finalize()
200 SizeOfHeaders += sizeof(coff_section) * Obj.getSections().size(); in finalize()
215 if (!Obj.getSections().empty()) { in finalize()
216 const Section &S = Obj.getSections().back(); in finalize()
282 BigObjHeader.NumberOfSections = Obj.getSections().size(); in writeHeaders()
307 for (const auto &S : Obj.getSections()) { in writeHeaders()
314 for (const auto &S : Obj.getSections()) { in writeSections()
405 for (const auto &S : Obj.getSections()) { in virtualAddressToFileAddress()
423 for (const auto &S : Obj.getSections()) { in patchDebugDirectory()
[all …]
H A DCOFFObjcopy.cpp35 if (Obj.getSections().empty()) in getNextRVA()
37 const Section &Last = Obj.getSections().back(); in getNextRVA()
H A DCOFFObject.h126 ArrayRef<Section> getSections() const { return Sections; } in getSections() function
H A DCOFFReader.cpp87 ArrayRef<Section> Sections = Obj.getSections(); in readSymbols()
/llvm-project-15.0.7/lld/ELF/
H A DDWARF.cpp31 assert(objSections.size() == obj->getSections().size()); in LLDDwarfObj()
32 for (auto it : llvm::enumerate(obj->getSections())) { in LLDDwarfObj()
H A DInputFiles.h78 ArrayRef<InputSectionBase *> getSections() const { in getSections() function
H A DInputSection.cpp229 return cast<InputSection>(file->getSections()[link]); in getLinkOrderDep()
323 ArrayRef<InputSectionBase *> sections = file->getSections(); in copyShtGroup()
335 ArrayRef<InputSectionBase *> sections = file->getSections(); in getRelocatedSection()
H A DOutputSections.cpp475 ArrayRef<InputSectionBase *> sections = section->file->getSections(); in finalizeShtGroup()
H A DRelocations.cpp525 file->getSections()[sym.discardedSecIdx] != &InputSection::discarded) in maybeReportDiscarded()
605 file->getSections()[sym.discardedSecIdx] == &InputSection::discarded) in getAlternativeSpelling()
H A DDriver.cpp2657 for (InputSectionBase *s : f->getSections()) in link()
2661 for (InputSectionBase *s : f->getSections()) in link()
H A DInputFiles.cpp289 ArrayRef<InputSectionBase *> sections = s->file->getSections(); in getDILineInfo()
H A DSyntheticSections.cpp2767 ArrayRef<InputSectionBase *> sections = sec->file->getSections(); in readAddressAreas()
3357 for (InputSectionBase *sec : file->getSections()) { in splitSections()
H A DWriter.cpp633 for (InputSectionBase *s : f->getSections()) { in markUsedLocalSymbols()
/llvm-project-15.0.7/lld/MachO/
H A DOutputSegment.h48 const std::vector<OutputSection *> &getSections() const { return sections; } in getSections() function
H A DWriter.cpp250 for (const OutputSection *osec : seg->getSections()) { in writeTo()
894 for (const OutputSection *osec : seg->getSections()) in sortSegmentsAndSections()
898 for (OutputSection *osec : seg->getSections()) { in sortSegmentsAndSections()
1005 for (OutputSection *osec : seg->getSections()) { in finalizeAddresses()
1072 for (OutputSection *osec : seg->getSections()) { in assignAddresses()
1103 append_range(osecs, seg->getSections()); in writeSections()
H A DRelocations.cpp60 const std::vector<OutputSection *> &sections = seg->getSections(); in offsetToInputSection()
H A DMapFile.cpp146 for (OutputSection *osec : seg->getSections()) { in writeMapFile()
H A DSyntheticSections.cpp145 for (const OutputSection *osec : seg->getSections()) { in writeTo()
/llvm-project-15.0.7/llvm/lib/ObjectYAML/
H A DELFEmitter.cpp352 std::vector<ELFYAML::Section *> Sections = Doc.getSections(); in ELFState()
519 Header.e_shnum = SectionHeaders.getNumHeaders(Doc.getSections().size()); in writeELFHeader()
542 std::vector<ELFYAML::Section *> Sections = Doc.getSections(); in initProgramHeaders()
761 SHeaders.resize(Doc.getSections().size()); in initSectionHeaders()
791 bool IsFirstUndefSection = Sec == Doc.getSections().front(); in initSectionHeaders()
1809 for (const ELFYAML::Section *S : Doc.getSections()) { in buildSectionHeaderReorderMap()
1811 if (S == Doc.getSections().front()) in buildSectionHeaderReorderMap()
1834 std::vector<ELFYAML::Section *> Sections = Doc.getSections(); in buildSectionIndex()
1889 for (const ELFYAML::Chunk *Sec : Doc.getSections()) { in finalizeStrings()
/llvm-project-15.0.7/llvm/include/llvm/ObjectYAML/
H A DELFYAML.h710 std::vector<Section *> getSections() { in getSections() function