summaryrefslogtreecommitdiffstats
path: root/libcxx
Commit message (Collapse)AuthorAgeFilesLines
...
* Mark two Kona papers as 'in progress'Marshall Clow2015-10-281-2/+2
| | | | llvm-svn: 251545
* Adapt to lit change in llvm r251478-r251481Matthias Braun2015-10-281-8/+13
| | | | | | Sorry for the breakage. llvm-svn: 251529
* Fix test suite configuration. Sorry MarshallEric Fiselier2015-10-261-1/+3
| | | | llvm-svn: 251334
* Mark LWG#2495 as complete. No code changes neededMarshall Clow2015-10-251-1/+1
| | | | llvm-svn: 251258
* Fix LWG#2489: mem_fn() should be noexceptMarshall Clow2015-10-253-4/+7
| | | | llvm-svn: 251257
* Add the tests for the last commitMarshall Clow2015-10-252-0/+144
| | | | llvm-svn: 251254
* Fix LWG#2476: scoped_allocator_adaptor is not assignableMarshall Clow2015-10-251-0/+4
| | | | llvm-svn: 251253
* Add a test for LWG#2466: allocator_traits::max_size() default behavior is ↵Marshall Clow2015-10-253-5/+4
| | | | | | incorrect llvm-svn: 251252
* Add a test for LWG#2462: std::ios_base::failure is overspecifiedMarshall Clow2015-10-251-0/+3
| | | | llvm-svn: 251250
* Fix LWG#2127: Move-construction with raw_storage_iterator.Marshall Clow2015-10-253-5/+28
| | | | llvm-svn: 251247
* Fix LWG#2244: basic_istream::seekgMarshall Clow2015-10-253-1/+11
| | | | llvm-svn: 251246
* Update C++ status from KonaMarshall Clow2015-10-252-1/+56
| | | | llvm-svn: 251220
* Set LC_COLLATE rather than LANG to override collation.Tim Northover2015-10-231-1/+1
| | | | | | | On a system with LC_COLLATE=C, this takes precedence over a non-C LANG the test tries to impose and the test fails. llvm-svn: 251131
* Use proper output directory when naminging the libc++ outputEric Fiselier2015-10-231-1/+1
| | | | llvm-svn: 251100
* Dont required CMake 3 to install a linker scriptEric Fiselier2015-10-221-2/+3
| | | | llvm-svn: 251065
* Only disable linker script when LIBCXX_CXX_ABI_LIBNAME is noneEric Fiselier2015-10-222-15/+15
| | | | llvm-svn: 251063
* Disable linker scripts when the ABI library is not specified or is none.Eric Fiselier2015-10-221-1/+4
| | | | llvm-svn: 251062
* Detect relaxed constexpr rules for gcc versionsMarshall Clow2015-10-201-1/+4
| | | | llvm-svn: 250802
* Fix an unfortunate yet old typo that never got attention before r250507.Benjamin Kramer2015-10-161-1/+1
| | | | | | Should fix the xcode libc++ build. llvm-svn: 250508
* Remove a long-standing __has_include hack.Benjamin Kramer2015-10-164-25/+8
| | | | | | | | | This was put in to get libc++ building without libcxxabi. We now have macros that show that we are building against libcxxabi so use that instead. This guards against existing but broken cxxabi.h headers on the system. llvm-svn: 250507
* Re-enable linker scripts after fixing bad CMakeEric Fiselier2015-10-152-4/+4
| | | | llvm-svn: 250472
* Quickly fix bad commitEric Fiselier2015-10-151-1/+2
| | | | llvm-svn: 250471
* [libcxx] Make libc++.so a linker script by default on most platforms.Eric Fiselier2015-10-154-6/+48
| | | | | | | | | | | | | | | | | | | | | | | | Summary: This patch turns on `LIBCXX_ENABLE_ABI_LINKER_SCRIPT` by default whenever `LLVM_HAVE_LINK_VERSION_SCRIPT` is ON. This turns out to be whenever: 1. WIN32 is not defined. 2 UNIX is defined. 3. APPLE is not defined. While `LLVM_HAVE_LINK_VERSION_SCRIPT` is meant to reflect exactly what we are asking I think it's close enough. After committing this patch Linux users will no longer have to use "-lc++abi" explicitly! Reviewers: mclow.lists, danalbert, compnerd, jroelofs Subscribers: emaste, rengolin, cbergstrom, cfe-commits Differential Revision: http://reviews.llvm.org/D13739 llvm-svn: 250469
* Fix handling of -Wno-pedanticEric Fiselier2015-10-151-2/+3
| | | | llvm-svn: 250452
* Add links to libc++ code coverage and buildersEric Fiselier2015-10-151-2/+4
| | | | llvm-svn: 250361
* Update issues statusEric Fiselier2015-10-141-2/+2
| | | | llvm-svn: 250336
* Use correct CMake variable for the libnameEric Fiselier2015-10-141-1/+1
| | | | llvm-svn: 250329
* Link to new documentation from existing homepageEric Fiselier2015-10-141-0/+10
| | | | llvm-svn: 250325
* Update testing guide for libc++Eric Fiselier2015-10-141-7/+56
| | | | llvm-svn: 250323
* [libcxx] Make it drastically simpler to link libc++.Eric Fiselier2015-10-144-2/+131
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: Currently on most platforms you have to manually link the c++ abi library used with libc++ whenever you use libc++. So your typical libc++ command like invocation might look like: ``` clang++ -stdlib=libc++ foo.cpp -lc++abi ``` Having to manually link `libc++abi.so` makes it harder for libc++ to be used generically. This patch fixes that by generating a linker script for `libc++.so` that correctly links the ABI library. On linux the linker script for libc++abi would look like: ``` # libc++.so INPUT(libc++.so.1 -lc++abi) ``` With the linker script you can now use libc++ using only `-stdlib=libc++`. This is the technique that is used on FreeBSD in ordered to link cxxrt and I think it's the best approach to make our users lives simpler. The CMake option used to enable this is `LIBCXX_ENABLE_ABI_LINKER_SCRIPT`. In future I would like to enable this by default on all platforms except for Darwin. Reviewers: mclow.lists, danalbert, rsmith, jroelofs, EricWF Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D12508 llvm-svn: 250319
* Split out config_site logic so libc++abi can use itEric Fiselier2015-10-141-12/+15
| | | | llvm-svn: 250312
* [libcxx] Use __config_site to configure the test suite features.Eric Fiselier2015-10-143-70/+57
| | | | | | | | | | | | | | | Summary: This patch changes the tests to use the "__config_site" header if present instead of manually configuring for each option. This patch also removes the test flags for configuring some of these options. For example "lit -sv --param=enable_threads=OFF" no longer works. However lit will still correctly configure if the CMake option "-DLIBCXX_ENABLE_THREADS=OFF" is given at build time. This patch will fix the libc++abi test configuration for `LIBCXX_ABI_VERSION` and `LIBCXX_ABI_UNSTABLE` one we teach it about 'project_obj_dir' . I would like to land this ASAP to prevent more work blockage. Reviewers: mclow.lists, danalbert, eugenis, ed, jroelofs Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D13714 llvm-svn: 250308
* Fix GCC atomic implementation in C++03Eric Fiselier2015-10-141-3/+8
| | | | llvm-svn: 250279
* Use __config_site when building libc++. Also cleanup ABI versioning docEric Fiselier2015-10-145-4/+10
| | | | llvm-svn: 250261
* Workaround -pedantic flag added by LLVMEric Fiselier2015-10-131-0/+4
| | | | llvm-svn: 250256
* ABI versioning macros for libc++.Evgeniy Stepanov2015-10-1311-12/+85
| | | | | | | | C++ macros and CMake options that specify the default ABI version of the library, and can be overridden to pick up new ABI-changing features. llvm-svn: 250254
* Fix use of libc++ <foo.h> headers from within an 'extern "C"' context in C++98.Richard Smith2015-10-132-0/+45
| | | | | | Previously, this resulted in us declaring a template for static_assert emulation within the 'extern "C"' context, which is ill-formed. llvm-svn: 250247
* Fix whitespace in docEric Fiselier2015-10-131-1/+1
| | | | llvm-svn: 250238
* Remove __config module to avoid #include cycle when libc headers include ↵Richard Smith2015-10-131-1/+5
| | | | | | libc++'s <foo.h> headers. llvm-svn: 250236
* [libcxx] Capture configuration information when installing the libc++ headersEric Fiselier2015-10-136-7/+173
| | | | | | | | | | | | | | | | | Summary: Hi all, This patch is a successor to D11963. However it has changed dramatically and I felt it would be best to start a new review thread. Please read the design documentation added in this patch for a description of how it works. Reviewers: mclow.lists, danalbert, jroelofs, EricWF Subscribers: vkalintiris, rnk, ed, espositofulvio, asl, eugenis, cfe-commits Differential Revision: http://reviews.llvm.org/D13407 llvm-svn: 250235
* Mark 2447 and 2466 as completed.Marshall Clow2015-10-121-5/+5
| | | | llvm-svn: 250061
* [Darwin] Reworking r250003 to use lit.util.capture instead of subprocess.Chris Bieneman2015-10-121-6/+2
| | | | llvm-svn: 250007
* [Darwin] Need to add -isysroot on OS X otherwise the tests will fail if you ↵Chris Bieneman2015-10-121-0/+21
| | | | | | | | don't have the command line tools package installed. This mirrors how other LLVM suites are configured for running on OS X. llvm-svn: 250003
* Turn off -pedantic by default when building due to #include_next. :-(Eric Fiselier2015-10-101-1/+3
| | | | llvm-svn: 249939
* Revert r249931 - Remove same_decls.pass.cpp because it fails on OS X and in ↵Eric Fiselier2015-10-101-517/+0
| | | | | | C++03 mode. llvm-svn: 249938
* Get some of wchar_h.pass.cpp working on apple.Eric Fiselier2015-10-101-10/+16
| | | | llvm-svn: 249936
* Unrevert r249889, and XFAIL the test for Darwin, where the libc apparently ↵Richard Smith2015-10-103-19/+161
| | | | | | doesn't provide a correct overload set for some functions. llvm-svn: 249932
* Add a test that we declare the right set of C library function signatures in ::Richard Smith2015-10-101-0/+517
| | | | | | and std::, and that the names in :: and std:: are declaring the same entity. llvm-svn: 249931
* Split <string.h> out of <cstring>.Richard Smith2015-10-102-18/+86
| | | | | | | | Also fix the overload set for the five functions whose signatures change in the case where we can fix it. This is already covered by existing tests for the affected systems. llvm-svn: 249929
* Revert r249889 due to bot failure.Manman Ren2015-10-103-155/+19
| | | | llvm-svn: 249926
OpenPOWER on IntegriCloud