diff options
author | Sam Clegg <sbc@chromium.org> | 2017-11-17 18:14:09 +0000 |
---|---|---|
committer | Sam Clegg <sbc@chromium.org> | 2017-11-17 18:14:09 +0000 |
commit | c94d393ad52b6698b15400ee7a33a68b4bda274b (patch) | |
tree | 2609add8ef4574c40a55c0604abd6a98d6e4857a /lld/include/lld | |
parent | ae304b07176190a69853d3430c7206146ac8d0e6 (diff) | |
download | bcm5719-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.h | 5 |
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 |