[lld] r233128 - PECOFF: Reduce import table size.

Rui Ueyama ruiu at google.com
Tue Mar 24 17:21:20 PDT 2015


I added a test to check for the size of .idata section, in which LLD writes
the import table. r233154.

On Tue, Mar 24, 2015 at 5:02 PM, Rafael EspĂ­ndola <
rafael.espindola at gmail.com> wrote:

> On 24 March 2015 at 19:51, Rui Ueyama <ruiu at google.com> wrote:
> > We could, but now LLD cannot produce duplicate entries, so we cannot
> make it
> > emit two versions and compare them. I could write a test that verifies
> that
> > file size of output is less than some value, but file size could change
> for
> > other reasons, I'm reluctant to write such test.
> >
> > Maybe we could write a test to check if some string is contained only
> once
> > in a file?
>
> Can you dump just that section/table? That way for a small test it
> should be ok to test the exact contents.
>
> Cheers,
> Rafael
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150324/1b2d106e/attachment.html>


More information about the llvm-commits mailing list