From: Aaron Ballman Date: Fri, 12 May 2017 14:30:49 +0000 (+0000) Subject: Enabling the /bigobj flag for SemaDeclAttr.cpp. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=27f45bd3d9cdc6114495986293d4e5d2c35c6eed;p=clang Enabling the /bigobj flag for SemaDeclAttr.cpp. This resolves compile errors with MSVC 2015 x64 debug builds where SemaDeclAttr.cpp is hitting the section symbol limit. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@302901 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Sema/CMakeLists.txt b/lib/Sema/CMakeLists.txt index 7a5973299f..7d9ae621c9 100644 --- a/lib/Sema/CMakeLists.txt +++ b/lib/Sema/CMakeLists.txt @@ -3,6 +3,7 @@ set(LLVM_LINK_COMPONENTS ) if (MSVC) + set_source_files_properties(SemaDeclAttr.cpp PROPERTIES COMPILE_FLAGS /bigobj) set_source_files_properties(SemaExpr.cpp PROPERTIES COMPILE_FLAGS /bigobj) endif()