[compiler-rt] r274172 - [compiler-rt] Fix the Asan unittest on Windows

Etienne Bergeron via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 29 14:54:50 PDT 2016


Author: etienneb
Date: Wed Jun 29 16:54:50 2016
New Revision: 274172

URL: http://llvm.org/viewvc/llvm-project?rev=274172&view=rev
Log:
[compiler-rt] Fix the Asan unittest on Windows

Summary:
The build bot is broken because the runtime library doesn't have
debug information.

This is broken due to a recent change:
  http://reviews.llvm.org/D21554

Reviewers: rnk

Subscribers: kubabrecka, llvm-commits, chrisha

Differential Revision: http://reviews.llvm.org/D21862

Modified:
    compiler-rt/trunk/lib/asan/CMakeLists.txt

Modified: compiler-rt/trunk/lib/asan/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/CMakeLists.txt?rev=274172&r1=274171&r2=274172&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/CMakeLists.txt (original)
+++ compiler-rt/trunk/lib/asan/CMakeLists.txt Wed Jun 29 16:54:50 2016
@@ -63,7 +63,7 @@ append_list_if(WIN32 INTERCEPTION_DYNAMI
 set(ASAN_DYNAMIC_CFLAGS ${ASAN_CFLAGS})
 append_list_if(COMPILER_RT_HAS_FTLS_MODEL_INITIAL_EXEC
   -ftls-model=initial-exec ASAN_DYNAMIC_CFLAGS)
-append_list_if(MSVC /DEBUG ASAN_DYNAMIC_CFLAGS)
+append_list_if(MSVC /DEBUG ASAN_DYNAMIC_LINK_FLAGS)
 
 append_list_if(COMPILER_RT_HAS_LIBC c ASAN_DYNAMIC_LIBS)
 append_list_if(COMPILER_RT_HAS_LIBDL dl ASAN_DYNAMIC_LIBS)




More information about the llvm-commits mailing list