[llvm] r264880 - [cmake] Allow EH usage with clang-cl
Reid Kleckner via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 30 10:28:22 PDT 2016
Author: rnk
Date: Wed Mar 30 12:28:21 2016
New Revision: 264880
URL: http://llvm.org/viewvc/llvm-project?rev=264880&view=rev
Log:
[cmake] Allow EH usage with clang-cl
Modified:
llvm/trunk/cmake/modules/AddLLVM.cmake
Modified: llvm/trunk/cmake/modules/AddLLVM.cmake
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/cmake/modules/AddLLVM.cmake?rev=264880&r1=264879&r2=264880&view=diff
==============================================================================
--- llvm/trunk/cmake/modules/AddLLVM.cmake (original)
+++ llvm/trunk/cmake/modules/AddLLVM.cmake Wed Mar 30 12:28:21 2016
@@ -8,9 +8,9 @@ function(llvm_update_compile_flags name)
set(update_src_props ON)
endif()
- # LLVM_REQUIRES_EH is an internal flag that individual
- # targets can use to force EH
- if((LLVM_REQUIRES_EH OR LLVM_ENABLE_EH) AND NOT CLANG_CL)
+ # LLVM_REQUIRES_EH is an internal flag that individual targets can use to
+ # force EH
+ if(LLVM_REQUIRES_EH OR LLVM_ENABLE_EH)
if(NOT (LLVM_REQUIRES_RTTI OR LLVM_ENABLE_RTTI))
message(AUTHOR_WARNING "Exception handling requires RTTI. Enabling RTTI for ${name}")
set(LLVM_REQUIRES_RTTI ON)
More information about the llvm-commits
mailing list