[PATCH] D62443: [WebAssembly] Move Emscripten-specific behavior under a --emscripten flag

Dan Gohman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 28 11:54:11 PDT 2019


sunfish updated this revision to Diff 201735.
sunfish added a comment.

This patch now depends on a corresponding LLVM patch: https://reviews.llvm.org/D62542

This new patch reverts the change to --export-dynamic, to address review feedback. So now, this patch just:

- Makes __data_end and __heap_base hidden, so that they're not automatically exported if they're just used.
- Adds --emscripten to enable Emscripten compatibility mode, and restricts -shared and -pie to --emscripten mode.
- Adds support for the IMPLICITLY_USED flag added in D62542 <https://reviews.llvm.org/D62542>.


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D62443/new/

https://reviews.llvm.org/D62443

Files:
  docs/ReleaseNotes.rst
  docs/WebAssembly.rst
  test/wasm/alias.ll
  test/wasm/archive-export.ll
  test/wasm/call-indirect.ll
  test/wasm/comdats.ll
  test/wasm/cxx-mangling.ll
  test/wasm/data-layout.ll
  test/wasm/entry.ll
  test/wasm/export.ll
  test/wasm/local-symbols.ll
  test/wasm/locals-duplicate.test
  test/wasm/lto/export.ll
  test/wasm/pie.ll
  test/wasm/shared-needed.ll
  test/wasm/shared.ll
  test/wasm/stack-first.test
  test/wasm/undefined-data.ll
  test/wasm/undefined-weak-call.ll
  test/wasm/visibility-hidden.ll
  test/wasm/weak-alias-overide.ll
  test/wasm/weak-alias.ll
  test/wasm/weak-symbols.ll
  test/wasm/weak-undefined.ll
  wasm/Config.h
  wasm/Driver.cpp
  wasm/LTO.cpp
  wasm/MarkLive.cpp
  wasm/Options.td
  wasm/Symbols.cpp
  wasm/Symbols.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62443.201735.patch
Type: text/x-patch
Size: 47182 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190528/7abe71bb/attachment-0001.bin>


More information about the llvm-commits mailing list