From: Aaron Ballman Date: Wed, 2 Nov 2016 14:31:36 +0000 (+0000) Subject: Turn on the /bigobj switch for RecursiveASTVisitorTest.cpp; we are now bumping up... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=71f89259bf5ae6008ff3ccba729366d838e1b8e6;p=clang Turn on the /bigobj switch for RecursiveASTVisitorTest.cpp; we are now bumping up against that limit with MSVC 2015 in Win64 debug build mode. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@285810 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/unittests/Tooling/CMakeLists.txt b/unittests/Tooling/CMakeLists.txt index b4b3f404e2..185f43b6a8 100644 --- a/unittests/Tooling/CMakeLists.txt +++ b/unittests/Tooling/CMakeLists.txt @@ -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()