[PATCH] D47806: [WebAssembly] Add --export-all flag

Sam Clegg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 5 18:28:30 PDT 2018


sbc100 created this revision.
Herald added subscribers: llvm-commits, sunfish, aheejin, jgravelle-google, dschuff.

This causes all symbols to be exported in the final wasm binary
even if they were not compiled with default visibility.

This feature is useful for the emscripten toolchain that has a
corresponding EXPORT_ALL feature which allows the JS code to
interact with all C function.


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D47806

Files:
  test/wasm/demangle.ll
  test/wasm/export-all.ll
  wasm/Config.h
  wasm/Driver.cpp
  wasm/Options.td
  wasm/Writer.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47806.150061.patch
Type: text/x-patch
Size: 3361 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180606/420e9327/attachment.bin>


More information about the llvm-commits mailing list