- Feb 21, 2013
-
-
Howard Hinnant authored
Constrain bind operator()() to not exist if the call is not valid. Fixes http://llvm.org/bugs/show_bug.cgi?id=15295. llvm-svn: 175774
-
- Feb 19, 2013
-
-
David Chisnall authored
Fix a bug in mutex_try_to_lock. This was previously trying to unlock a 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
-
- Feb 15, 2013
-
-
Howard Hinnant authored
llvm-svn: 175274
-
- Feb 12, 2013
-
-
Daniel Dunbar authored
- This is useful for testing with custom ABI libraries. - Patch by Michael van der Westhuizen. llvm-svn: 174997
-
- Feb 11, 2013
-
-
Daniel Dunbar authored
llvm-svn: 174902
-
- Feb 08, 2013
-
-
Howard Hinnant authored
llvm-svn: 174733
-
Howard Hinnant authored
llvm-svn: 174732
-
Howard Hinnant authored
llvm-svn: 174731
-
Daniel Dunbar authored
llvm-svn: 174726
-
Daniel Dunbar authored
- Patch by Michael van der Westhuizen: -- r174404 accidentally removed stdc format, limit and constant macros from the Linux test runner logic. This small patch re-adds the macros. Making this change fixes the following tests on Linux: - depr/depr.c.headers/inttypes_h.pass.cpp - depr/depr.c.headers/stdint_h.pass.cpp - input.output/file.streams/c.files/cinttypes.pass.cpp - language.support/cstdint/cstdint.syn/cstdint.pass.cpp -- llvm-svn: 174722
-
Daniel Dunbar authored
- 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
-
- Feb 07, 2013
-
-
Marshall Clow authored
Change the 'result_type' from unsigned to 'uint_fast32_t'. This eliminates truncation warnings on Linux llvm-svn: 174669
-
Marshall Clow authored
llvm-svn: 174642
-
Marshall Clow authored
llvm-svn: 174637
-
Marshall Clow authored
llvm-svn: 174636
-
Howard Hinnant authored
llvm-svn: 174625
-
Howard Hinnant authored
Michael van der Westhuizen: The attached patch add support for building against libc++abi and libcxxrt to CMake builds of libc++. Usage (with the appropriate CC and CXX environment variables) is: $ cmake -DLIBCXX_CXX_ABI=libcxxabi '-DLIBCXX_LIBCXXABI_INCLUDE_PATHS=/home/michael/libcxxabi/include' ../libcxx and: $ cmake -DLIBCXX_CXX_ABI=libcxxrt '-DLIBCXX_LIBCXXRT_INCLUDE_PATHS=/home/michael/libcxxrt/src' ../libcxx llvm-svn: 174623
-
Marshall Clow authored
llvm-svn: 174611
-
Daniel Dunbar authored
- This updates the build script to match the change originally in r149634, so that we re-export symbols from libc++abi appropriately. llvm-svn: 174563
-
Daniel Dunbar authored
llvm-svn: 174562
-
- Feb 06, 2013
-
-
Howard Hinnant authored
Marcin Zalewski: Change the name of a template parameter in __copy_backward from _InputIterator to _BidirectionalIterator to better document the intent of the algorithm. llvm-svn: 174544
-
Howard Hinnant authored
Give a lot more timing latitude to some of the timing tests. Busy buildbots are hitting the timing limits too often. llvm-svn: 174539
-
Daniel Dunbar authored
- This is a reasonable default, and makes testing just work with no required parameters. - Add notes on all of the inferred or default values. llvm-svn: 174538
-
Daniel Dunbar authored
llvm-svn: 174528
-
Daniel Dunbar authored
- Patch by Michael van der Westhuizen. llvm-svn: 174527
-
Daniel Dunbar authored
- As of this commit, the test suite should now fully pass on both darwin11 and darwin12 when testing against either a locally built libc++ or the system libc++. llvm-svn: 174478
-
Daniel Dunbar authored
- Otherwise, we never were actually linking against the right library when building the test applications. llvm-svn: 174470
-
Daniel Dunbar authored
llvm-svn: 174469
-
- Feb 05, 2013
-
-
Daniel Dunbar authored
llvm-svn: 174459
-
Daniel Dunbar authored
llvm-svn: 174454
-
Daniel Dunbar authored
llvm-svn: 174453
-
Daniel Dunbar authored
llvm-svn: 174452
-
Daniel Dunbar authored
llvm-svn: 174451
-
Daniel Dunbar authored
llvm-svn: 174450
-
Daniel Dunbar authored
llvm-svn: 174444
-
Daniel Dunbar authored
- This is so that we can easily write XFAIL markers for tests that are known to fail with versions of libc++ as were shipped with a particular triple. llvm-svn: 174443
-
Daniel Dunbar authored
- We parse up to the first non-empty non-comment (C++ style) line, otherwise the format and semantics match what is used for LLVM/Clang tests. - For now, the only interesting thing to test against is a user supplied target_triple test parameter. llvm-svn: 174440
-
Daniel Dunbar authored
- This controls whether to execute against the locally built library or not. The default is currently True which maps to what was already being done by default. - I'd appreciate it if someone can implement the proper handling of this flag on linux, I no longer remember the details of its .so handling. llvm-svn: 174404
-
- Jan 22, 2013
-
-
Howard Hinnant authored
template typename deductions on swap<> (used in string.cpp). Use decltype(errno) to replicate the type and qualifier information for holding the errno value. Because errno is expected to be assignable, there is no need to use typename std::remove_const<decltype(errno)>::type to hold the value. llvm-svn: 173172
-
Howard Hinnant authored
building against libsupc++ as the functions for which they are used are provided by libsupc++. Simply preprocess them away when building against libsupc++. llvm-svn: 173165
-