Searched refs:InitSection (Results 1 – 4 of 4) sorted by relevance
82 for (auto &InitSection : MachOInitSectionNames) { in isMachOInitializerSection() local85 assert(InitSection[6] == ',' && "Init section seg name has length != 6"); in isMachOInitializerSection()86 if (InitSection.starts_with(SegName) && InitSection.substr(7) == SecName) in isMachOInitializerSection()93 for (auto &InitSection : MachOInitSectionNames) in isMachOInitializerSection() local94 if (InitSection == QualifiedName) in isMachOInitializerSection()100 for (StringRef InitSection : ELFInitSectionNames) { in isELFInitializerSection() local102 if (Name.consume_front(InitSection) && (Name.empty() || Name[0] == '.')) in isELFInitializerSection()
110 for (XCOFFYAML::Section &InitSection : InitSections) { in initRelocations()111 if (!InitSection.Relocations.empty()) { in initRelocations()114 uint64_t UsedSize = RelSize * InitSection.Relocations.size(); in initRelocations()118 if (!InitSection.NumberOfRelocations) in initRelocations()119 InitSection.NumberOfRelocations = InitSection.Relocations.size(); in initRelocations()122 if (InitSection.FileOffsetToRelocations) { in initRelocations()123 if (CurrentOffset > InitSection.FileOffsetToRelocations) { in initRelocations()124 reportOverwrite(CurrentOffset, InitSection.FileOffsetToRelocations, in initRelocations()126 InitSection.SectionName + " section"); in initRelocations()129 CurrentOffset = InitSection.FileOffsetToRelocations; in initRelocations()[all …]
741 for (auto &InitSection : G.sections()) { in preserveInitSections() 743 if (!isELFInitializerSection(InitSection.getName())) in preserveInitSections() 749 for (auto &Sym : InitSection.symbols()) { in preserveInitSections() 759 for (auto *B : InitSection.blocks()) in registerInitSections() 727 for (auto &InitSection : G.sections()) { preserveInitSections() local
1008 auto *InitSection = G.findSectionByName(InitSectionName); in preserveImportantSections() local1009 if (!InitSection) in preserveImportantSections()1015 for (auto &Sym : InitSection->symbols()) { in preserveImportantSections()1025 for (auto *B : InitSection->blocks()) in preserveImportantSections()