diff options
Diffstat (limited to 'lib/CodeGen/CMakeLists.txt')
-rw-r--r-- | lib/CodeGen/CMakeLists.txt | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/CodeGen/CMakeLists.txt b/lib/CodeGen/CMakeLists.txt index 84248cc64719..2a0f4f0e83ec 100644 --- a/lib/CodeGen/CMakeLists.txt +++ b/lib/CodeGen/CMakeLists.txt @@ -7,6 +7,7 @@ set(LLVM_LINK_COMPONENTS Coverage IPO IRReader + AggressiveInstCombine InstCombine Instrumentation LTO @@ -31,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 @@ -56,6 +61,7 @@ add_clang_library(clangCodeGen CGExprScalar.cpp CGGPUBuiltin.cpp CGLoopInfo.cpp + CGNonTrivialStruct.cpp CGObjC.cpp CGObjCGNU.cpp CGObjCMac.cpp @@ -93,7 +99,6 @@ add_clang_library(clangCodeGen LINK_LIBS clangAnalysis clangAST - clangAnalysis clangBasic clangFrontend clangLex |