Searched refs:getSections (Results 1 – 19 of 19) sorted by relevance
120 for (const auto &S : Obj.getSections()) in finalizeStringTable()192 Obj.CoffFileHeader.NumberOfSections = Obj.getSections().size(); in finalize()195 SizeOfHeaders += sizeof(coff_section) * Obj.getSections().size(); in finalize()210 if (!Obj.getSections().empty()) { in finalize()211 const Section &S = Obj.getSections().back(); in finalize()273 BigObjHeader.NumberOfSections = Obj.getSections().size(); in writeHeaders()298 for (const auto &S : Obj.getSections()) { in writeHeaders()305 for (const auto &S : Obj.getSections()) { in writeSections()396 for (const auto &S : Obj.getSections()) { in virtualAddressToFileAddress()414 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()
125 ArrayRef<Section> getSections() const { return Sections; } in getSections() function
87 ArrayRef<Section> Sections = Obj.getSections(); in readSymbols()
32 assert(objSections.size() == obj->getSections().size()); in LLDDwarfObj()33 for (auto it : llvm::enumerate(obj->getSections())) { in LLDDwarfObj()
80 ArrayRef<InputSectionBase *> getSections() const { in getSections() function
275 return cast<InputSection>(file->getSections()[link]); in getLinkOrderDep()390 ArrayRef<InputSectionBase *> sections = file->getSections(); in copyShtGroup()402 ArrayRef<InputSectionBase *> sections = file->getSections(); in getRelocatedSection()
391 ArrayRef<InputSectionBase *> sections = section->file->getSections(); in finalizeShtGroup()
698 file->getSections()[sym.discardedSecIdx] != &InputSection::discarded) in maybeReportDiscarded()769 file->getSections()[sym.discardedSecIdx] == &InputSection::discarded) in getAlternativeSpelling()
2355 for (InputSectionBase *s : f->getSections()) in link()2359 for (InputSectionBase *s : f->getSections()) in link()
318 ArrayRef<InputSectionBase *> sections = s->file->getSections(); in getDILineInfo()
690 for (InputSectionBase *s : f->getSections()) { in markUsedLocalSymbols()
2786 ArrayRef<InputSectionBase *> sections = sec->file->getSections(); in readAddressAreas()
48 const std::vector<OutputSection *> &getSections() const { return sections; } in getSections() function
136 for (OutputSection *osec : seg->getSections()) { in writeMapFile()
247 for (const OutputSection *osec : seg->getSections()) { in writeTo()889 for (OutputSection *osec : seg->getSections()) { in sortSegmentsAndSections()1030 for (OutputSection *osec : seg->getSections()) { in assignAddresses()1060 for (const OutputSection *osec : seg->getSections()) in writeSections()
125 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()762 SHeaders.resize(Doc.getSections().size()); in initSectionHeaders()792 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()
708 std::vector<Section *> getSections() { in getSections() function