This bug is also present in MSVC10. Requested by Elrood on IRC.
authorDuncan Sands <baldrick@free.fr>
Sat, 5 Jun 2010 12:40:43 +0000 (12:40 +0000)
committerDuncan Sands <baldrick@free.fr>
Sat, 5 Jun 2010 12:40:43 +0000 (12:40 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105527 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/Disassembler/CMakeLists.txt

index 9f91060..97589c0 100644 (file)
@@ -4,8 +4,8 @@ add_llvm_library(LLVMX86Disassembler
   X86Disassembler.cpp
   X86DisassemblerDecoder.c
   )
-# workaround for hanging compilation on MSVC9
-if( MSVC_VERSION EQUAL 1500 )
+# workaround for hanging compilation on MSVC9 and 10
+if( MSVC_VERSION EQUAL 1500 OR MSVC_VERSION EQUAL 1600 )
 set_property(
   SOURCE X86Disassembler.cpp
   PROPERTY COMPILE_FLAGS "/Od"