llvm-project/libcxx
Kuba Brecka 224264ade0 [libcxx] Fix a data race in call_once
call_once is using relaxed atomic load to perform double-checked locking, which contains a data race. The fast-path load has to be an acquire atomic load.

Differential Revision: https://reviews.llvm.org/D24028

llvm-svn: 280621
2016-09-04 09:55:12 +00:00
..
benchmarks Turn On -DLIBCXX_ENABLE_BENCHMARKS by default. 2016-08-29 19:50:49 +00:00
cmake [CMake] NFC. Missed the other uses in r280406 2016-09-01 19:47:39 +00:00
docs Turn On -DLIBCXX_ENABLE_BENCHMARKS by default. 2016-08-29 19:50:49 +00:00
include [libcxx] Fix a data race in call_once 2016-09-04 09:55:12 +00:00
lib build: don't add -fPIC on Windows 2016-09-01 20:49:54 +00:00
src [libcxx] Fix a data race in call_once 2016-09-04 09:55:12 +00:00
test Apply curr_symbol.pass.cpp test fix to missed test case 2016-09-04 04:09:25 +00:00
utils Update Google Benchmark library. 2016-08-29 19:12:01 +00:00
www Mark LWG 2716 as complete - shuffle and sample disallows lvalue URNGs. 2016-08-28 21:55:00 +00:00
.arcconfig Upgrade arcconfig to use https 2016-07-18 02:02:49 +00:00
.gitignore Add MSVC specifics to .gitignore. Patch from STL@microsoft.com 2016-08-03 05:51:19 +00:00
CMakeLists.txt Fix or suppress GCC warnings during build. 2016-08-29 20:43:38 +00:00
CREDITS.TXT Add entry to CREDITS.TXT for propagate_const 2016-06-19 19:36:28 +00:00
LICENSE.TXT Update copyright year to 2016. 2016-03-30 22:39:53 +00:00
TODO.TXT Test commit to see if libcxx.llvm.org/docs builds 2015-09-04 22:57:00 +00:00