[PATCH] D41922: [WebAssembly] When loading libraries look for companion `.imports` file
Nicholas Wilson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 29 13:27:23 PST 2018
ncw added a comment.
In https://reviews.llvm.org/D41922#991090, @sbc100 wrote:
> From my POV, I've very keen on the vanilla out-of-the-box clang "just working", and not have to rely on a higher level or external toolchain drivers. I would love just to be able to do "wasm-clang hello.c -o hello.wasm" and have it produce something usable.
Me too! I don't think that the Wasm output should need any post-processing at all. The only tool I want really is to act as a JavaScript "linker" to build the JavaScript module, that calls the Wasm module, and exposes a higher-level API on top of the C-level provided by the Wasm exports. For the moment, that does need an extra tool to build.
Repository:
rLLD LLVM Linker
https://reviews.llvm.org/D41922
More information about the llvm-commits
mailing list