Lines Matching refs:OutputSection
53 if (OutputSection *OS = InputSec->getOutputSection()) in getOutputSectionVA()
82 OutputSection *LinkerScript::createOutputSection(StringRef Name, in createOutputSection()
84 OutputSection *&SecRef = NameToOutputSection[Name]; in createOutputSection()
85 OutputSection *Sec; in createOutputSection()
90 Sec = make<OutputSection>(Name, SHT_NOBITS, 0); in createOutputSection()
98 OutputSection *LinkerScript::getOrCreateOutputSection(StringRef Name) { in getOrCreateOutputSection()
99 OutputSection *&CmdRef = NameToOutputSection[Name]; in getOrCreateOutputSection()
101 CmdRef = make<OutputSection>(Name, SHT_PROGBITS, 0); in getOrCreateOutputSection()
225 if (auto *OS = dyn_cast<OutputSection>(Base)) { in processInsertCommands()
258 auto *Sec = cast<OutputSection>(Base); in declareSymbols()
436 LinkerScript::createInputSectionList(OutputSection &OutCmd) { in createInputSectionList()
458 Aether = make<OutputSection>("", 0, SHF_ALLOC); in processSectionCommands()
478 if (auto *Sec = dyn_cast<OutputSection>(Base)) { in processSectionCommands()
532 static OutputSection *findByName(ArrayRef<BaseCommand *> Vec, in findByName()
535 if (auto *Sec = dyn_cast<OutputSection>(Base)) in findByName()
541 static OutputSection *createSection(InputSectionBase *IS, in createSection()
543 OutputSection *Sec = Script->createOutputSection(OutsecName, "<internal>"); in createSection()
548 static OutputSection *addInputSec(StringMap<OutputSection *> &Map, in addInputSec()
569 OutputSection *Out = Sec->getRelocatedSection()->getOutputSection(); in addInputSec()
628 OutputSection *&Sec = Map[OutsecName]; in addInputSec()
641 StringMap<OutputSection *> Map; in addOrphanSections()
642 std::vector<OutputSection *> V; in addOrphanSections()
655 if (OutputSection *Sec = in addOrphanSections()
661 if (OutputSection *OS = addInputSec(Map, S, Name)) in addOrphanSections()
714 void LinkerScript::switchTo(OutputSection *Sec) { in switchTo()
725 MemoryRegion *LinkerScript::findMemoryRegion(OutputSection *Sec) { in findMemoryRegion()
754 static OutputSection *findFirstSection(PhdrEntry *Load) { in findFirstSection()
755 for (OutputSection *Sec : OutputSections) in findFirstSection()
763 void LinkerScript::assignOffsets(OutputSection *Sec) { in assignOffsets()
824 static bool isDiscardable(OutputSection &Sec) { in isDiscardable()
873 auto *Sec = dyn_cast<OutputSection>(Cmd); in adjustSectionsBeforeSorting()
912 if (auto *Sec = dyn_cast<OutputSection>(Base)) { in adjustSectionsAfterSorting()
939 auto *Sec = dyn_cast<OutputSection>(Base); in adjustSectionsAfterSorting()
976 for (OutputSection *Sec : OutputSections) in allocateHeaders()
1050 assignOffsets(cast<OutputSection>(Base)); in assignAddresses()
1077 for (OutputSection *Sec : OutputSections) { in createPhdrs()
1133 std::vector<size_t> LinkerScript::getPhdrIndices(OutputSection *Cmd) { in getPhdrIndices()