[PATCH] D57874: [WebAssembly] Set '-matomics' when '-pthread' is set

Derek Schuff via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 7 10:46:26 PST 2019


dschuff added a comment.

Oh I guess another option would just be to pin all 3 flags together here, but since `-pthread` sets a preprocessor define and may also affect linker behavior, I think it's fine to allow atomic codegen without setting `-pthread`.


Repository:
  rC Clang

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D57874/new/

https://reviews.llvm.org/D57874





More information about the cfe-commits mailing list