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

Nicholas Wilson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 27 11:08:40 PDT 2018


ncw added a comment.

How about we do the multi-stage thing:

1. LLD should output two exports for the linear memory - `__linear_memory` and `memory`.
2. Then Emscripten switches over to using `__linear_memory` at its leisure
3. Finally we tidy up the unused `memory` export

Would you accept/approve a patch to add the `__linear_memory` export (without removing `memory`) on the understanding that `memory` is deprecated?

Otherwise this is just going to stagnate forever...


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D43675





More information about the llvm-commits mailing list