Compile CodeGenModule.cpp with /bigobj.

Apparently we're now hitting an object file section limit on this
file with expensive checks enabled.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@335636 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Peter Collingbourne 2018-06-26 17:45:26 +00:00
parent d0be2a09df
commit 032d43a8fe
1 changed files with 4 additions and 0 deletions

View File

@ -32,6 +32,10 @@ if (CLANG_BUILT_STANDALONE)
set(codegen_deps)
endif()
if (MSVC)
set_source_files_properties(CodeGenModule.cpp PROPERTIES COMPILE_FLAGS /bigobj)
endif()
add_clang_library(clangCodeGen
BackendUtil.cpp
CGAtomic.cpp