[lld] r226693 - Fix slow test.
Sean Silva
chisophugis at gmail.com
Sat Jan 24 05:44:25 PST 2015
I assume this due to yaml2obj naively generating a section full of 0's
instead of omitting all the 0's. Maybe the attached patch makes sense?
-- Sean Silva
On Wed, Jan 21, 2015 at 7:15 PM, Rui Ueyama <ruiu at google.com> wrote:
> Author: ruiu
> Date: Wed Jan 21 13:15:56 2015
> New Revision: 226693
>
> URL: http://llvm.org/viewvc/llvm-project?rev=226693&view=rev
> Log:
> Fix slow test.
>
> yaml2obj command ran by this test took more than 15 seconds to finish
> because of extremely large .bss section. Other tests only takes 3 seconds.
> Reduce the size to make it faster.
>
> Modified:
> lld/trunk/test/elf/sh_addralign.test
>
> Modified: lld/trunk/test/elf/sh_addralign.test
> URL:
> http://llvm.org/viewvc/llvm-project/lld/trunk/test/elf/sh_addralign.test?rev=226693&r1=226692&r2=226693&view=diff
>
> ==============================================================================
> --- lld/trunk/test/elf/sh_addralign.test (original)
> +++ lld/trunk/test/elf/sh_addralign.test Wed Jan 21 13:15:56 2015
> @@ -23,7 +23,7 @@ Sections:
> Flags: [ SHF_WRITE, SHF_ALLOC ]
> AddressAlign: 1
> Content: ''
> - Size: 0x80000000
> + Size: 0x1000
> - Name: .data
> Type: SHT_PROGBITS
> Content: ''
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150124/9e3fb99a/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: yaml2obj.patch
Type: application/octet-stream
Size: 724 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150124/9e3fb99a/attachment.obj>
More information about the llvm-commits
mailing list