Factor out placeOrphanSections. NFC.
llvm-svn: 286824
diff --git a/lld/ELF/LinkerScript.h b/lld/ELF/LinkerScript.h
index 1840978..3056ae9 100644
--- a/lld/ELF/LinkerScript.h
+++ b/lld/ELF/LinkerScript.h
@@ -229,6 +229,7 @@
bool hasLMA(StringRef Name);
bool shouldKeep(InputSectionBase<ELFT> *S);
void assignOffsets(OutputSectionCommand *Cmd);
+ void placeOrphanSections();
void assignAddresses(std::vector<PhdrEntry<ELFT>> &Phdrs);
bool hasPhdrsCommands();
uint64_t getOutputSectionAddress(StringRef Name) override;