[PATCH] D59281: [WebAssembly] "atomics" feature implies shared memory

Thomas Lively via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 12 17:43:00 PDT 2019


tlively created this revision.
tlively added reviewers: sbc100, aheejin.
Herald added subscribers: llvm-commits, jfb, sunfish, jgravelle-google, dschuff.
Herald added a project: LLVM.
tlively added a parent revision: D59274: [WebAssembly] Add linker options to control feature checking.

Use shared memory if the "atomics" feature is used. Also check that an
appropriate max memory size is supplied if shared memory is used to
avoid producing invalid modules.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D59281

Files:
  lld/test/wasm/shared-memory.yaml
  lld/wasm/Writer.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D59281.190366.patch
Type: text/x-patch
Size: 4391 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190313/e6f8ca71/attachment.bin>


More information about the llvm-commits mailing list