summaryrefslogtreecommitdiffstats
path: root/lld/wasm/Writer.h
diff options
context:
space:
mode:
authorSam Clegg <sbc@chromium.org>2017-11-17 18:14:09 +0000
committerSam Clegg <sbc@chromium.org>2017-11-17 18:14:09 +0000
commitc94d393ad52b6698b15400ee7a33a68b4bda274b (patch)
tree2609add8ef4574c40a55c0604abd6a98d6e4857a /lld/wasm/Writer.h
parentae304b07176190a69853d3430c7206146ac8d0e6 (diff)
downloadbcm5719-llvm-c94d393ad52b6698b15400ee7a33a68b4bda274b.tar.gz
bcm5719-llvm-c94d393ad52b6698b15400ee7a33a68b4bda274b.zip
[WebAssembly] Initial wasm linker implementation
This linker backend is still a work in progress but is enough to link simple programs including linking against library archives. Differential Revision: https://reviews.llvm.org/D34851 llvm-svn: 318539
Diffstat (limited to 'lld/wasm/Writer.h')
-rw-r--r--lld/wasm/Writer.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/lld/wasm/Writer.h b/lld/wasm/Writer.h
new file mode 100644
index 00000000000..a931ba9c29a
--- /dev/null
+++ b/lld/wasm/Writer.h
@@ -0,0 +1,21 @@
+//===- Writer.h -------------------------------------------------*- C++ -*-===//
+//
+// The LLVM Linker
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLD_WASM_WRITER_H
+#define LLD_WASM_WRITER_H
+
+namespace lld {
+namespace wasm {
+
+void writeResult();
+
+} // namespace wasm
+} // namespace lld
+
+#endif
OpenPOWER on IntegriCloud