[PATCH] [ASan tests] Add Windows-specific flags to lib/asan/tests/CMakeLists.txt

Alexey Samsonov samsonov at google.com
Mon May 12 10:57:37 PDT 2014


Feel free to submit after addressing comments.

================
Comment at: lib/asan/tests/CMakeLists.txt:34
@@ -34,1 +33,3 @@
 
+if(NOT MSVC)
+  list(APPEND ASAN_UNITTEST_COMMON_CFLAGS -g)
----------------
You can use COMPILER_RT_HAS_G_FLAG / COMPILER_RT_HAS_Zi_FLAG here.

http://reviews.llvm.org/D3720






More information about the llvm-commits mailing list