<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">You can omit writing 0's only if the
section type is SHT_NOBITS.<br>
<br>
On 1/24/2015 7:44 AM, Sean Silva wrote:<br>
</div>
<blockquote
cite="mid:CAHnXoamveT=GG0RTwQu1ybSVktU70dtdLBss-EnP4V68PUXLYw@mail.gmail.com"
type="cite">
<pre wrap="">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 <a class="moz-txt-link-rfc2396E" href="mailto:ruiu@google.com"><ruiu@google.com></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Author: ruiu
Date: Wed Jan 21 13:15:56 2015
New Revision: 226693
URL: <a class="moz-txt-link-freetext" href="http://llvm.org/viewvc/llvm-project?rev=226693&view=rev">http://llvm.org/viewvc/llvm-project?rev=226693&view=rev</a>
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:
<a class="moz-txt-link-freetext" href="http://llvm.org/viewvc/llvm-project/lld/trunk/test/elf/sh_addralign.test?rev=226693&r1=226692&r2=226693&view=diff">http://llvm.org/viewvc/llvm-project/lld/trunk/test/elf/sh_addralign.test?rev=226693&r1=226692&r2=226693&view=diff</a>
==============================================================================
--- 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
<a class="moz-txt-link-abbreviated" href="mailto:llvm-commits@cs.uiuc.edu">llvm-commits@cs.uiuc.edu</a>
<a class="moz-txt-link-freetext" href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a>
</pre>
</blockquote>
<pre wrap="">
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
llvm-commits mailing list
<a class="moz-txt-link-abbreviated" href="mailto:llvm-commits@cs.uiuc.edu">llvm-commits@cs.uiuc.edu</a>
<a class="moz-txt-link-freetext" href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a>
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by the Linux Foundation</pre>
</body>
</html>