<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>rL349357 - we manually add /bigobj quite a bit to fix this sort
of thing. Although I don't think anyone ever goes around to check
if any entries can ever be removed again...<br>
</p>
<div class="moz-cite-prefix">On 17/12/2018 15:12, Gábor Márton via
cfe-dev wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAH6rKyC8KH5kF-FN-8c8bifrfoOg_1eAr+2d6z32vnSiOHPtuw@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<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>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
LLVM Developers mailing list
<a class="moz-txt-link-abbreviated" href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>
<a class="moz-txt-link-freetext" href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a>
</pre>
</blockquote>
</body>
</html>