Searched refs:InitSection (Results 1 – 4 of 4) sorted by relevance
78 for (auto &InitSection : MachOInitSectionNames) { in isMachOInitializerSection() local81 assert(InitSection[6] == ',' && "Init section seg name has length != 6"); in isMachOInitializerSection()82 if (InitSection.starts_with(SegName) && InitSection.substr(7) == SecName) in isMachOInitializerSection()89 for (auto &InitSection : MachOInitSectionNames) in isMachOInitializerSection() local90 if (InitSection == QualifiedName) in isMachOInitializerSection()96 for (StringRef InitSection : ELFInitSectionNames) { in isELFInitializerSection() local98 if (Name.consume_front(InitSection) && (Name.empty() || Name[0] == '.')) in isELFInitializerSection()
99 for (XCOFFYAML::Section &InitSection : InitSections) { in initRelocations()100 if (!InitSection.Relocations.empty()) { in initRelocations()101 InitSection.NumberOfRelocations = InitSection.Relocations.size(); in initRelocations()102 InitSection.FileOffsetToRelocations = CurrentOffset; in initRelocations()105 CurrentOffset += InitSection.NumberOfRelocations * RelSize; in initRelocations()
741 for (auto &InitSection : G.sections()) { in preserveInitSections() local743 if (!isELFInitializerSection(InitSection.getName())) in preserveInitSections()749 for (auto &Sym : InitSection.symbols()) { in preserveInitSections()759 for (auto *B : InitSection.blocks()) in preserveInitSections()
972 auto *InitSection = G.findSectionByName(InitSectionName); in preserveImportantSections() local973 if (!InitSection) in preserveImportantSections()979 for (auto &Sym : InitSection->symbols()) { in preserveImportantSections()989 for (auto *B : InitSection->blocks()) in preserveImportantSections()