[lld] r226693 - Fix slow test.
Will Newton
will.newton at linaro.org
Thu Jan 22 01:24:24 PST 2015
On 21 January 2015 at 19:15, 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: ''
Thanks for fixing this! I'm not sure why I made it so big, must have
been copy and pasted from some other test.
--
Will Newton
Toolchain Working Group, Linaro
More information about the llvm-commits
mailing list