Lines Matching refs:SectionInfo

52 struct SectionInfo {  struct
53 SectionInfo(StringRef seg, StringRef sect, SectionType type,
77 SectionInfo::SectionInfo(StringRef sg, StringRef sct, SectionType t, in SectionInfo() function in __anon3252b6f00111::SectionInfo
98 std::vector<SectionInfo*> sections;
149 typedef std::map<DefinedAtom::ContentType, SectionInfo*> TypeToSection;
155 SectionInfo *sectionForAtom(const DefinedAtom*);
156 SectionInfo *getRelocatableSection(DefinedAtom::ContentType type);
157 SectionInfo *getFinalSection(DefinedAtom::ContentType type);
158 void appendAtom(SectionInfo *sect, const DefinedAtom *atom);
162 void copySectionContent(SectionInfo *si, ContentBytes &content);
165 void segIndexForSection(const SectionInfo *sect,
172 void appendSection(SectionInfo *si, NormalizedFile &file);
187 bool operator()(const SectionInfo *left, const SectionInfo *right);
188 static unsigned weight(const SectionInfo *);
194 std::vector<SectionInfo*> _sectionInfos;
197 std::vector<SectionInfo*> _customSections;
214 for (SectionInfo *si : _sectionInfos) { in ~Util()
223 std::vector<SectionInfo*> empty2; in ~Util()
228 SectionInfo *Util::getRelocatableSection(DefinedAtom::ContentType type) { in getRelocatableSection()
249 SectionInfo(segmentName, sectionName, sectionType, _ctx, sectionAttrs, in getRelocatableSection()
306 SectionInfo *Util::getFinalSection(DefinedAtom::ContentType atomType) { in getFinalSection()
333 auto *sect = new (_allocator) SectionInfo( in getFinalSection()
343 SectionInfo *Util::sectionForAtom(const DefinedAtom *atom) { in sectionForAtom()
356 for(SectionInfo *sect : _customSections) { in sectionForAtom()
368 new (_allocator) SectionInfo(segName, sectName, S_REGULAR, _ctx, in sectionForAtom()
376 void Util::appendAtom(SectionInfo *sect, const DefinedAtom *atom) { in appendAtom()
495 unsigned Util::TextSectionSorter::weight(const SectionInfo *sect) { in weight()
507 bool Util::TextSectionSorter::operator()(const SectionInfo *left, in operator ()()
508 const SectionInfo *right) { in operator ()()
531 for (SectionInfo *si : _sectionInfos) { in organizeSections()
551 for (SectionInfo *sect : seg->sections) in organizeSections()
558 for (SectionInfo *sect : seg->sections) { in layoutSectionsInSegment()
572 SectionInfo *sect = *it; in layoutSectionsInTextSegment()
581 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()