[PATCH] D34918: [libc++] Avoid atomic built-ins for NO_THREADS build
Weiming Zhao via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 5 11:51:32 PDT 2017
weimingz added a comment.
How about we use "#ifdef __GCC_ATOMIC_POINTER_LOCK_FREE < 2 && __LIBCPP_HAS_NO_THREAD" ?
This can minimize the impact.
Repository:
rL LLVM
https://reviews.llvm.org/D34918
More information about the llvm-commits
mailing list