[PATCH] D43675: [WebAssembly] Rename imported/exported memory symbol to __linear_memory

Dan Gohman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 23 09:09:18 PST 2018


sunfish added a comment.

I'm not very familiar with the Emscripten parts of this, but some grepping in the emscripten tree found these lines:

  src/preamble.js:    env['memory'] = Module['wasmMemory'];
  src/preamble.js:    env['memory'] = providedBuffer;
  src/preamble.js:    assert(env['memory'] instanceof ArrayBuffer);


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D43675





More information about the llvm-commits mailing list