Author: aaronballman Date: Wed Nov 2 09:31:36 2016 New Revision: 285810 URL: http://llvm.org/viewvc/llvm-project?rev=285810&view=rev Log: Turn on the /bigobj switch for RecursiveASTVisitorTest.cpp; we are now bumping up against that limit with MSVC 2015 in Win64 debug build mode.
Modified: cfe/trunk/unittests/Tooling/CMakeLists.txt Modified: cfe/trunk/unittests/Tooling/CMakeLists.txt URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/unittests/Tooling/CMakeLists.txt?rev=285810&r1=285809&r2=285810&view=diff ============================================================================== --- cfe/trunk/unittests/Tooling/CMakeLists.txt (original) +++ cfe/trunk/unittests/Tooling/CMakeLists.txt Wed Nov 2 09:31:36 2016 @@ -6,6 +6,7 @@ set(LLVM_LINK_COMPONENTS # By default MSVC has a 2^16 limit on the number of sections in an object file, # and this needs more than that. if (MSVC) + set_source_files_properties(RecursiveASTVisitorTest.cpp PROPERTIES COMPILE_FLAGS /bigobj) set_source_files_properties(RecursiveASTVisitorTestExprVisitor.cpp PROPERTIES COMPILE_FLAGS /bigobj) endif() _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits