From 3e27306565554fbf8f1c93a55f278856fe02c22e Mon Sep 17 00:00:00 2001 From: Reid Kleckner Date: Wed, 31 Oct 2018 00:35:46 +0000 Subject: [PATCH] [asan] Remove stale -fno-exceptions flag in sanitizer_common as well llvm-svn: 345685 --- compiler-rt/lib/sanitizer_common/tests/CMakeLists.txt | 5 ----- 1 file changed, 5 deletions(-) diff --git a/compiler-rt/lib/sanitizer_common/tests/CMakeLists.txt b/compiler-rt/lib/sanitizer_common/tests/CMakeLists.txt index 4642c59..75998c8 100644 --- a/compiler-rt/lib/sanitizer_common/tests/CMakeLists.txt +++ b/compiler-rt/lib/sanitizer_common/tests/CMakeLists.txt @@ -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) -- 2.7.4