<div dir="ltr"><div dir="ltr">Hi,<div><br></div><div>Recently one Windows build bot failed by my commit, because the obj file being generated is too big:</div><div><br></div><div>C:\ps4-buildslave2\llvm-clang-x86_64-expensive-checks-win\llvm\tools\clang\unittests\AST\ASTImporterTest.cpp : fatal error C1128: number of sections exceeded object file format limit: compile with /bigobj<br></div><div><br></div><div>Is there an LLVM policy to limit the maximum size of the generated obj files?</div><div>If not then I suspect the only solution is to turn on /bigobj on the build bot, right?</div><div>(Of course, I could refactor the cpp file to several smaller ones, but how do I know where to cut it?)</div><div><br></div><div>Thanks,</div><div>Gabor</div></div></div>