summaryrefslogtreecommitdiffstats
path: root/lld/include/lld
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/include/lld
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/include/lld')
-rw-r--r--lld/include/lld/Common/Driver.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lld/include/lld/Common/Driver.h b/lld/include/lld/Common/Driver.h
index dee46f808b1..15ec3cd44cb 100644
--- a/lld/include/lld/Common/Driver.h
+++ b/lld/include/lld/Common/Driver.h
@@ -33,6 +33,11 @@ namespace mach_o {
bool link(llvm::ArrayRef<const char *> Args,
llvm::raw_ostream &Diag = llvm::errs());
}
+
+namespace wasm {
+bool link(llvm::ArrayRef<const char *> Args, bool CanExitEarly,
+ llvm::raw_ostream &Diag = llvm::errs());
+}
}
#endif
OpenPOWER on IntegriCloud