MSVC hangs on compilation of ARMDisassembler.cpp. PR6866 applied to ARM target.

llvm-svn: 116201
This commit is contained in:
Francois Pichet 2010-10-11 11:36:19 +00:00
parent b151c3c2d6
commit 0f5bfd27a3
1 changed files with 7 additions and 1 deletions

View 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)