summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lld/ELF/LinkerScript.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/lld/ELF/LinkerScript.h b/lld/ELF/LinkerScript.h
index 4cb9e99f52e..b236fe0efac 100644
--- a/lld/ELF/LinkerScript.h
+++ b/lld/ELF/LinkerScript.h
@@ -20,6 +20,7 @@
namespace lld {
namespace elf {
+class ScriptParser;
class SymbolBody;
template <class ELFT> class InputSectionBase;
template <class ELFT> class OutputSectionBase;
@@ -33,10 +34,6 @@ typedef std::function<uint64_t(uint64_t)> Expr;
// Config and ScriptConfig.
void readLinkerScript(MemoryBufferRef MB);
-class ScriptParser;
-template <class ELFT> class InputSectionBase;
-template <class ELFT> class OutputSectionBase;
-
// This enum is used to implement linker script SECTIONS command.
// https://sourceware.org/binutils/docs/ld/SECTIONS.html#SECTIONS
enum SectionsCommandKind {
OpenPOWER on IntegriCloud