summaryrefslogtreecommitdiffstats
path: root/lld/ELF/ScriptParser.h
diff options
context:
space:
mode:
authorPetr Hosek <phosek@chromium.org>2017-11-04 02:03:58 +0000
committerPetr Hosek <phosek@chromium.org>2017-11-04 02:03:58 +0000
commit8c7e8cce991739077ae7cd2f888457ec7cba6aa4 (patch)
treef0cbfbcde5a3f9628ecb1a8d5bc852e1a9055d5f /lld/ELF/ScriptParser.h
parent39770ca0a11c4cd19c38f51a1ffda6b07ab8b90d (diff)
downloadbcm5719-llvm-8c7e8cce991739077ae7cd2f888457ec7cba6aa4.tar.gz
bcm5719-llvm-8c7e8cce991739077ae7cd2f888457ec7cba6aa4.zip
[ELF] Support expressions with -defsym option
Fixes PR34948. Differential Revision: https://reviews.llvm.org/D39511 llvm-svn: 317396
Diffstat (limited to 'lld/ELF/ScriptParser.h')
-rw-r--r--lld/ELF/ScriptParser.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lld/ELF/ScriptParser.h b/lld/ELF/ScriptParser.h
index f820044cc58..d48d5aa2115 100644
--- a/lld/ELF/ScriptParser.h
+++ b/lld/ELF/ScriptParser.h
@@ -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
OpenPOWER on IntegriCloud