From: Aaron Ballman Date: Wed, 1 Jun 2016 15:17:54 +0000 (+0000) Subject: It seems we need to add SemaExpr.cpp to the /bigobj list; I am getting consistent... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6c2144af3f0e10fefc1196a7ec6d49d38d591169;p=clang It seems we need to add SemaExpr.cpp to the /bigobj list; I am getting consistent failures of hitting the section count limit. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@271399 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Sema/CMakeLists.txt b/lib/Sema/CMakeLists.txt index 8aa005102f..7a5973299f 100644 --- a/lib/Sema/CMakeLists.txt +++ b/lib/Sema/CMakeLists.txt @@ -2,6 +2,10 @@ set(LLVM_LINK_COMPONENTS Support ) +if (MSVC) + set_source_files_properties(SemaExpr.cpp PROPERTIES COMPILE_FLAGS /bigobj) +endif() + add_clang_library(clangSema AnalysisBasedWarnings.cpp AttributeList.cpp