Added LLVM_ENABLE_RTTI and LLVM_ENABLE_EH options that allow RTTI and EH
authorDan Liew <dan@su-root.co.uk>
Tue, 22 Jul 2014 15:41:18 +0000 (15:41 +0000)
committerDan Liew <dan@su-root.co.uk>
Tue, 22 Jul 2014 15:41:18 +0000 (15:41 +0000)
commit976824a7a48ba5f4c0c5b4ad12773dd8acac7de8
treef9f481e19ec7d236c8f65c65e1fcfff415ba0717
parent578c74e35da692fe0435491e1acb245f37bf6930
Added LLVM_ENABLE_RTTI and LLVM_ENABLE_EH options that allow RTTI and EH
to globally be controlled. Individual targets (e.g.  ExceptionDemo) can
still override this by using LLVM_REQUIRE_RTTI and LLVM_REQUIRE_EH if
they need to be compiled with RTTI or exception handling respectively.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@213663 91177308-0d34-0410-b5e6-96231b3b80d8
cmake/modules/AddLLVM.cmake
cmake/modules/HandleLLVMOptions.cmake
docs/CMake.rst
examples/ExceptionDemo/CMakeLists.txt