Re-commit "Split LinkerScript::createSections".
Re-commit r276543 with a fix for buildbots.
llvm-svn: 276693
diff --git a/lld/ELF/LinkerScript.h b/lld/ELF/LinkerScript.h
index c83dbf0..8f8b293 100644
--- a/lld/ELF/LinkerScript.h
+++ b/lld/ELF/LinkerScript.h
@@ -134,6 +134,9 @@
// "ScriptConfig" is a bit too long, so define a short name for it.
ScriptConfiguration &Opt = *ScriptConfig;
+ std::vector<OutputSectionBase<ELFT> *>
+ filter(std::vector<OutputSectionBase<ELFT> *> &Sections);
+
int getSectionIndex(StringRef Name);
std::vector<size_t> getPhdrIndices(StringRef SectionName);
void dispatchAssignment(SymbolAssignment *Cmd);