sbc100 added inline comments.
================
Comment at: clang/lib/Basic/Targets/WebAssembly.cpp:260
+ if (!HasAtomics) {
+ Opts.POSIXThreads = false;
+ Opts.setThreadModel(LangOptions::ThreadModelKind::Single);
----------------
POSIXThreads already defaults to false I think. It gets set if the user
specified `-pthread` on the command line I think. I think there should be no
need to override it.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D96091/new/
https://reviews.llvm.org/D96091
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits