r302901 - Enabling the /bigobj flag for SemaDeclAttr.cpp.

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Fri May 12 07:30:49 PDT 2017


Author: aaronballman
Date: Fri May 12 09:30:49 2017
New Revision: 302901

URL: http://llvm.org/viewvc/llvm-project?rev=302901&view=rev
Log:
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.

Modified:
    cfe/trunk/lib/Sema/CMakeLists.txt

Modified: cfe/trunk/lib/Sema/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/CMakeLists.txt?rev=302901&r1=302900&r2=302901&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/CMakeLists.txt (original)
+++ cfe/trunk/lib/Sema/CMakeLists.txt Fri May 12 09:30:49 2017
@@ -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()
 




More information about the cfe-commits mailing list