[compiler-rt] r345685 - [asan] Remove stale -fno-exceptions flag in sanitizer_common as well

Reid Kleckner via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 30 17:35:47 PDT 2018


Author: rnk
Date: Tue Oct 30 17:35:46 2018
New Revision: 345685

URL: http://llvm.org/viewvc/llvm-project?rev=345685&view=rev
Log:
[asan] Remove stale -fno-exceptions flag in sanitizer_common as well

Modified:
    compiler-rt/trunk/lib/sanitizer_common/tests/CMakeLists.txt

Modified: compiler-rt/trunk/lib/sanitizer_common/tests/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/tests/CMakeLists.txt?rev=345685&r1=345684&r2=345685&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/tests/CMakeLists.txt (original)
+++ compiler-rt/trunk/lib/sanitizer_common/tests/CMakeLists.txt Tue Oct 30 17:35:46 2018
@@ -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)




More information about the llvm-commits mailing list