Commit 2145054
committed
[libc++] decoupling Freestanding atomic<T> from libatomic.a
This patch introduces non-lockfree atomics that do not require using
an external libatomic. This work is done with the long-term goal of
allowing the use of <atomic> in freestanding environments.
Thanks to Olivier Giroux for the patch.
Differential Revision: https://reviews.llvm.org/D56913
llvm-svn: 3553181 parent 881e83d commit 2145054
2 files changed
+759
-240
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
41 | 45 | | |
42 | 46 | | |
43 | 47 | | |
| |||
1220 | 1224 | | |
1221 | 1225 | | |
1222 | 1226 | | |
1223 | | - | |
| 1227 | + | |
| 1228 | + | |
| 1229 | + | |
1224 | 1230 | | |
1225 | | - | |
| 1231 | + | |
| 1232 | + | |
| 1233 | + | |
| 1234 | + | |
| 1235 | + | |
| 1236 | + | |
| 1237 | + | |
| 1238 | + | |
1226 | 1239 | | |
1227 | 1240 | | |
1228 | 1241 | | |
| |||
0 commit comments