From: Reid Kleckner Date: Wed, 31 Oct 2018 00:35:46 +0000 (+0000) Subject: [asan] Remove stale -fno-exceptions flag in sanitizer_common as well X-Git-Tag: llvmorg-8.0.0-rc1~5399 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3e27306565554fbf8f1c93a55f278856fe02c22e;p=platform%2Fupstream%2Fllvm.git [asan] Remove stale -fno-exceptions flag in sanitizer_common as well llvm-svn: 345685 --- 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)