[compiler-rt] r216534 - [ASan/Win] Enable building the MD runtime by default

Timur Iskhodzhanov timurrrr at google.com
Wed Aug 27 03:17:21 PDT 2014


Author: timurrrr
Date: Wed Aug 27 05:17:20 2014
New Revision: 216534

URL: http://llvm.org/viewvc/llvm-project?rev=216534&view=rev
Log:
[ASan/Win] Enable building the MD runtime by default

Modified:
    compiler-rt/trunk/CMakeLists.txt

Modified: compiler-rt/trunk/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/CMakeLists.txt?rev=216534&r1=216533&r2=216534&view=diff
==============================================================================
--- compiler-rt/trunk/CMakeLists.txt (original)
+++ compiler-rt/trunk/CMakeLists.txt Wed Aug 27 05:17:20 2014
@@ -206,7 +206,12 @@ option(COMPILER_RT_DEBUG "Build runtimes
 # COMPILER_RT_DEBUG_PYBOOL is used by lit.common.configured.in.
 pythonize_bool(COMPILER_RT_DEBUG)
 
+# We have to support both static and dynamic/shared runtime on Windows.
+if(WIN32)
+option(COMPILER_RT_BUILD_SHARED_ASAN "Build shared version of AddressSanitizer runtime" ON)
+else()
 option(COMPILER_RT_BUILD_SHARED_ASAN "Build shared version of AddressSanitizer runtime" OFF)
+endif()
 
 #================================
 # Setup Compiler Flags





More information about the llvm-commits mailing list