Searched refs:getSections (Results 1 – 20 of 20) sorted by relevance
120 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 …]
35 if (Obj.getSections().empty()) in getNextRVA()37 const Section &Last = Obj.getSections().back(); in getNextRVA()
126 ArrayRef<Section> getSections() const { return Sections; } in getSections() function
87 ArrayRef<Section> Sections = Obj.getSections(); in readSymbols()
31 assert(objSections.size() == obj->getSections().size()); in LLDDwarfObj()32 for (auto it : llvm::enumerate(obj->getSections())) { in LLDDwarfObj()
78 ArrayRef<InputSectionBase *> getSections() const { in getSections() function
229 return cast<InputSection>(file->getSections()[link]); in getLinkOrderDep()323 ArrayRef<InputSectionBase *> sections = file->getSections(); in copyShtGroup()335 ArrayRef<InputSectionBase *> sections = file->getSections(); in getRelocatedSection()
475 ArrayRef<InputSectionBase *> sections = section->file->getSections(); in finalizeShtGroup()
525 file->getSections()[sym.discardedSecIdx] != &InputSection::discarded) in maybeReportDiscarded()605 file->getSections()[sym.discardedSecIdx] == &InputSection::discarded) in getAlternativeSpelling()
2657 for (InputSectionBase *s : f->getSections()) in link()2661 for (InputSectionBase *s : f->getSections()) in link()
289 ArrayRef<InputSectionBase *> sections = s->file->getSections(); in getDILineInfo()
2767 ArrayRef<InputSectionBase *> sections = sec->file->getSections(); in readAddressAreas()3357 for (InputSectionBase *sec : file->getSections()) { in splitSections()
633 for (InputSectionBase *s : f->getSections()) { in markUsedLocalSymbols()
48 const std::vector<OutputSection *> &getSections() const { return sections; } in getSections() function
250 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()
60 const std::vector<OutputSection *> §ions = seg->getSections(); in offsetToInputSection()
146 for (OutputSection *osec : seg->getSections()) { in writeMapFile()
145 for (const OutputSection *osec : seg->getSections()) { in writeTo()
352 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()
710 std::vector<Section *> getSections() { in getSections() function