svn commit: r288121 - projects/clang370-import/contrib/libc++/src/support

Andrew Turner andrew at fubar.geek.nz
Tue Sep 22 19:02:07 UTC 2015


On Tue, 22 Sep 2015 17:34:51 +0000 (UTC)
Dimitry Andric <dim at FreeBSD.org> wrote:

> Author: dim
> Date: Tue Sep 22 17:34:51 2015
> New Revision: 288121
> URL: https://svnweb.freebsd.org/changeset/base/288121
> 
> Log:
>   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.

We already pull it into compiler-rt, that's how we get the other
__atomic_* functions on arm < v6.

Andrew


More information about the svn-src-projects mailing list