Lines Matching refs:SectionInfo

53 struct SectionInfo {  struct
54 SectionInfo(StringRef seg, StringRef sect, SectionType type,
78 SectionInfo::SectionInfo(StringRef sg, StringRef sct, SectionType t, in SectionInfo() function in __anon71138ccb0111::SectionInfo
99 std::vector<SectionInfo*> sections;
150 typedef std::map<DefinedAtom::ContentType, SectionInfo*> TypeToSection;
156 SectionInfo *sectionForAtom(const DefinedAtom*);
157 SectionInfo *getRelocatableSection(DefinedAtom::ContentType type);
158 SectionInfo *getFinalSection(DefinedAtom::ContentType type);
159 void appendAtom(SectionInfo *sect, const DefinedAtom *atom);
163 void copySectionContent(SectionInfo *si, ContentBytes &content);
166 void segIndexForSection(const SectionInfo *sect,
173 void appendSection(SectionInfo *si, NormalizedFile &file);
188 bool operator()(const SectionInfo *left, const SectionInfo *right);
189 static unsigned weight(const SectionInfo *);
195 std::vector<SectionInfo*> _sectionInfos;
198 std::vector<SectionInfo*> _customSections;
215 for (SectionInfo *si : _sectionInfos) { in ~Util()
224 std::vector<SectionInfo*> empty2; in ~Util()
229 SectionInfo *Util::getRelocatableSection(DefinedAtom::ContentType type) { in getRelocatableSection()
250 SectionInfo(segmentName, sectionName, sectionType, _ctx, sectionAttrs, in getRelocatableSection()
307 SectionInfo *Util::getFinalSection(DefinedAtom::ContentType atomType) { in getFinalSection()
334 auto *sect = new (_allocator) SectionInfo( in getFinalSection()
344 SectionInfo *Util::sectionForAtom(const DefinedAtom *atom) { in sectionForAtom()
357 for(SectionInfo *sect : _customSections) { in sectionForAtom()
369 new (_allocator) SectionInfo(segName, sectName, S_REGULAR, _ctx, in sectionForAtom()
377 void Util::appendAtom(SectionInfo *sect, const DefinedAtom *atom) { in appendAtom()
496 unsigned Util::TextSectionSorter::weight(const SectionInfo *sect) { in weight()
508 bool Util::TextSectionSorter::operator()(const SectionInfo *left, in operator ()()
509 const SectionInfo *right) { in operator ()()
532 for (SectionInfo *si : _sectionInfos) { in organizeSections()
552 for (SectionInfo *sect : seg->sections) in organizeSections()
559 for (SectionInfo *sect : seg->sections) { in layoutSectionsInSegment()
573 SectionInfo *sect = *it; in layoutSectionsInTextSegment()
582 for (SectionInfo *sect : seg->sections) { in layoutSectionsInTextSegment()
615 for (SectionInfo *si : sgi->sections) { in assignAddressesToSections()
637 void Util::appendSection(SectionInfo *si, NormalizedFile &file) { in appendSection()
664 for (const SectionInfo *sectInfo : _sectionInfos) in copySectionContent()
671 for (SectionInfo *si : _sectionInfos) { in copySectionContent()
704 for (SectionInfo *si : sgi->sections) { in copySectionInfo()
717 for (SectionInfo *si : sgi->sections) { in updateSectionInfo()
742 for (SectionInfo *sect : _sectionInfos) { in buildAtomToAddressMap()
806 for (SectionInfo *sect : _sectionInfos) { in synthesizeDebugNotes()
1056 for (SectionInfo *sect : _sectionInfos) { in addSymbols()
1171 for (SectionInfo *si : _sectionInfos) { in addIndirectSymbols()
1269 void Util::segIndexForSection(const SectionInfo *sect, uint8_t &segmentIndex, in segIndexForSection()
1285 for (const SectionInfo *si : _sectionInfos) { in sectionIndexForAtom()
1315 for (SectionInfo *si : _sectionInfos) { in addSectionRelocs()
1342 for (SectionInfo *si : _sectionInfos) { in addFunctionStarts()
1382 for (SectionInfo *si : _sectionInfos) { in buildDataInCodeArray()
1430 for (SectionInfo *sect : _sectionInfos) { in addRebaseAndBindingInfo()
1510 for (SectionInfo *sectInfo : _sectionInfos) { in fixLazyReferenceImm()
1537 for (SectionInfo *sect : _sectionInfos) { in addExportInfo()