Lines Matching defs:sec
145 static Defined *addOptionalRegular(StringRef name, SectionBase *sec, in addOptionalRegular()
275 InputSection *sec = createInterpSection(); in createSyntheticSections() local
281 auto add = [](SyntheticSection &sec) { ctx.inputSections.push_back(&sec); }; in createSyntheticSections()
323 auto add = [&](SyntheticSection &sec) { in createSyntheticSections()
672 SectionBase *sec = d->section; in includeInSymtab() local
755 static bool isRelroSection(const OutputSection *sec) { in isRelroSection()
1002 void PhdrEntry::add(OutputSection *sec) { in add()
1043 InputSection *sec = in.gotPlt.get(); in setReservedSymbolSections() local
1158 OutputSection *sec = &cast<OutputDesc>(*e)->osec; in findOrphanPos() local
1285 if (auto *sec = dyn_cast_or_null<InputSectionBase>(d->section)) { in buildSectionOrder() local
1612 static void finalizeSynthetic(SyntheticSection *sec) { in finalizeSynthetic()
1719 const SectionBase *sec = def->section; in fixSymbolsAfterShrinking() local
1776 InputSection &sec = *sections[i]; in optimizeBasicBlockJumps() local
1818 auto *sec = cast<SyntheticSection>(s); in removeUnusedSyntheticSections() local
1828 for (auto *sec : unused) in removeUnusedSyntheticSections() local
1835 llvm::erase_if(script->orphanSections, [&](const InputSectionBase *sec) { in removeUnusedSyntheticSections()
1874 OutputSection *sec = findSection(".sdata"); in finalizeSections() local
2219 if (OutputSection *sec = findSection(".ARM.exidx")) in addStartEndSymbols() local
2239 static bool needsPtLoad(OutputSection *sec) { in needsPtLoad()
2374 if (OutputSection *sec = part.dynamic->getParent()) in createPhdrs() local
2581 auto needsOffset = [](OutputSection &sec) { in assignFileOffsetsBinary()
2700 OutputSection *sec; member