<div dir="ltr">I added a test to check for the size of .idata section, in which LLD writes the import table. r233154.</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 24, 2015 at 5:02 PM, Rafael EspĂndola <span dir="ltr"><<a href="mailto:rafael.espindola@gmail.com" target="_blank">rafael.espindola@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 24 March 2015 at 19:51, Rui Ueyama <<a href="mailto:ruiu@google.com">ruiu@google.com</a>> wrote:<br>
> We could, but now LLD cannot produce duplicate entries, so we cannot make it<br>
> emit two versions and compare them. I could write a test that verifies that<br>
> file size of output is less than some value, but file size could change for<br>
> other reasons, I'm reluctant to write such test.<br>
><br>
> Maybe we could write a test to check if some string is contained only once<br>
> in a file?<br>
<br>
</span>Can you dump just that section/table? That way for a small test it<br>
should be ok to test the exact contents.<br>
<br>
Cheers,<br>
Rafael<br>
</blockquote></div><br></div>