aboutsummaryrefslogtreecommitdiff
path: root/ELF/ScriptParser.h
diff options
context:
space:
mode:
Diffstat (limited to 'ELF/ScriptParser.h')
-rw-r--r--ELF/ScriptParser.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/ELF/ScriptParser.h b/ELF/ScriptParser.h
index 02f3a2bd9d2c..d48d5aa2115e 100644
--- a/ELF/ScriptParser.h
+++ b/ELF/ScriptParser.h
@@ -10,7 +10,7 @@
#ifndef LLD_ELF_SCRIPT_PARSER_H
#define LLD_ELF_SCRIPT_PARSER_H
-#include "lld/Core/LLVM.h"
+#include "lld/Common/LLVM.h"
#include "llvm/Support/MemoryBuffer.h"
namespace lld {
@@ -25,6 +25,9 @@ void readVersionScript(MemoryBufferRef MB);
void readDynamicList(MemoryBufferRef MB);
+// Parses the defsym expression.
+void readDefsym(StringRef Name, MemoryBufferRef MB);
+
} // namespace elf
} // namespace lld