summaryrefslogtreecommitdiff
path: root/lib/builtins/atomic_thread_fence.c
AgeCommit message (Collapse)Author
2015-09-22[builtins] One more stab at fixing the bots.Chris Bieneman
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@248330 91177308-0d34-0410-b5e6-96231b3b80d8
2015-09-22[builtins] Fixing atomic builtins to be compiled out if stdatomic.h isn't ↵Chris Bieneman
available. This should fix the bots broken by r248322. Reviewed by bogner over my shoulder. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@248328 91177308-0d34-0410-b5e6-96231b3b80d8
2015-05-08builtins: Implement the functions from stdatomic.hJustin Bogner
Talking to John and Doug, we concluded that these functions from stdatomic really do belong here in compiler-rt rather than in libc, since the compiler owns stdatomic.h and these need to refer to clang-specific builtins. Nonetheless, I've only added these on darwin for now - other platforms should probably do the same unless their libc does implement these functions. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@236805 91177308-0d34-0410-b5e6-96231b3b80d8