[WebAssembly] Temporarily disable bulk-memory with -pthread
authorThomas Lively <tlively@google.com>
Sat, 2 Mar 2019 00:18:09 +0000 (00:18 +0000)
committerThomas Lively <tlively@google.com>
Sat, 2 Mar 2019 00:18:09 +0000 (00:18 +0000)
commit70f5fc13691d503df28f885f8742f30d83a83307
tree54162868c03d4f554ae133d98b3d7adeafd8d259
parentf5a8c28e7e28e0969e7e9608487ab5a061379393
[WebAssembly] Temporarily disable bulk-memory with -pthread

Summary:
To prevent the instability of bulk-memory in the wasm backend from
blocking separate pthread testing, temporarily remove the logic that
adds -mbulk-memory in the presence of -pthread. Since browsers will
ship bulk memory before or alongside threads, this change will be
reverted as soon as bulk memory has stabilized in the backend.

Reviewers: sbc100

Subscribers: dschuff, jgravelle-google, aheejin, sunfish, jfb, cfe-commits

Tags: #clang

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

llvm-svn: 355248
clang/lib/Driver/ToolChains/WebAssembly.cpp
clang/test/Driver/wasm-toolchain.c
clang/test/Preprocessor/wasm-target-features.c