Lines Matching refs:OutputDesc

134 OutputDesc *LinkerScript::createOutputSection(StringRef name,  in createOutputSection()
136 OutputDesc *&secRef = nameToOutputSection[CachedHashStringRef(name)]; in createOutputSection()
137 OutputDesc *sec; in createOutputSection()
142 sec = make<OutputDesc>(name, SHT_PROGBITS, 0); in createOutputSection()
150 OutputDesc *LinkerScript::getOrCreateOutputSection(StringRef name) { in getOrCreateOutputSection()
151 OutputDesc *&cmdRef = nameToOutputSection[CachedHashStringRef(name)]; in getOrCreateOutputSection()
153 cmdRef = make<OutputDesc>(name, SHT_PROGBITS, 0); in getOrCreateOutputSection()
280 for (SectionCommand *subCmd : cast<OutputDesc>(cmd)->osec.commands) in getSymbolAssignmentValues()
306 SmallVector<OutputDesc *, 0> moves; in processInsertCommands()
315 return isa<OutputDesc>(subCmd) && in processInsertCommands()
316 cast<OutputDesc>(subCmd)->osec.name == name; in processInsertCommands()
320 moves.push_back(cast<OutputDesc>(*from)); in processInsertCommands()
326 auto *to = dyn_cast<OutputDesc>(subCmd); in processInsertCommands()
356 const OutputSection &sec = cast<OutputDesc>(cmd)->osec; in declareSymbols()
703 DenseMap<CachedHashStringRef, OutputDesc *> map; in processSectionCommands()
705 for (OutputDesc *osd : overwriteSections) { in processSectionCommands()
712 if (auto *osd = dyn_cast<OutputDesc>(base)) { in processSectionCommands()
714 if (OutputDesc *overwrite = map.lookup(CachedHashStringRef(osec->name))) { in processSectionCommands()
726 for (OutputDesc *osd : overwriteSections) in processSectionCommands()
750 for (SectionCommand *subCmd : cast<OutputDesc>(cmd)->osec.commands) in processSymbolAssignments()
761 if (auto *osd = dyn_cast<OutputDesc>(cmd)) in findByName()
767 static OutputDesc *createSection(InputSectionBase *isec, StringRef outsecName) { in createSection()
768 OutputDesc *osd = script->createOutputSection(outsecName, "<internal>"); in createSection()
773 static OutputDesc *addInputSec(StringMap<TinyPtrVector<OutputSection *>> &map, in addInputSec()
800 OutputDesc *osd = createSection(isec, outsecName); in addInputSec()
871 OutputDesc *osd = createSection(isec, outsecName); in addInputSec()
879 SmallVector<OutputDesc *, 0> v; in addOrphanSections()
891 if (OutputDesc *osd = addInputSec(map, s, name)) in addOrphanSections()
1229 if (!isa<OutputDesc>(cmd)) in adjustOutputSections()
1231 auto *sec = &cast<OutputDesc>(cmd)->osec; in adjustOutputSections()
1293 if (auto *osd = dyn_cast<OutputDesc>(cmd)) { in adjustSectionsAfterSorting()
1321 if (auto *osd = dyn_cast<OutputDesc>(cmd)) in adjustSectionsAfterSorting()
1420 if (assignOffsets(&cast<OutputDesc>(cmd)->osec) && !changedOsec) in assignAddresses()
1421 changedOsec = &cast<OutputDesc>(cmd)->osec; in assignAddresses()
1445 auto *od = dyn_cast<OutputDesc>(cmd); in spillSections()