[lld] r314616 - Run writeTo() concurrently.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 4 09:40:49 PDT 2017


Yes it does. This change allows us to write multiple output sections
concurrently which actually improves throughput.

On Wed, Oct 4, 2017 at 9:14 AM, George Rimar <grimar at accesssoftek.com>
wrote:

> >Author: ruiu
> >Date: Sat Sep 30 19:25:34 2017
> >New Revision: 314616
> >
> >URL: http://llvm.org/viewvc/llvm-project?rev=314616&view=rev
> >Log:
> >Run writeTo() concurrently.
> >
> >I don't know why we didn't use parallelForEach to call writeTo,
> >but there should be no reason to not do that, as most writeTo
> >functions are safe to run concurrently.
>
> We already were calling parallelForEachN inside OutputSection::writeTo()
> for proccessing input sections.
> Given that I wonder did this commit really speed up things ?
> I am asking mostly because of PR34806.
>
> George.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171004/3e0410c6/attachment.html>


More information about the llvm-commits mailing list