diff options
author | dim <dim@FreeBSD.org> | 2015-09-22 17:34:51 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2015-09-22 17:34:51 +0000 |
commit | 4ddf2ffb8601500c8539027a938565d6bb39a9c7 (patch) | |
tree | 9171ad3c31621914a6d38df1554a76ccca734c7f /contrib/llvm/tools/clang/lib/CodeGen/CGAtomic.cpp | |
parent | 6acc55879cc5243a86ccf96b8495b26a1f2fa961 (diff) | |
download | FreeBSD-src-4ddf2ffb8601500c8539027a938565d6bb39a9c7.zip FreeBSD-src-4ddf2ffb8601500c8539027a938565d6bb39a9c7.tar.gz |
Work around clang emitting libcalls to __atomic_add_fetch() and friends
in libc++, on __ARM_ARCH < 6. Additionally, supply the missing stub
__libcpp_relaxed_store(), as proposed in http://reviews.llvm.org/D13051
NOTE: this needs to be fixed properly later on, by supplying library
functions implementing atomic operations for arm < v6. We should
probably take those from sys/arm/arm/stdatomic.c, and stuff them into
either libgcc or compiler-rt.
Diffstat (limited to 'contrib/llvm/tools/clang/lib/CodeGen/CGAtomic.cpp')
0 files changed, 0 insertions, 0 deletions