Lines Matching refs:OutputDesc
132 OutputDesc *LinkerScript::createOutputSection(StringRef name, in createOutputSection()
134 OutputDesc *&secRef = nameToOutputSection[CachedHashStringRef(name)]; in createOutputSection()
135 OutputDesc *sec; in createOutputSection()
140 sec = make<OutputDesc>(name, SHT_PROGBITS, 0); in createOutputSection()
148 OutputDesc *LinkerScript::getOrCreateOutputSection(StringRef name) { in getOrCreateOutputSection()
149 OutputDesc *&cmdRef = nameToOutputSection[CachedHashStringRef(name)]; in getOrCreateOutputSection()
151 cmdRef = make<OutputDesc>(name, SHT_PROGBITS, 0); in getOrCreateOutputSection()
287 for (SectionCommand *subCmd : cast<OutputDesc>(cmd)->osec.commands) in getSymbolAssignmentValues()
313 SmallVector<OutputDesc *, 0> moves; in processInsertCommands()
319 return isa<OutputDesc>(subCmd) && in processInsertCommands()
320 cast<OutputDesc>(subCmd)->osec.name == name; in processInsertCommands()
324 moves.push_back(cast<OutputDesc>(*from)); in processInsertCommands()
330 auto *to = dyn_cast<OutputDesc>(subCmd); in processInsertCommands()
360 const OutputSection &sec = cast<OutputDesc>(cmd)->osec; in declareSymbols()
655 DenseMap<CachedHashStringRef, OutputDesc *> map; in processSectionCommands()
657 for (OutputDesc *osd : overwriteSections) { in processSectionCommands()
664 if (auto *osd = dyn_cast<OutputDesc>(base)) { in processSectionCommands()
666 if (OutputDesc *overwrite = map.lookup(CachedHashStringRef(osec->name))) { in processSectionCommands()
678 for (OutputDesc *osd : overwriteSections) in processSectionCommands()
702 for (SectionCommand *subCmd : cast<OutputDesc>(cmd)->osec.commands) in processSymbolAssignments()
713 if (auto *osd = dyn_cast<OutputDesc>(cmd)) in findByName()
719 static OutputDesc *createSection(InputSectionBase *isec, StringRef outsecName) { in createSection()
720 OutputDesc *osd = script->createOutputSection(outsecName, "<internal>"); in createSection()
725 static OutputDesc *addInputSec(StringMap<TinyPtrVector<OutputSection *>> &map, in addInputSec()
753 OutputDesc *osd = createSection(isec, outsecName); in addInputSec()
824 OutputDesc *osd = createSection(isec, outsecName); in addInputSec()
832 SmallVector<OutputDesc *, 0> v; in addOrphanSections()
844 if (OutputDesc *osd = addInputSec(map, s, name)) in addOrphanSections()
1182 if (!isa<OutputDesc>(cmd)) in adjustOutputSections()
1184 auto *sec = &cast<OutputDesc>(cmd)->osec; in adjustOutputSections()
1244 if (auto *osd = dyn_cast<OutputDesc>(cmd)) { in adjustSectionsAfterSorting()
1272 if (auto *osd = dyn_cast<OutputDesc>(cmd)) in adjustSectionsAfterSorting()
1369 assignOffsets(&cast<OutputDesc>(cmd)->osec); in assignAddresses()