reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileFromAtoms.cpp
   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);
  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) {
  223     std::vector<SectionInfo*> empty2;
  228 SectionInfo *Util::getRelocatableSection(DefinedAtom::ContentType type) {
  248   auto *sect = new (_allocator)
  249       SectionInfo(segmentName, sectionName, sectionType, _ctx, sectionAttrs,
  306 SectionInfo *Util::getFinalSection(DefinedAtom::ContentType atomType) {
  333     auto *sect = new (_allocator) SectionInfo(
  333     auto *sect = new (_allocator) SectionInfo(
  343 SectionInfo *Util::sectionForAtom(const DefinedAtom *atom) {
  356     for(SectionInfo *sect : _customSections) {
  367     auto *sect =
  368         new (_allocator) SectionInfo(segName, sectName, S_REGULAR, _ctx,
  376 void Util::appendAtom(SectionInfo *sect, const DefinedAtom *atom) {
  495 unsigned Util::TextSectionSorter::weight(const SectionInfo *sect) {
  507 bool Util::TextSectionSorter::operator()(const SectionInfo *left,
  508                                          const SectionInfo *right) {
  531   for (SectionInfo *si : _sectionInfos) {
  551     for (SectionInfo *sect : seg->sections)
  558   for (SectionInfo *sect : seg->sections) {
  572     SectionInfo *sect = *it;
  581   for (SectionInfo *sect : seg->sections) {
  637 void Util::appendSection(SectionInfo *si, NormalizedFile &file) {
  664     for (const SectionInfo *sectInfo : _sectionInfos)
  671   for (SectionInfo *si : _sectionInfos) {
  704     for (SectionInfo *si : sgi->sections) {
  717     for (SectionInfo *si : sgi->sections) {
  742   for (SectionInfo *sect : _sectionInfos) {
  806   for (SectionInfo *sect : _sectionInfos) {
 1056   for (SectionInfo *sect : _sectionInfos) {
 1171   for (SectionInfo *si : _sectionInfos) {
 1269 void Util::segIndexForSection(const SectionInfo *sect, uint8_t &segmentIndex,
 1285   for (const SectionInfo *si : _sectionInfos) {
 1315   for (SectionInfo *si : _sectionInfos) {
 1342   for (SectionInfo *si : _sectionInfos) {
 1382   for (SectionInfo *si : _sectionInfos) {
 1430   for (SectionInfo *sect : _sectionInfos) {
 1510     for (SectionInfo *sectInfo : _sectionInfos) {
 1537   for (SectionInfo *sect : _sectionInfos) {