]> granicus.if.org Git - clang/commit
[WebAssembly] Make pthread imply bulk-memory, mutable-globals
authorThomas Lively <tlively@google.com>
Fri, 12 Jul 2019 18:23:13 +0000 (18:23 +0000)
committerThomas Lively <tlively@google.com>
Fri, 12 Jul 2019 18:23:13 +0000 (18:23 +0000)
commit03563a98ef9193d8fd997f4b0f71fb46b02ba8c6
tree25be875804c4763e53882e44245d064aa4996676
parent8d2441962a9e3f4a0cce1eb282244ba52a588301
[WebAssembly] Make pthread imply bulk-memory, mutable-globals

Summary:
This paves the way for using passive segments in pthread builds, which
will make separate memory files unnecessary. Mutable globals are also
necessary for the upcoming implementation of TLS.

Reviewers: aheejin, dschuff

Subscribers: sbc100, jgravelle-google, sunfish, jfb, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D64586

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@365935 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/ToolChains/WebAssembly.cpp
test/Driver/wasm-toolchain.c