[PATCH] D64950: [WebAssembly] Use passive segments by default when memory is shared

Thomas Lively via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 18 14:10:03 PDT 2019


tlively created this revision.
tlively added reviewers: sbc100, quantum.
Herald added subscribers: llvm-commits, jfb, sunfish, aheejin, jgravelle-google, dschuff.
Herald added a project: LLVM.

This change makes it so that passing --shared-memory is all a user
needs to do to get proper multithreaded code. This default can still
be explicitly overridden for any reason using --passive-segments and
--active-segments.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D64950

Files:
  lld/test/wasm/data-layout.ll
  lld/test/wasm/data-segments.ll
  lld/test/wasm/import-memory.test
  lld/test/wasm/shared-memory.yaml
  lld/test/wasm/tls.ll
  lld/wasm/Driver.cpp
  lld/wasm/Options.td

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D64950.210668.patch
Type: text/x-patch
Size: 8181 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190718/28784677/attachment.bin>


More information about the llvm-commits mailing list