forked from OSchip/llvm-project
MSVC hangs on compilation of ARMDisassembler.cpp. PR6866 applied to ARM target.
llvm-svn: 116201
This commit is contained in:
parent
b151c3c2d6
commit
0f5bfd27a3
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue