Lines Matching refs:OutputDesc

133 OutputDesc *LinkerScript::createOutputSection(StringRef name,  in createOutputSection()
135 OutputDesc *&secRef = nameToOutputSection[CachedHashStringRef(name)]; in createOutputSection()
136 OutputDesc *sec; in createOutputSection()
141 sec = make<OutputDesc>(name, SHT_PROGBITS, 0); in createOutputSection()
149 OutputDesc *LinkerScript::getOrCreateOutputSection(StringRef name) { in getOrCreateOutputSection()
150 OutputDesc *&cmdRef = nameToOutputSection[CachedHashStringRef(name)]; in getOrCreateOutputSection()
152 cmdRef = make<OutputDesc>(name, SHT_PROGBITS, 0); in getOrCreateOutputSection()
282 for (SectionCommand *subCmd : cast<OutputDesc>(cmd)->osec.commands) in getSymbolAssignmentValues()
308 SmallVector<OutputDesc *, 0> moves; in processInsertCommands()
314 return isa<OutputDesc>(subCmd) && in processInsertCommands()
315 cast<OutputDesc>(subCmd)->osec.name == name; in processInsertCommands()
319 moves.push_back(cast<OutputDesc>(*from)); in processInsertCommands()
325 auto *to = dyn_cast<OutputDesc>(subCmd); in processInsertCommands()
355 const OutputSection &sec = cast<OutputDesc>(cmd)->osec; in declareSymbols()
648 DenseMap<CachedHashStringRef, OutputDesc *> map; in processSectionCommands()
650 for (OutputDesc *osd : overwriteSections) { in processSectionCommands()
657 if (auto *osd = dyn_cast<OutputDesc>(base)) { in processSectionCommands()
659 if (OutputDesc *overwrite = map.lookup(CachedHashStringRef(osec->name))) { in processSectionCommands()
671 for (OutputDesc *osd : overwriteSections) in processSectionCommands()
695 for (SectionCommand *subCmd : cast<OutputDesc>(cmd)->osec.commands) in processSymbolAssignments()
706 if (auto *osd = dyn_cast<OutputDesc>(cmd)) in findByName()
712 static OutputDesc *createSection(InputSectionBase *isec, StringRef outsecName) { in createSection()
713 OutputDesc *osd = script->createOutputSection(outsecName, "<internal>"); in createSection()
718 static OutputDesc *addInputSec(StringMap<TinyPtrVector<OutputSection *>> &map, in addInputSec()
746 OutputDesc *osd = createSection(isec, outsecName); in addInputSec()
817 OutputDesc *osd = createSection(isec, outsecName); in addInputSec()
825 SmallVector<OutputDesc *, 0> v; in addOrphanSections()
837 if (OutputDesc *osd = addInputSec(map, s, name)) in addOrphanSections()
1142 if (!isa<OutputDesc>(cmd)) in adjustOutputSections()
1144 auto *sec = &cast<OutputDesc>(cmd)->osec; in adjustOutputSections()
1196 if (auto *osd = dyn_cast<OutputDesc>(cmd)) { in adjustSectionsAfterSorting()
1224 if (auto *osd = dyn_cast<OutputDesc>(cmd)) in adjustSectionsAfterSorting()
1320 assignOffsets(&cast<OutputDesc>(cmd)->osec); in assignAddresses()