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
977b468e25
commit
8c4d4936be
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/projects/clang370-import/; revision=288130
@ -13,8 +13,7 @@
|
|||||||
&& defined(__ATOMIC_ACQUIRE) \
|
&& defined(__ATOMIC_ACQUIRE) \
|
||||||
&& defined(__ATOMIC_RELEASE) \
|
&& defined(__ATOMIC_RELEASE) \
|
||||||
&& defined(__ATOMIC_ACQ_REL) \
|
&& defined(__ATOMIC_ACQ_REL) \
|
||||||
&& defined(__ATOMIC_SEQ_CST) \
|
&& defined(__ATOMIC_SEQ_CST)
|
||||||
&& defined(__ARM_ARCH) && __ARM_ARCH >= 6
|
|
||||||
# define _LIBCPP_HAS_ATOMIC_BUILTINS
|
# define _LIBCPP_HAS_ATOMIC_BUILTINS
|
||||||
#elif !defined(__clang__) && defined(_GNUC_VER) && _GNUC_VER >= 407
|
#elif !defined(__clang__) && defined(_GNUC_VER) && _GNUC_VER >= 407
|
||||||
# define _LIBCPP_HAS_ATOMIC_BUILTINS
|
# define _LIBCPP_HAS_ATOMIC_BUILTINS
|
||||||
|
Loading…
Reference in New Issue
Block a user