[all-commits] [llvm/llvm-project] 95da64: [WebAssembly] Use single-threaded mode when -matom...
Dan Gohman via All-commits
all-commits at lists.llvm.org
Thu Feb 4 18:17:26 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 95da64da23ac3a5855a8934a738b0fa10aa1323c
https://github.com/llvm/llvm-project/commit/95da64da23ac3a5855a8934a738b0fa10aa1323c
Author: Dan Gohman <dev at sunfishcode.online>
Date: 2021-02-04 (Thu, 04 Feb 2021)
Changed paths:
M clang/lib/Basic/Targets/WebAssembly.cpp
M clang/lib/Basic/Targets/WebAssembly.h
M clang/test/Preprocessor/init.c
Log Message:
-----------
[WebAssembly] Use single-threaded mode when -matomics isn't enabled.
When the -matomics feature is not enabled, disable POSIXThreads
mode and set the thread model to Single, so that we don't predefine
macros like `__STDCPP_THREADS__`.
Differential Revision: https://reviews.llvm.org/D96091
More information about the All-commits
mailing list