[llvm] r216647 - MC: Don't crash when the COFF section limit is reached

Reid Kleckner rnk at google.com
Thu Aug 28 09:34:38 PDT 2014


I think David was using weak_odr globals from a .ll file, but I suppose a
.s file would be faster.


On Thu, Aug 28, 2014 at 7:45 AM, Rafael EspĂ­ndola <
rafael.espindola at gmail.com> wrote:

> On 28 August 2014 00:02, David Majnemer <david.majnemer at gmail.com> wrote:
> > Author: majnemer
> > Date: Wed Aug 27 23:02:50 2014
> > New Revision: 216647
> >
> > URL: http://llvm.org/viewvc/llvm-project?rev=216647&view=rev
> > Log:
> > MC: Don't crash when the COFF section limit is reached
> >
> > I've decided not to commit a test, it takes 2.5 seconds to run on my an
> > incredibly strong machine.
>
> The test is just a long sequence of .section? it might be worth it
> debugging why it is so slow. The corresponding ELF test is
> test/MC/ELF/many-sections-2.s and on my laptop:
>
> $ time ./bin/llvm-lit ~/llvm/llvm/test/MC/ELF/many-sections-2.s
> -- Testing: 1 tests, 1 threads --
> PASS: LLVM :: MC/ELF/many-sections-2.s (1 of 1)
> Testing Time: 0.60s
>   Expected Passes    : 1
>
> real 0m0.696s
> user 0m0.549s
> sys 0m0.163s
>
> Cheers,
> Rafael
> _______________________________________________
> 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/20140828/b42f8154/attachment.html>


More information about the llvm-commits mailing list