Encode the multi-load/store instructions with their respective modes ('ia',
[oota-llvm.git] / lib / Target / ARM / Disassembler / CMakeLists.txt
index c9680f8c083ad5b2d9ff756dbe130f959b38f444..5f4398977f2bd8744830ec759577b89d73c2b521 100644 (file)
@@ -4,5 +4,11 @@ add_llvm_library(LLVMARMDisassembler
   ARMDisassembler.cpp
   ARMDisassemblerCore.cpp
   )
-
+# workaround for hanging compilation on MSVC9 and 10
+if( MSVC_VERSION EQUAL 1500 OR MSVC_VERSION EQUAL 1600 )
+set_property(
+  SOURCE ARMDisassembler.cpp
+  PROPERTY COMPILE_FLAGS "/Od"
+  )
+endif()
 add_dependencies(LLVMARMDisassembler ARMCodeGenTable_gen)