summaryrefslogtreecommitdiffstats
path: root/llvm/cmake
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2015-10-08 22:44:39 +0000
committerReid Kleckner <rnk@google.com>2015-10-08 22:44:39 +0000
commit066c8db3478ae4c15ba24955b1bafb1ae4e860b4 (patch)
treee2c8658551cae7e3541c1acabbb3ae59a868846b /llvm/cmake
parent00851fdf4cdc1705d8b70c376e1eae5d396edc8f (diff)
downloadbcm5719-llvm-066c8db3478ae4c15ba24955b1bafb1ae4e860b4.tar.gz
bcm5719-llvm-066c8db3478ae4c15ba24955b1bafb1ae4e860b4.zip
Enable gtest SEH when building with clang-cl
Clang supports SEH well enough that this should work out of the box. If it doesn't, we'll hear about it. llvm-svn: 249766
Diffstat (limited to 'llvm/cmake')
-rw-r--r--llvm/cmake/modules/AddLLVM.cmake4
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/cmake/modules/AddLLVM.cmake b/llvm/cmake/modules/AddLLVM.cmake
index 0ea846aed15..da42e5cf55e 100644
--- a/llvm/cmake/modules/AddLLVM.cmake
+++ b/llvm/cmake/modules/AddLLVM.cmake
@@ -22,10 +22,6 @@ function(llvm_update_compile_flags name)
list(APPEND LLVM_COMPILE_DEFINITIONS _HAS_EXCEPTIONS=0)
list(APPEND LLVM_COMPILE_FLAGS "/EHs-c-")
endif()
- if (CLANG_CL)
- # FIXME: Remove this once clang-cl supports SEH
- list(APPEND LLVM_COMPILE_DEFINITIONS "GTEST_HAS_SEH=0")
- endif()
endif()
# LLVM_REQUIRES_RTTI is an internal flag that individual
OpenPOWER on IntegriCloud