[PATCH] D36351: [lld][ELF] Add profile guided section layout

Michael Spencer via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 27 21:11:02 PST 2017


On Mon, Nov 27, 2017 at 9:07 PM, Davide Italiano <davide at freebsd.org> wrote:

> Maybe this happens only on Linux? As far as I can tell the patch has been
> developed on Windows entirely. Michael, have you tried linux?
>

It has been tested mostly on Linux.

- Michael Spencer


>
> On Nov 27, 2017 9:05 PM, "Michael Spencer" <bigcheesegs at gmail.com> wrote:
>
>> On Mon, Nov 27, 2017 at 5:44 PM, Rui Ueyama <ruiu at google.com> wrote:
>>
>>> I rebased the patches to HEAD and tried to use it again. When I ran
>>> `bin/llvm-profdata merge default.profraw -o default.profdata`, it creates
>>> almost empty default.profdata and it shrunk default.profraw. That seems
>>> pretty odd to me. Michael, do you know what is going on?
>>>
>>> Before:
>>>
>>> -rw-r-----  1 ruiu eng  29M Nov 27 17:39 default.profraw
>>>
>>> After:
>>>
>>> -rw-r-----  1 ruiu eng  560 Nov 27 17:39 default.profdata
>>> -rw-r-----  1 ruiu eng 2.2M Nov 27 17:39 default.profraw
>>>
>>> The rebased patch is available at https://reviews.llvm.org/D40534.
>>>
>>
>> I'm not sure what the issue is without more information. My patch doesn't
>> change how llvm profile information works, it only uses the data.
>>
>> - Michael Spencer
>>
>>
>>>
>>> On Mon, Nov 27, 2017 at 2:01 PM, Davide Italiano <davide at freebsd.org>
>>> wrote:
>>>
>>>> On Mon, Nov 27, 2017 at 1:49 PM, Rui Ueyama <ruiu at google.com> wrote:
>>>> > I'm so sorry that I didn't respond in a timely manner. I'm reading it
>>>> again
>>>> > now.
>>>> >
>>>>
>>>> No worries, definitely not your fault. The whole back and forth has
>>>> been a little slow, but this has been around for almost 6 months now
>>>> (and has been in development for much longer) so we should really
>>>> decide whether we want to ship it or kill it :)
>>>>
>>>
>>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171127/d80c86e3/attachment.html>


More information about the llvm-commits mailing list