hanchenye-llvm-project/libcxxabi/test
Eric Fiselier 14dbeaadc1 [libcxxabi] Build both static and shared versions of libc++abi by default.
Summary:
This patch builds both static and shared versions of libc++abi by default. It adds/repurposes the following cmake options:
* `LIBCXXABI_ENABLE_SHARED`: Enable/disable building the shared library. (Previously using `OFF` would build the static library instead)
* `LIBCXXABI_ENABLE_STATIC`: Enable/disable building the static library.

This patch also re-purposes the CMake target `cxxabi` to be a meta-target for `cxxabi_shared` and `cxxabi_static`. This could potentially break other builds that depend on `cxxabi` being a library target. We will need to apply a patch to libc++'s CMake before committing this change. 

Running the tests is still only supported when the shared version is built. Support for running the tests against the static library will come in another patch.


Reviewers: jroelofs, mclow.lists, danalbert, compnerd

Reviewed By: danalbert, compnerd

Subscribers: cfe-commits

Differential Revision: http://reviews.llvm.org/D8013

llvm-svn: 231075
2015-03-03 15:59:09 +00:00
..
libcxxabi Add temporary workaround for missing symbol __cxa_throw_bad_new_array_length on OS X. 2015-02-21 04:30:36 +00:00
support Fix comment on end of #endif to match #if 2014-11-25 03:19:02 +00:00
CMakeLists.txt [libcxxabi] Build both static and shared versions of libc++abi by default. 2015-03-03 15:59:09 +00:00
backtrace_test.pass.cpp Enable backtrace_test for ARM. 2015-01-22 13:40:16 +00:00
catch_array_01.pass.cpp Rename all of the tests in preparation for merging lit configs with libcxx 2015-01-21 19:05:37 +00:00
catch_array_02.pass.cpp Rename all of the tests in preparation for merging lit configs with libcxx 2015-01-21 19:05:37 +00:00
catch_class_01.pass.cpp Rename all of the tests in preparation for merging lit configs with libcxx 2015-01-21 19:05:37 +00:00
catch_class_02.pass.cpp Rename all of the tests in preparation for merging lit configs with libcxx 2015-01-21 19:05:37 +00:00
catch_class_03.pass.cpp Rename all of the tests in preparation for merging lit configs with libcxx 2015-01-21 19:05:37 +00:00
catch_class_04.pass.cpp Rename all of the tests in preparation for merging lit configs with libcxx 2015-01-21 19:05:37 +00:00
catch_const_pointer_nullptr.pass.cpp Rename all of the tests in preparation for merging lit configs with libcxx 2015-01-21 19:05:37 +00:00
catch_function_01.pass.cpp Rename all of the tests in preparation for merging lit configs with libcxx 2015-01-21 19:05:37 +00:00
catch_function_02.pass.cpp Rename all of the tests in preparation for merging lit configs with libcxx 2015-01-21 19:05:37 +00:00
catch_in_noexcept.pass.cpp Rename all of the tests in preparation for merging lit configs with libcxx 2015-01-21 19:05:37 +00:00
catch_member_data_pointer_01.pass.cpp Rename all of the tests in preparation for merging lit configs with libcxx 2015-01-21 19:05:37 +00:00
catch_member_function_pointer_01.pass.cpp Rename all of the tests in preparation for merging lit configs with libcxx 2015-01-21 19:05:37 +00:00
catch_member_pointer_nullptr.pass.cpp Rename all of the tests in preparation for merging lit configs with libcxx 2015-01-21 19:05:37 +00:00
catch_pointer_nullptr.pass.cpp Rename all of the tests in preparation for merging lit configs with libcxx 2015-01-21 19:05:37 +00:00
catch_pointer_reference.pass.cpp Rename all of the tests in preparation for merging lit configs with libcxx 2015-01-21 19:05:37 +00:00
catch_ptr.pass.cpp Rename all of the tests in preparation for merging lit configs with libcxx 2015-01-21 19:05:37 +00:00
catch_ptr_02.pass.cpp Rename all of the tests in preparation for merging lit configs with libcxx 2015-01-21 19:05:37 +00:00
cxa_thread_atexit_test.pass.cpp Make test require 'linux' instead of 'linux2' 2015-02-03 23:50:47 +00:00
dynamic_cast3.pass.cpp Rename all of the tests in preparation for merging lit configs with libcxx 2015-01-21 19:05:37 +00:00
dynamic_cast5.pass.cpp Rename all of the tests in preparation for merging lit configs with libcxx 2015-01-21 19:05:37 +00:00
dynamic_cast14.pass.cpp Rename all of the tests in preparation for merging lit configs with libcxx 2015-01-21 19:05:37 +00:00
dynamic_cast_stress.pass.cpp Rename all of the tests in preparation for merging lit configs with libcxx 2015-01-21 19:05:37 +00:00
inherited_exception.pass.cpp Rename all of the tests in preparation for merging lit configs with libcxx 2015-01-21 19:05:37 +00:00
lit.cfg Fix libcxxabi's library and object root for tests. 2015-02-11 01:07:48 +00:00
lit.site.cfg.in Add remote testing support to the lit config 2015-02-26 15:55:01 +00:00
test_aux_runtime.pass.cpp Rename all of the tests in preparation for merging lit configs with libcxx 2015-01-21 19:05:37 +00:00
test_aux_runtime_op_array_new.pass.cpp Rename all of the tests in preparation for merging lit configs with libcxx 2015-01-21 19:05:37 +00:00
test_demangle.pass.cpp Rename all of the tests in preparation for merging lit configs with libcxx 2015-01-21 19:05:37 +00:00
test_exception_storage.pass.cpp Rename all of the tests in preparation for merging lit configs with libcxx 2015-01-21 19:05:37 +00:00
test_fallback_malloc.pass.cpp Rename all of the tests in preparation for merging lit configs with libcxx 2015-01-21 19:05:37 +00:00
test_guard.pass.cpp Rename all of the tests in preparation for merging lit configs with libcxx 2015-01-21 19:05:37 +00:00
test_vector1.pass.cpp Rename all of the tests in preparation for merging lit configs with libcxx 2015-01-21 19:05:37 +00:00
test_vector2.pass.cpp Rename all of the tests in preparation for merging lit configs with libcxx 2015-01-21 19:05:37 +00:00
test_vector3.pass.cpp Rename all of the tests in preparation for merging lit configs with libcxx 2015-01-21 19:05:37 +00:00
testit Rename all of the tests in preparation for merging lit configs with libcxx 2015-01-21 19:05:37 +00:00
unwind_01.pass.cpp Rename all of the tests in preparation for merging lit configs with libcxx 2015-01-21 19:05:37 +00:00
unwind_02.pass.cpp Rename all of the tests in preparation for merging lit configs with libcxx 2015-01-21 19:05:37 +00:00
unwind_03.pass.cpp Rename all of the tests in preparation for merging lit configs with libcxx 2015-01-21 19:05:37 +00:00
unwind_04.pass.cpp Rename all of the tests in preparation for merging lit configs with libcxx 2015-01-21 19:05:37 +00:00
unwind_05.pass.cpp Rename all of the tests in preparation for merging lit configs with libcxx 2015-01-21 19:05:37 +00:00
unwind_06.pass.cpp Rename all of the tests in preparation for merging lit configs with libcxx 2015-01-21 19:05:37 +00:00