Searched refs:getSections (Results 1 – 22 of 22) 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 …]
36 if (Obj.getSections().empty()) in getNextRVA()38 const Section &Last = Obj.getSections().back(); in getNextRVA()135 for (const coff::Section &Section : O.getSections()) { in dumpSection()
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()
150 InputSectionBase *const &relSec = f->getSections()[relSecIdx]; in relsOrRelas()278 return cast<InputSection>(file->getSections()[link]); in getLinkOrderDep()383 ArrayRef<InputSectionBase *> sections = file->getSections(); in copyShtGroup()395 ArrayRef<InputSectionBase *> sections = file->getSections(); in getRelocatedSection()
83 ArrayRef<InputSectionBase *> getSections() const { in getSections() function
606 file->getSections()[sym.discardedSecIdx] == &InputSection::discarded) in getAlternativeSpelling()1650 for (InputSectionBase *s : f->getSections()) { in scanRelocations()
610 ArrayRef<InputSectionBase *> sections = section->file->getSections(); in finalizeShtGroup()
252 for (auto [i, sec] : llvm::enumerate(sym.file->getSections())) in demoteDefined()400 for (InputSectionBase *s : f->getSections()) { in markUsedLocalSymbols()
3041 for (InputSectionBase *s : f->getSections()) { in link()3051 for (InputSectionBase *s : f->getSections()) in link()
505 ArrayRef<InputSectionBase *> sections = s->file->getSections(); in getDILineInfo()
3358 ArrayRef<InputSectionBase *> sections = sec->file->getSections(); in readAddressAreas()3950 for (InputSectionBase *sec : file->getSections()) { in splitSections()
47 const std::vector<OutputSection *> &getSections() const { return sections; } in getSections() function
198 for (OutputSection *osec : seg->getSections()) { in writeMapFile()222 for (const OutputSection *osec : seg->getSections()) { in writeMapFile()
70 const std::vector<OutputSection *> §ions = seg->getSections(); in offsetToInputSection()
250 for (const OutputSection *osec : seg->getSections()) { in writeTo()965 for (const OutputSection *osec : seg->getSections()) in sortSegmentsAndSections()969 for (OutputSection *osec : seg->getSections()) { in sortSegmentsAndSections()1080 for (OutputSection *osec : seg->getSections()) { in finalizeAddresses()1142 for (OutputSection *osec : seg->getSections()) { in assignAddresses()1175 append_range(osecs, seg->getSections()); in writeSections()
150 for (const OutputSection *osec : seg->getSections()) { in writeTo()
360 std::vector<ELFYAML::Section *> Sections = Doc.getSections(); in ELFState()527 Header.e_shnum = SectionHeaders.getNumHeaders(Doc.getSections().size()); in writeELFHeader()550 std::vector<ELFYAML::Section *> Sections = Doc.getSections(); in initProgramHeaders()769 SHeaders.resize(Doc.getSections().size()); in initSectionHeaders()799 bool IsFirstUndefSection = Sec == Doc.getSections().front(); in initSectionHeaders()1933 for (const ELFYAML::Section *S : Doc.getSections()) { in buildSectionHeaderReorderMap()1935 if (S == Doc.getSections().front()) in buildSectionHeaderReorderMap()1958 std::vector<ELFYAML::Section *> Sections = Doc.getSections(); in buildSectionIndex()2013 for (const ELFYAML::Chunk *Sec : Doc.getSections()) { in finalizeStrings()
222 for (const auto *sec : f->getSections()) in inputFileHasCode()
1139 for (InputSectionBase *section : file->getSections()) { in createTaggedSymbols()
738 std::vector<Section *> getSections() { in getSections() function