From 27f45bd3d9cdc6114495986293d4e5d2c35c6eed Mon Sep 17 00:00:00 2001 From: Aaron Ballman Date: Fri, 12 May 2017 14:30:49 +0000 Subject: [PATCH] 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 --- lib/Sema/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) 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() -- 2.50.1