[cfe-dev] Windows /bigobj

Gábor Márton via cfe-dev cfe-dev at lists.llvm.org
Mon Dec 17 07:12:12 PST 2018


Recently one Windows build bot failed by my commit, because the obj file
being generated is too big:

: fatal error C1128: number of sections exceeded object file format limit:
compile with /bigobj

Is there an LLVM policy to limit the maximum size of the generated obj
If not then I suspect the only solution is to turn on /bigobj on the build
bot, right?
(Of course, I could refactor the cpp file to several smaller ones, but how
do I know where to cut it?)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20181217/8c4a6897/attachment.html>

More information about the cfe-dev mailing list