Partially revert r288121, removing the workaround for arm < v6. Since
r288125, the required atomic library calls are available in compiler-rt. The added stub for __libcpp_relaxed_store() can stay as a fallback; I have also committed it upstream.
This commit is contained in:
parent
5e9fd86be6
commit
eebb6d6061
@ -13,8 +13,7 @@
|
||||
&& defined(__ATOMIC_ACQUIRE) \
|
||||
&& defined(__ATOMIC_RELEASE) \
|
||||
&& defined(__ATOMIC_ACQ_REL) \
|
||||
&& defined(__ATOMIC_SEQ_CST) \
|
||||
&& defined(__ARM_ARCH) && __ARM_ARCH >= 6
|
||||
&& defined(__ATOMIC_SEQ_CST)
|
||||
# define _LIBCPP_HAS_ATOMIC_BUILTINS
|
||||
#elif !defined(__clang__) && defined(_GNUC_VER) && _GNUC_VER >= 407
|
||||
# define _LIBCPP_HAS_ATOMIC_BUILTINS
|
||||
|
Loading…
Reference in New Issue
Block a user