<div dir="ltr">Which C compilers do we have that are not capable of producing ELF binaries?   GCC on Windows maybe?  That's not even a supported test configuration.</div><br><div class="gmail_quote"><div dir="ltr">On Mon, Apr 24, 2017 at 2:29 PM Pavel Labath via Phabricator <<a href="mailto:reviews@reviews.llvm.org">reviews@reviews.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">labath added a comment.<br>
<br>
In <a href="https://reviews.llvm.org/D32434#735877" rel="noreferrer" target="_blank">https://reviews.llvm.org/D32434#735877</a>, @eugene wrote:<br>
<br>
> Is it  really necessary to check in binary ELF files?<br>
>  I understand that we don't always have a C compiler capable of producing ELF files, but maybe it's ok to skip this test on those platforms.<br>
<br>
<br>
That is something very I am very much trying to avoid, as that means people on those platforms cannot validate their changes. (And I'm not sure if I even want to be running a compiler for a test at this level, as that introduces a level of nondeterminism.)<br>
<br>
That said, I do agree we should be carefully about adding lots of binary bloat. I have been trying to put this off until we have more of these, but maybe I could try integrating this with obj2yaml -- it does not seem to preserve program headers, but I don't actually need those for this test.<br>
<br>
<br>
<a href="https://reviews.llvm.org/D32434" rel="noreferrer" target="_blank">https://reviews.llvm.org/D32434</a><br>
<br>
<br>
<br>
</blockquote></div>