[compiler-rt] r201404 - [asan] Disable assembly on windows.
Evgeniy Stepanov
eugeni.stepanov at gmail.com
Fri Feb 14 04:07:22 PST 2014
Author: eugenis
Date: Fri Feb 14 06:07:22 2014
New Revision: 201404
URL: http://llvm.org/viewvc/llvm-project?rev=201404&view=rev
Log:
[asan] Disable assembly on windows.
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=201404&r1=201403&r2=201404&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/CMakeLists.txt (original)
+++ compiler-rt/trunk/lib/asan/CMakeLists.txt Fri Feb 14 06:07:22 2014
@@ -50,9 +50,11 @@ endif()
filter_available_targets(ASAN_SUPPORTED_ARCH
x86_64 i386 powerpc64)
-set(ASAN_ASM_SOURCES asan_asm_instrumentation.S)
-set_source_files_properties(${ASAN_ASM_SOURCES} PROPERTIES LANGUAGE C)
-list(APPEND ASAN_SOURCES ${ASAN_ASM_SOURCES})
+if (NOT MSVC)
+ set(ASAN_ASM_SOURCES asan_asm_instrumentation.S)
+ set_source_files_properties(${ASAN_ASM_SOURCES} PROPERTIES LANGUAGE C)
+ list(APPEND ASAN_SOURCES ${ASAN_ASM_SOURCES})
+endif()
# Compile ASan sources into an object library.
if(APPLE)
More information about the llvm-commits
mailing list