Searched refs:InitSection (Results 1 – 6 of 6) sorted by relevance
66 for (auto &InitSection : MachOInitSectionNames) { in isMachOInitializerSection() local69 assert(InitSection[6] == ',' && "Init section seg name has length != 6"); in isMachOInitializerSection()70 if (InitSection.starts_with(SegName) && InitSection.substr(7) == SecName) in isMachOInitializerSection()
42 for (StringRef InitSection : ELFInitSectionNames) { in isELFInitializerSection() local44 if (Name.consume_front(InitSection) && (Name.empty() || Name[0] == '.')) in isELFInitializerSection()
109 for (XCOFFYAML::Section &InitSection : InitSections) { in initRelocations()110 if (!InitSection.Relocations.empty()) { in initRelocations()113 uint64_t UsedSize = RelSize * InitSection.Relocations.size(); in initRelocations()117 if (!InitSection.NumberOfRelocations) in initRelocations()118 InitSection.NumberOfRelocations = InitSection.Relocations.size(); in initRelocations()121 if (InitSection.FileOffsetToRelocations) { in initRelocations()122 if (CurrentOffset > InitSection.FileOffsetToRelocations) { in initRelocations()123 reportOverwrite(CurrentOffset, InitSection.FileOffsetToRelocations, in initRelocations()125 InitSection.SectionName + " section"); in initRelocations()128 CurrentOffset = InitSection.FileOffsetToRelocations; in initRelocations()[all …]
844 for (auto &InitSection : G.sections()) { in preserveInitializerSections() local846 if (!isCOFFInitializerSection(InitSection.getName()) || in preserveInitializerSections()847 InitSection.empty()) in preserveInitializerSections()853 auto &B = **InitSection.blocks().begin(); in preserveInitializerSections()860 for (auto *B : InitSection.blocks()) { in preserveInitializerSections()
871 for (auto &InitSection : G.sections()) { in preserveInitSections() local873 if (!isELFInitializerSection(InitSection.getName()) || in preserveInitSections()874 InitSection.empty()) in preserveInitSections()880 auto &B = **InitSection.blocks().begin(); in preserveInitSections()887 for (auto *B : InitSection.blocks()) { in preserveInitSections()
1028 auto *InitSection = G.findSectionByName(InitSectionName); in preserveImportantSections() local1029 if (!InitSection || InitSection->empty()) in preserveImportantSections()1035 auto &B = **InitSection->blocks().begin(); in preserveImportantSections()1042 for (auto *B : InitSection->blocks()) { in preserveImportantSections()