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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116201 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Francois Pichet 2010-10-11 11:36:19 +00:00
parent a1640d9ed9
commit 1265776243

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)