forked from OSchip/llvm-project
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
This commit is contained in:
parent
00851fdf4c
commit
066c8db347
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue