Go to file
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
clang Make -Wuninitialized warn on pointer-to-member and comma operators. 2015-03-03 14:54:25 +00:00
clang-tools-extra Add -fexceptions for targets which need it 2015-03-02 19:12:51 +00:00
compiler-rt Symbolizer refactoring: Turn FillAddressAndModuleInfo into FillModuleInfo 2015-03-03 09:18:44 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc Implement step builtin 2015-03-02 15:29:41 +00:00
libcxx cmath: account for MSVCRT 12.0 changes 2015-02-28 20:18:39 +00:00
libcxxabi [libcxxabi] Build both static and shared versions of libc++abi by default. 2015-03-03 15:59:09 +00:00
lld [ELF] Implement R_X86_64_PC16 relocation. 2015-03-03 07:38:20 +00:00
lldb Fix and enable some tests on Linux (MI) 2015-03-03 15:32:39 +00:00
llgo [llgo] debug: create replaceable type through DIBuilder 2015-03-02 12:42:45 +00:00
llvm Make llvm/test/Object/archive-format.test CRLF-tolerant. 2015-03-03 15:54:48 +00:00
openmp Removed all header files for OpenMP 2.5 2015-02-25 18:38:08 +00:00
polly Do not model scalar accesses in non-affine subregions 2015-03-02 14:06:01 +00:00