r271399 - It seems we need to add SemaExpr.cpp to the /bigobj list; I am getting consistent failures of hitting the section count limit.

Yaron Keren via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 1 08:36:46 PDT 2016


Thanks!  I've just noticed this today locally. It happens with unoptimized
builds only so the bots are not catching it.



2016-06-01 18:17 GMT+03:00 Aaron Ballman via cfe-commits <
cfe-commits at lists.llvm.org>:

> Author: aaronballman
> Date: Wed Jun  1 10:17:54 2016
> New Revision: 271399
>
> URL: http://llvm.org/viewvc/llvm-project?rev=271399&view=rev
> Log:
> It seems we need to add SemaExpr.cpp to the /bigobj list; I am getting
> consistent failures of hitting the section count 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=271399&r1=271398&r2=271399&view=diff
>
> ==============================================================================
> --- cfe/trunk/lib/Sema/CMakeLists.txt (original)
> +++ cfe/trunk/lib/Sema/CMakeLists.txt Wed Jun  1 10:17:54 2016
> @@ -2,6 +2,10 @@ set(LLVM_LINK_COMPONENTS
>    Support
>    )
>
> +if (MSVC)
> +  set_source_files_properties(SemaExpr.cpp PROPERTIES COMPILE_FLAGS
> /bigobj)
> +endif()
> +
>  add_clang_library(clangSema
>    AnalysisBasedWarnings.cpp
>    AttributeList.cpp
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160601/eea263e1/attachment.html>


More information about the cfe-commits mailing list