From: Alexey Samsonov Date: Tue, 6 Jan 2015 20:25:34 +0000 (+0000) Subject: Use -DSANITIZER_DEBUG=1 if COMPILER_RT_DEBUG=ON, now that PR22083 is fixed. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ea0403214430b5c18de8fa3dd56aa49243ceba83;p=platform%2Fupstream%2Fllvm.git Use -DSANITIZER_DEBUG=1 if COMPILER_RT_DEBUG=ON, now that PR22083 is fixed. llvm-svn: 225293 --- diff --git a/compiler-rt/CMakeLists.txt b/compiler-rt/CMakeLists.txt index c42ecd9..e0b25953 100644 --- a/compiler-rt/CMakeLists.txt +++ b/compiler-rt/CMakeLists.txt @@ -251,8 +251,7 @@ if(MSVC) append_list_if(COMPILER_RT_HAS_GS_FLAG /GS- SANITIZER_COMMON_CFLAGS) endif() -# FIXME: Enable SANITIZER_DEBUG definition when PR22083 is fixed. -#append_list_if(COMPILER_RT_DEBUG -DSANITIZER_DEBUG=1 SANITIZER_COMMON_CFLAGS) +append_list_if(COMPILER_RT_DEBUG -DSANITIZER_DEBUG=1 SANITIZER_COMMON_CFLAGS) # Build with optimization, unless we're in debug mode. If we're using MSVC, # always respect the optimization flags set by CMAKE_BUILD_TYPE instead.