Lines Matching refs:SectionCommand
274 for (SectionCommand *cmd : script->sectionCommands) in findSection()
721 for (SectionCommand *cmd : script->sectionCommands) { in addSectionSymbols()
729 for (SectionCommand *cmd : osec.commands) { in addSectionSymbols()
995 static bool compareSections(const SectionCommand *aCmd, in compareSections()
996 const SectionCommand *bCmd) { in compareSections()
1133 static int getRankProximity(OutputSection *a, SectionCommand *b) { in getRankProximity()
1154 static bool shouldSkip(SectionCommand *cmd) { in shouldSkip()
1163 static SmallVectorImpl<SectionCommand *>::iterator
1164 findOrphanPos(SmallVectorImpl<SectionCommand *>::iterator b, in findOrphanPos()
1165 SmallVectorImpl<SectionCommand *>::iterator e) { in findOrphanPos()
1169 auto i = std::max_element(b, e, [=](SectionCommand *a, SectionCommand *b) { in findOrphanPos()
1198 auto isOutputSecWithInputSections = [](SectionCommand *cmd) { in findOrphanPos()
1414 for (SectionCommand *b : osec.commands) in sortSection()
1447 for (SectionCommand *cmd : script->sectionCommands) in sortInputSections()
1464 for (SectionCommand *cmd : script->sectionCommands) in sortSections()
1469 auto isSection = [](SectionCommand *cmd) { return isa<OutputDesc>(cmd); }; in sortSections()
1525 auto nonScriptI = std::find_if(i, e, [](SectionCommand *cmd) { in sortSections()
1539 std::find_if(i, e, [](SectionCommand *cmd) { return !shouldSkip(cmd); }); in sortSections()
1552 auto end = std::find_if(nonScriptI + 1, e, [=](SectionCommand *cmd) { in sortSections()
1593 for (SectionCommand *cmd : sec->commands) { in resolveShfLinkOrder()
1706 for (SectionCommand *cmd : script->sectionCommands) in finalizeAddressDependentContent()
1839 for (SectionCommand *cmd : osec->commands) in removeUnusedSyntheticSections()
1860 for (SectionCommand *cmd : script->sectionCommands) in finalizeSections()
2029 for (SectionCommand *cmd : script->sectionCommands) in finalizeSections()