libc++abi: add a top level option for using CompilerRT
authorSaleem Abdulrasool <compnerd@compnerd.org>
Fri, 15 Jul 2016 00:49:42 +0000 (00:49 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Fri, 15 Jul 2016 00:49:42 +0000 (00:49 +0000)
commit6e2aa5e1a93ef561cc127f2291b5074a7d4b9b9e
tree4da5cc0ba822c0a81fad331b0864dfbe5ce849ec
parent0d09a865c64a362cfdf6a83d7c4b02a55ffa413e
libc++abi: add a top level option for using CompilerRT

Add an option to opt into compiler-rt instead of libgcc.  This option defaults
to OFF to avoid a behaviour change.  It is not possible to mix and match
different runtime libraries.  Disabling this requires that libc++ is built
accordingly.  This knob is particularly useful for targets that are GCC by
default (i.e. Linux).

llvm-svn: 275505
libcxxabi/CMakeLists.txt
libcxxabi/cmake/config-ix.cmake