• Home
  • History
  • Annotate
  • only in /external/libcxx/test/atomics/atomics.flag/
History log of /external/libcxx/test/atomics/atomics.flag/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
6f56ab789cb470620554d624c37f488285b3b04e 06-May-2014 Dan Albert <danalbert@google.com> Adds a basic test wrapper for Android

To run libc++ tests:
$ mm
$ adb sync
$ python runtests.py # runs all host and device tests
# see main() for command line options

To regenerate all makefiles:
$ python makemake.py

Change-Id: Ibad78ad8e1bd45f32730d281afa53c2cec55478f
ndroid.mk
74f4da7219100afcff4baab33d12910d29eb127e 02-May-2013 Howard Hinnant <hhinnant@apple.com> Stephan Tolksdorf: fixes the issue in the <atomic> header and adds corresponding tests. I've used macros to fall back to a user-provided default constructor if _LIBCPP_HAS_NO_DEFAULTED_FUNCTIONS (though I suspect that there won't be many users defining that macro).

The tests use placement new to check that atomic values get properly zero-initialized. I had to modify the atomic_is_lock_free test, because default initialization of an object of const type 'const A' (aka 'const atomic<int>') requires a user-provided default constructor.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@180945 91177308-0d34-0410-b5e6-96231b3b80d8
efault.pass.cpp
b64f8b07c104c6cc986570ac8ee0ed16a9f23976 16-Nov-2010 Howard Hinnant <hhinnant@apple.com> license change

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@119395 91177308-0d34-0410-b5e6-96231b3b80d8
tomic_flag_clear.pass.cpp
tomic_flag_clear_explicit.pass.cpp
tomic_flag_test_and_set.pass.cpp
tomic_flag_test_and_set_explicit.pass.cpp
lear.pass.cpp
opy_assign.fail.cpp
opy_ctor.fail.cpp
opy_volatile_assign.fail.cpp
efault.pass.cpp
nit.pass.cpp
est_and_set.pass.cpp
611fdaf2290948d7359836520802b4ce8dfad0e1 04-Oct-2010 Howard Hinnant <hhinnant@apple.com> Still working on the basic design of <atomic>. I'm working towards a system by which the compiler only needs to define the strongest intrinsics it can. Weaker atomics in the library automatically try stronger and stronger variants, picking the weakest compiler intrinsic available. If no compiler intrinsics are available for a given operation, the library locks a mutex and does the job. Better documentation to follow...

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@115538 91177308-0d34-0410-b5e6-96231b3b80d8
tomic_flag_clear_explicit.pass.cpp
lear.pass.cpp
79101aec3ad3070ad1378ca1450b72edf8ed67da 30-Sep-2010 Howard Hinnant <hhinnant@apple.com> [atomics.flag] completed. Initialization is not working on clang and can't be made to work without defaulted default constructors.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@115207 91177308-0d34-0410-b5e6-96231b3b80d8
tomic_flag_clear.pass.cpp
tomic_flag_clear_explicit.pass.cpp
tomic_flag_test_and_set.pass.cpp
tomic_flag_test_and_set_explicit.pass.cpp
lear.pass.cpp
opy_assign.fail.cpp
opy_ctor.fail.cpp
opy_volatile_assign.fail.cpp
efault.pass.cpp
nit.pass.cpp
est_and_set.pass.cpp
767ae2b483cad62b360a9ce55348d20fdfd5770a 29-Sep-2010 Howard Hinnant <hhinnant@apple.com> Contemplating this <atomic> reorganization...

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@115087 91177308-0d34-0410-b5e6-96231b3b80d8
est_and_set.pass.cpp
c260b063667d18cc6b66080149745202fe69dad0 29-Sep-2010 Howard Hinnant <hhinnant@apple.com> Didn't mean to commit that one

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@115058 91177308-0d34-0410-b5e6-96231b3b80d8
est_and_set.pass.s
ed760f40b7a6eb817f3804ccf052c7641bea155c 29-Sep-2010 Howard Hinnant <hhinnant@apple.com> Wrestling with the slowly dawning realization that <atomic> isn't implementable on any compiler at my disposal...

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@115054 91177308-0d34-0410-b5e6-96231b3b80d8
est_and_set.pass.cpp
est_and_set.pass.s