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

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 6 18:16:31 PDT 2018


ruiu added inline comments.


================
Comment at: wasm/Writer.cpp:757
     } else if (auto *G = dyn_cast<DefinedGlobal>(Sym)) {
+      // Cannot yet export mutable globals
+      if (G->getGlobalType()->Mutable)
----------------
Why? I'd expand this comment a bit so that it includes the background and a future plan.


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D47806





More information about the llvm-commits mailing list