WebAssembly / lld

Staging repository for upstreaming WebAssembly support into lld
Other
10 stars 10 forks source link

Import table #10

Open caspervonb opened 7 years ago

caspervonb commented 7 years ago

Not sure if this is the right solution as the linkage evolves further but currently there is no way to share tables between JavaScript and WebAssembly when using llvm/clang with webassembly/lld, thus dealing with function pointers in JavaScript is non-trivial.

Quick fix would be to allow importing the same way as memory is currently done, e.g add a --import-table option.