summaryrefslogtreecommitdiffstats
path: root/libcxx/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Only enable special apple link flags for libc++abi (or none)Eric Fiselier2015-03-271-1/+2
| | | | llvm-svn: 233368
* [libcxx] Add support for linking libc++ against a static ABI library.Eric Fiselier2015-03-031-5/+16
| | | | | | | | | | | | | | | | Summary: This patch add the CMake option `LIBCXX_ENABLE_STATIC_ABI_LIBRARY` which, when enabled, will link libc++ against the static version of the ABI library. Reviewers: mclow.lists, jroelofs, danalbert Reviewed By: danalbert Subscribers: compnerd, cfe-commits Differential Revision: http://reviews.llvm.org/D8017 llvm-svn: 231076
* [libcxx] Move to using libc++abi2.exp as the default symbol list for libc++Eric Fiselier2015-02-211-0/+4
| | | | | | | | | | | | | | | | | | | | Summary: libc++abi2.exp should be used whenever `cxxabi.h` defines `_LIBCPPABI_VERSION`. This macro was added to libc++abi in 2012 in r149632. For this reason we should use libc++abi2.exp as default unless otherwise specified. Also when building against an in-tree libc++abi we definitely want to use libc++abi2.exp. I would love to know what OSX was the last to use libc++abi.exp but I can only test on 10.9. Reviewers: danalbert, mclow.lists, EricWF Reviewed By: EricWF Subscribers: meadori, cfe-commits Differential Revision: http://reviews.llvm.org/D7773 llvm-svn: 230119
* [cmake/multilib] Teach libc++'s CMake build to support multilib libdirChandler Carruth2014-12-291-2/+2
| | | | | | | | | | | | | | | | | | suffixes like 'lib64' or 'lib32'. This support is currently very rhudimentary. We define a variable LIBCXX_LIBDIR_SUFFIX. In a standalone build of libc++ this can be directly set as a cached variable to control the multilib suffix used. When building libc++ within a larger LLVM build, it is hard wired to whatever LLVM libdir suffix has been selected. If this doesn't work for someone, just let me know. I'm happy to change it. This is essentially new functionality for libc++ so I don't expect it to have any impact for folks until they start setting these variables. However, I know libc++ is built in a diverse set of environments so just let me know if this causes you any problems. llvm-svn: 224926
* Fixes to get libc++ building on sun solaris. Patch from C Bergstrom.Eric Fiselier2014-11-251-0/+3
| | | | llvm-svn: 222794
* [libcxx] Refactor CMakeLists.txt handling of compile and link flags to ↵Eric Fiselier2014-11-151-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | suppress warnings. Summary: Currently we have 5 variables that are used to specify options for building libcxx 1. `LIBCXX_CXX_FEATURE_FLAGS` 2. `LIBCXX_CXX_WARNING_FLAGS` 3. `LIBCXX_CXX_REQUIRED_FLAGS` 4. `compile_flags` (in libcxx/lib) 5. `link_flags` (in libcxx/lib) The first three all get put into `CMAKE_CXX_FLAGS`. This changes the way flags are handled by only using 3 different options: 1. `LIBCXX_CXX_FLAGS` - general compile and link flags. 2. `LIBCXX_COMPILE_FLAGS` - compile only flags. 3. `LIBCXX_LINK_FLAGS` - link only flags. This patch also removes the warning about `-nostdinc++` being unused during linking. Reviewers: mclow.lists, danalbert Reviewed By: danalbert Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D6277 llvm-svn: 222080
* [libcxx] Redo adding support for building and testing with an ABI library ↵Eric Fiselier2014-10-191-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | not along linker paths Summary: This is the second attempt at allowing for the use of libraries that the linker cannot find. The first attempt used `CMAKE_LIBRARY_PATH` and `find_library` to select which ABI library should be used. There were a number of problems with this approach: - `find_library` didn't work with cmake targets (ie in-tree libcxxabi build) - It wasn't always possible to determine where `find_library` actually found your library. - `target_link_libraries` inserted the path of the ABI library into libc++'s RPATH when `find_library` was used. - Linking libc++ and it's ABI library is a special case. It's a lot easier to keep it simple. After discussion with @cbergstrum a new approach was decided upon. This patch achieve the same ends by simply using `LIBCXX_CXX_ABI_LIBRARY_PATH` to specify where to find the library (if the linker won't find it). When this variable is defined it is simply added as a library search path when linking libc++. It is a lot easier to duplicate this behavior in LIT. It also prevents libc++ from being linked with an RPATH. Reviewers: mclow.lists, cbergstrom, chandlerc, danalbert Reviewed By: chandlerc, danalbert Subscribers: chandlerc, cfe-commits Differential Revision: http://reviews.llvm.org/D5860 llvm-svn: 220157
* [libc++] Fix the CMake build on Mac when setting MACOSX_DEPLOYMENT_TARGET=10.6Hans Wennborg2014-08-121-1/+2
| | | | | | | | | The build file was trying to use LIBCXX_VERSION, which isn't set anywhere, and also forgot to split the 'compile_flags' list. Differential Revision: http://reviews.llvm.org/D4860 llvm-svn: 215463
* Obey LLVM_LIBDIR_SUFFIX.Dan Albert2014-08-041-2/+2
| | | | llvm-svn: 214726
* eliminate install of duplicate headers (take 2)David Fang2014-06-241-1/+1
| | | | | | Patch by Ryuta Suzuki llvm-svn: 211629
* Not everyone uses bash, so fix test syntax.Joerg Sonnenberger2014-04-121-3/+3
| | | | llvm-svn: 206118
* Whoops! Set the default in the last commit to c++1y instead of c++11Marshall Clow2014-01-141-1/+1
| | | | llvm-svn: 199224
* Update lib/buildit and test/testit to both pay attention to an env flag ↵Marshall Clow2014-01-141-2/+7
| | | | | | CXX_LANG, which people can set to 'c++03', 'c++11' or 'c++1y' to build/test using that language variant. If you don't set this env variable, you get c++11, just like today. Drive-by fix; remove duplicate -nostdinc++. llvm-svn: 199222
* Justin Bogner: This makes the headers available in the build directory, ↵Howard Hinnant2013-11-151-13/+0
| | | | | | | | | | | | making it easier to use freshly-built clang with freshly-built libc++. Basically, this makes it possible to run clang with libc++ without having to install it, even if you don't have any version of libc++ installed in /usr/ llvm-svn: 194825
* G M: Remove unneeded warnings in buildit that are hindering porting.Howard Hinnant2013-10-051-2/+1
| | | | llvm-svn: 192012
* [cmake] Provide an option to not install the support headers so that the ↵Michael Gottesman2013-09-021-0/+6
| | | | | | cmake build can match the make build if requested. llvm-svn: 189739
* [cmake] Make libcxx standalone compile on Mac OS X.Michael Gottesman2013-09-021-0/+37
| | | | llvm-svn: 189738
* Xing Xue: port to IBM XLC++/AIX.Howard Hinnant2013-08-141-10/+37
| | | | llvm-svn: 188396
* Implement full support for non-pointer types in custom allocators. This is ↵Howard Hinnant2013-06-221-2/+2
| | | | | | for the unordered containers only. This work still needs to be done on the sequence containers. llvm-svn: 184635
* Added extra space to end of EXTRA_FLAGS in buildit. This fixes ↵Howard Hinnant2013-04-161-1/+1
| | | | | | http://llvm.org/bugs/show_bug.cgi?id=15761 llvm-svn: 179609
* [build/Darwin] Use the correct libc++abi reexport list.Daniel Dunbar2013-02-071-1/+9
| | | | | | | - 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
* [build] Detabify.Daniel Dunbar2013-02-071-44/+44
| | | | llvm-svn: 174562
* [build] Create the link for the final library install name in the lib dir.Daniel Dunbar2013-02-061-0/+15
| | | | | | | - Otherwise, we never were actually linking against the right library when building the test applications. llvm-svn: 174470
* [CMake] Fix c++ abi library configuration on Linux.Michael J. Spencer2012-12-311-1/+3
| | | | | | | | | | You can now configure from the command line using: -DLIBCXX_CXX_ABI=libsupc++ -DLIBCXX_LIBSUPCXX_INCLUDE_PATHS="path;path Also documents how to build on Linux. llvm-svn: 171316
* [CMake] Add support for selecting which c++ abi library to use.Michael J. Spencer2012-11-301-0/+3
| | | | llvm-svn: 169036
* Allow libc++ to be built with CMake from within the LLVM tree. The libc++ ↵Howard Hinnant2012-03-191-11/+11
| | | | | | part is just some renaming as the variable was already in use, conflicting with something else in the LLVM tree. Contributed by Ruben Van Boxem. llvm-svn: 153036
* At least temporarily move operator new/delete from the abi back to here. ↵Howard Hinnant2012-02-251-8/+8
| | | | | | I'm having trouble reexporting it as a weak symbol. llvm-svn: 151459
* ReExport some mor symbols from libc++abi.Howard Hinnant2012-02-251-0/+42
| | | | llvm-svn: 151453
* Move typeinfos for exceptions in <stdexcept> to the abiHoward Hinnant2012-02-171-0/+65
| | | | llvm-svn: 150835
* Added some more symbols to the v2 rexport list.Howard Hinnant2012-02-021-0/+4
| | | | llvm-svn: 149636
* Prepare for running on top of new libc++abi.Howard Hinnant2012-02-021-0/+199
| | | | llvm-svn: 149634
* Quash a whole bunch of warningsHoward Hinnant2011-12-011-1/+3
| | | | llvm-svn: 145624
* Remove -Wglobal-constructors from flags. This was an accidental addition.Howard Hinnant2011-10-101-1/+1
| | | | llvm-svn: 141551
* reverting change to compatibility_versionHoward Hinnant2011-10-071-1/+1
| | | | llvm-svn: 141445
* Change compatibility_versionHoward Hinnant2011-10-071-2/+3
| | | | llvm-svn: 141391
* Fix <rdar://problem/10136825>Howard Hinnant2011-10-042-2/+19
| | | | llvm-svn: 141132
* Work on Windows port by Ruben Van BoxemHoward Hinnant2011-09-281-2/+14
| | | | llvm-svn: 140728
* Partial Windows port by Ruben Van BoxemHoward Hinnant2011-09-221-1/+9
| | | | llvm-svn: 140328
* more Apple build system tweaksNick Kledzik2011-06-091-5/+6
| | | | llvm-svn: 132819
* http://llvm.org/bugs/show_bug.cgi?id=10045 . Please review, I have not ↵Howard Hinnant2011-05-291-2/+3
| | | | | | tested this on linux. llvm-svn: 132287
* support another Apple build environmentNick Kledzik2011-05-241-2/+8
| | | | llvm-svn: 131996
* on Darwin re-export C++0x type infosNick Kledzik2011-05-241-9/+9
| | | | llvm-svn: 131995
* http://llvm.org/bugs/show_bug.cgi?id=9399 fixed by Ryuta SuzukiHoward Hinnant2011-05-241-0/+1
| | | | llvm-svn: 131961
* change RC_BUILDIT to RC_XBS for detecting Apple build environmentNick Kledzik2011-05-061-3/+3
| | | | llvm-svn: 130970
* add support for setjmp/longjmp based exceptionsNick Kledzik2011-05-051-0/+159
| | | | llvm-svn: 130938
* <rdar://problem/9014045> more support for Apple internal build environmentsNick Kledzik2011-05-041-5/+18
| | | | llvm-svn: 130872
* http://llvm.org/bugs/show_bug.cgi?id=9349 I introduced a bug with the last ↵Howard Hinnant2011-03-031-0/+1
| | | | | | fix and Ryuta Suzuki has corrected it. And hopefully I committed Ryuta Suzuki's directions correctly this time. llvm-svn: 126917
* http://llvm.org/bugs/show_bug.cgi?id=9349 I have not personally tested this ↵Howard Hinnant2011-03-021-1/+1
| | | | | | patch. Please let me know if it causes problems. llvm-svn: 126846
* Change install name to libc++.1.dylibHoward Hinnant2011-02-161-2/+2
| | | | llvm-svn: 125626
* updated buildit to work with recent clang updatesHoward Hinnant2011-01-271-1/+3
| | | | llvm-svn: 124432
OpenPOWER on IntegriCloud