[lld] r226693 - Fix slow test.

Simon Atanasyan simon at atanasyan.com
Mon Jan 26 11:13:30 PST 2015


By the way, sometimes running lld with "env LLD_RUN_ROUNDTRIP_TEST="
greatly reduce the test execution time.

On Mon, Jan 26, 2015 at 9:34 PM, Shankar Easwaran
<shankare at codeaurora.org> wrote:
> You can omit writing 0's only if the section type is SHT_NOBITS.
>
>
> On 1/24/2015 7:44 AM, Sean Silva wrote:
>
> 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.

-- 
Simon Atanasyan



More information about the llvm-commits mailing list