[asan] Remove stale -fno-exceptions flag in sanitizer_common as well
authorReid Kleckner <rnk@google.com>
Wed, 31 Oct 2018 00:35:46 +0000 (00:35 +0000)
committerReid Kleckner <rnk@google.com>
Wed, 31 Oct 2018 00:35:46 +0000 (00:35 +0000)
llvm-svn: 345685

compiler-rt/lib/sanitizer_common/tests/CMakeLists.txt

index 4642c59..75998c8 100644 (file)
@@ -58,11 +58,6 @@ set(SANITIZER_TEST_CFLAGS_COMMON
   -Wno-non-virtual-dtor
   -Wno-gnu-zero-variadic-macro-arguments)
 
-if(MSVC)
-  # Disable exceptions on Windows until they work reliably.
-  list(APPEND SANITIZER_TEST_CFLAGS_COMMON -fno-exceptions -DGTEST_HAS_SEH=0)
-endif()
-
 # -gline-tables-only must be enough for these tests, so use it if possible.
 if(COMPILER_RT_TEST_COMPILER_ID MATCHES "Clang")
   list(APPEND SANITIZER_TEST_CFLAGS_COMMON -gline-tables-only)