| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
The second part of the test checks that std::terminate is called when a running
thread is move assigned to. Calling std::terminate prevents some of the destructors
to be called and ASAN fires on this.
llvm-svn: 222076
|
|
|
|
| |
llvm-svn: 221275
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
This patch is very closely related to D4859. Please see http://reviews.llvm.org/D4859 for more information.
This patch adds support for "fancy" pointers and allocators to promise and packaged_task. The changes made to support this are exactly the same as in D4859.
Test Plan: "fancy" pointer tests were added to each constructor affected by the change.
Reviewers: danalbert, mclow.lists
Reviewed By: mclow.lists
Subscribers: cfe-commits
Differential Revision: http://reviews.llvm.org/D4862
llvm-svn: 220471
|
|
|
|
|
|
|
|
|
|
| |
If you're crazy enough to want this sort of thing, then add
-D_LIBCPP_HAS_NO_THREADS to your CXXFLAGS and
--param=additiona_features=libcpp-has-no-threads to your lit commnad line.
http://reviews.llvm.org/D3969
llvm-svn: 217271
|
|
|
|
|
|
|
|
|
|
| |
Signals may result in nanosleep returning with only some of the
requested sleeping performed.
Utilize nanosleep's "time-remaining" out parameter to continue sleeping
when this occurs.
llvm-svn: 210210
|
|
|
|
|
|
|
| |
The XFAILs in r208840 were too general. They were meant to only apply
to testing when use_system_lib was set.
llvm-svn: 209972
|
|
|
|
|
|
|
|
|
| |
When testing against the system library, there is a relatively minor
ABI breakage that the std::future_errc values have been changed to
avoid using zero. Update the tests that rely on the values being
consistent.
llvm-svn: 208840
|
|
|
|
| |
llvm-svn: 205709
|
|
|
|
|
|
| |
#2135. No library changes here.
llvm-svn: 204777
|
|
|
|
|
|
| |
from deferred functions. This is LWG issue #2186. No change to the library needed.
llvm-svn: 204678
|
|
|
|
|
|
|
|
|
|
| |
This is as straightforward as it sounds, a renamed from shared_mutex to
shared_timed_mutex.
Note that libcxx .dylib and .so files built with c++14 support need to
be rebuilt.
llvm-svn: 204078
|
|
|
|
|
|
| |
produces a minimal value. This enables this test to pass on andriod arm.
llvm-svn: 200793
|
|
|
|
|
|
| |
functionality change. Fixes 18291. Thanks to Nico for the bug report and the patch.
llvm-svn: 199400
|
|
|
|
|
|
| |
report and the patch.
llvm-svn: 197921
|
|
|
|
| |
llvm-svn: 192544
|
|
|
|
| |
llvm-svn: 191127
|
|
|
|
|
|
| |
(invalid value for broken_promise).
llvm-svn: 190756
|
|
|
|
| |
llvm-svn: 185452
|
|
|
|
|
|
| |
and libc++ to see if this error occurred elsewhere and didn't see any other place. This fixes http://llvm.org/bugs/show_bug.cgi?id=16207
llvm-svn: 185265
|
|
|
|
| |
llvm-svn: 178029
|
|
|
|
|
|
| |
-fnoexceptions flag. Although this is not a complete solution, it does reduce the number of test failures on OS X from 467 to 128 on OS X when -fno-exceptions is enabled, and does not impact the number of failures at all when -fno-exceptions is not enabled. The bulk of this code was donated anonymously.
llvm-svn: 177824
|
|
|
|
|
|
|
|
|
|
| |
mutex that it didn't own, causing an assertion failure in mutex.cpp. The issue was that the unique_lock went out of scope, releasing the lock on m, then m.unlock() was called on an already-unlocked mutex.
This change removes the spurious m.unlock() call.
If this test was previously passing for anyone with assertions enabled, then they should investigate bugs in their pthread implementation, as pthread_unlock() should not return 0 if the mutex is currently unlocked.
llvm-svn: 175506
|
|
|
|
| |
llvm-svn: 174902
|
|
|
|
| |
llvm-svn: 174726
|
|
|
|
|
|
|
|
|
|
| |
- Basically I just ran the thread tests many many times on a busy machine and
bumped the timeouts whenever I hit a test failure.
- This is obviously subpar, but is the best I can do without the tests being
rewritten to not depend on arbitrary timeouts.
llvm-svn: 174721
|
|
|
|
|
|
| |
are hitting the timing limits too often.
llvm-svn: 174539
|
|
|
|
| |
llvm-svn: 161289
|
|
|
|
| |
llvm-svn: 160604
|
|
|
|
| |
llvm-svn: 160566
|
|
|
|
| |
llvm-svn: 151461
|
|
|
|
|
|
| |
Ganesh Barbati
llvm-svn: 145698
|
|
|
|
| |
llvm-svn: 131514
|
|
|
|
|
|
| |
Fixed the tests.
llvm-svn: 131509
|
|
|
|
|
|
| |
be test bugs.
llvm-svn: 131479
|
|
|
|
|
|
| |
functors and move-only arguments, but disallows functors with non-const lvalue reference parameters.
llvm-svn: 131414
|
|
|
|
|
|
| |
move-only functors and move-only arguments, but disallows functors with non-const lvalue reference parameters.
llvm-svn: 131413
|
|
|
|
| |
llvm-svn: 120458
|
|
|
|
| |
llvm-svn: 120064
|
|
|
|
| |
llvm-svn: 120058
|
|
|
|
| |
llvm-svn: 120057
|
|
|
|
| |
llvm-svn: 120054
|
|
|
|
| |
llvm-svn: 120027
|
|
|
|
| |
llvm-svn: 119909
|
|
|
|
| |
llvm-svn: 119395
|
|
|
|
| |
llvm-svn: 115920
|
|
|
|
| |
llvm-svn: 114967
|
|
|
|
| |
llvm-svn: 113089
|
|
|
|
|
|
| |
flags, and renamed _LIBCPP_MOVE to _LIBCPP_HAS_NO_RVALUE_REFERENCES to be more consistent with the rest of the libc++'s flags, and with clang's nomenclature.
llvm-svn: 113086
|
|
|
|
|
|
| |
header <future> and all of Chapter 30 (for C++0x enabled compilers).
llvm-svn: 113017
|
|
|
|
| |
llvm-svn: 112990
|