[lld] r226693 - Fix slow test.
shankare at codeaurora.org
Mon Jan 26 10:34:16 PST 2015
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
>> 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
>> --- 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
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by the Linux Foundation
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-commits