summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2016-11-02 14:31:36 +0000
committerAaron Ballman <aaron@aaronballman.com>2016-11-02 14:31:36 +0000
commit6b42a5b0fdc02806ce19e4f8611981bd5b471cba (patch)
treea7a47dae1a3c72aa488bb2fb9b9c33838a045825 /clang
parent7bfa6856113854ecf579f2e2ff191df74a2a02dd (diff)
downloadbcm5719-llvm-6b42a5b0fdc02806ce19e4f8611981bd5b471cba.tar.gz
bcm5719-llvm-6b42a5b0fdc02806ce19e4f8611981bd5b471cba.zip
Turn on the /bigobj switch for RecursiveASTVisitorTest.cpp; we are now bumping up against that limit with MSVC 2015 in Win64 debug build mode.
llvm-svn: 285810
Diffstat (limited to 'clang')
-rw-r--r--clang/unittests/Tooling/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/unittests/Tooling/CMakeLists.txt b/clang/unittests/Tooling/CMakeLists.txt
index b4b3f404e27..185f43b6a8c 100644
--- a/clang/unittests/Tooling/CMakeLists.txt
+++ b/clang/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()
OpenPOWER on IntegriCloud