Skip to content
Snippets Groups Projects
Commit e2c9bf15 authored by Aaron Ballman's avatar Aaron Ballman
Browse files

Turning on the /bigobj flag for two more files that will not link with MSVC...

Turning on the /bigobj flag for two more files that will not link with MSVC 2015 Win64 Debug due to the section limit.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@262938 91177308-0d34-0410-b5e6-96231b3b80d8
parent 2ac86c73
No related branches found
No related tags found
No related merge requests found
...@@ -2,6 +2,12 @@ set(LLVM_LINK_COMPONENTS ...@@ -2,6 +2,12 @@ set(LLVM_LINK_COMPONENTS
Support Support
) )
# 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(ASTMatchersTest.cpp PROPERTIES COMPILE_FLAGS /bigobj)
endif()
add_clang_unittest(ASTMatchersTests add_clang_unittest(ASTMatchersTests
ASTMatchersTest.cpp) ASTMatchersTest.cpp)
......
...@@ -3,6 +3,12 @@ set(LLVM_LINK_COMPONENTS ...@@ -3,6 +3,12 @@ set(LLVM_LINK_COMPONENTS
Support Support
) )
# 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(RecursiveASTVisitorTestExprVisitor.cpp PROPERTIES COMPILE_FLAGS /bigobj)
endif()
add_clang_unittest(ToolingTests add_clang_unittest(ToolingTests
CommentHandlerTest.cpp CommentHandlerTest.cpp
CompilationDatabaseTest.cpp CompilationDatabaseTest.cpp
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment