Lines Matching defs:osd
761 for (OutputDesc *osd : overwriteSections) {
762 OutputSection *osec = &osd->osec;
764 !map.try_emplace(CachedHashStringRef(osec->name), osd).second)
768 if (auto *osd = dyn_cast<OutputDesc>(base)) {
769 OutputSection *osec = &osd->osec;
802 auto *osd = dyn_cast<OutputDesc>(base);
803 if (!osd)
805 OutputSection *os = &osd->osec;
825 for (OutputDesc *osd : overwriteSections)
826 if (osd->osec.partition == 1 && osd->osec.sectionIndex == UINT32_MAX)
827 sectionCommands.push_back(osd);
863 else if (auto *osd = dyn_cast<OutputDesc>(cmd))
864 for (SectionCommand *subCmd : osd->osec.commands)
875 if (auto *osd = dyn_cast<OutputDesc>(cmd))
876 if (osd->osec.name == name)
877 return &osd->osec;
883 OutputDesc *osd = ctx.script->createOutputSection(outsecName, "<internal>");
884 osd->osec.recordSection(isec);
885 return osd;
916 OutputDesc *osd = createSection(ctx, isec, outsecName);
917 out->relocationSection = &osd->osec;
918 return osd;
987 OutputDesc *osd = createSection(ctx, isec, outsecName);
988 v.push_back(&osd->osec);
989 return osd;
1007 if (OutputDesc *osd = addInputSec(ctx, map, s, name))
1008 v.push_back(osd);
1414 if (auto *osd = dyn_cast<OutputDesc>(cmd)) {
1415 OutputSection *sec = &osd->osec;
1443 if (auto *osd = dyn_cast<OutputDesc>(cmd))
1444 maybePropagatePhdrs(osd->osec, defPhdrs);
1564 auto *osd = dyn_cast<OutputDesc>(cmd);
1565 if (!osd)
1567 OutputSection *osec = &osd->osec;