Searched refs:getSections (Results 1 – 20 of 20) sorted by relevance
122 for (const auto &S : Obj.getSections()) in finalizeStringTable()199 Obj.CoffFileHeader.NumberOfSections = Obj.getSections().size(); in finalize()202 SizeOfHeaders += sizeof(coff_section) * Obj.getSections().size(); in finalize()217 if (!Obj.getSections().empty()) { in finalize()218 const Section &S = Obj.getSections().back(); in finalize()284 BigObjHeader.NumberOfSections = Obj.getSections().size(); in writeHeaders()309 for (const auto &S : Obj.getSections()) { in writeHeaders()316 for (const auto &S : Obj.getSections()) { in writeSections()407 for (const auto &S : Obj.getSections()) { in virtualAddressToFileAddress()425 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()
31 assert(objSections.size() == obj->getSections().size()); in LLDDwarfObj()32 for (auto [i, sec] : llvm::enumerate(obj->getSections())) { in LLDDwarfObj()
81 ArrayRef<InputSectionBase *> getSections() const { in getSections() function
241 return cast<InputSection>(file->getSections()[link]); in getLinkOrderDep()336 ArrayRef<InputSectionBase *> sections = file->getSections(); in copyShtGroup()348 ArrayRef<InputSectionBase *> sections = file->getSections(); in getRelocatedSection()
503 file->getSections()[sym.discardedSecIdx] != &InputSection::discarded) in maybeReportDiscarded()584 file->getSections()[sym.discardedSecIdx] == &InputSection::discarded) in getAlternativeSpelling()1547 for (InputSectionBase *s : f->getSections()) { in scanRelocations()
562 ArrayRef<InputSectionBase *> sections = section->file->getSections(); in finalizeShtGroup()
2767 for (InputSectionBase *s : f->getSections()) { in link()2777 for (InputSectionBase *s : f->getSections()) in link()
453 ArrayRef<InputSectionBase *> sections = s->file->getSections(); in getDILineInfo()
2714 ArrayRef<InputSectionBase *> sections = sec->file->getSections(); in readAddressAreas()3313 for (InputSectionBase *sec : file->getSections()) { in splitSections()
622 for (InputSectionBase *s : f->getSections()) { in markUsedLocalSymbols()
47 const std::vector<OutputSection *> &getSections() const { return sections; } in getSections() function
181 for (OutputSection *osec : seg->getSections()) { in writeMapFile()192 for (const OutputSection *osec : seg->getSections()) { in writeMapFile()
60 const std::vector<OutputSection *> §ions = seg->getSections(); in offsetToInputSection()
251 for (const OutputSection *osec : seg->getSections()) { in writeTo()940 for (const OutputSection *osec : seg->getSections()) in sortSegmentsAndSections()944 for (OutputSection *osec : seg->getSections()) { in sortSegmentsAndSections()1057 for (OutputSection *osec : seg->getSections()) { in finalizeAddresses()1120 for (OutputSection *osec : seg->getSections()) { in assignAddresses()1151 append_range(osecs, seg->getSections()); in writeSections()
156 for (const OutputSection *osec : seg->getSections()) { in writeTo()
353 std::vector<ELFYAML::Section *> Sections = Doc.getSections(); in ELFState()520 Header.e_shnum = SectionHeaders.getNumHeaders(Doc.getSections().size()); in writeELFHeader()543 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()1813 for (const ELFYAML::Section *S : Doc.getSections()) { in buildSectionHeaderReorderMap()1815 if (S == Doc.getSections().front()) in buildSectionHeaderReorderMap()1838 std::vector<ELFYAML::Section *> Sections = Doc.getSections(); in buildSectionIndex()1893 for (const ELFYAML::Chunk *Sec : Doc.getSections()) { in finalizeStrings()
712 std::vector<Section *> getSections() { in getSections() function