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

Rafael Avila de Espindola via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 31 12:50:45 PST 2018


Rafael Avila de Espindola <rafael.espindola at gmail.com> writes:

> Rafael Avila de Espindola <rafael.espindola at gmail.com> writes:
>
>> The patch needs to be rebased and clang formatted
>>
>> We should start with a version that doesn't depend on the llvm side, as
>> there are too many moving pieces right now.
>>
>> I have started working on the above.
>
> OK, I have a patch against lld trunk that I can build standalone. I will
> test it with perf generated call graphs and report.

I am getting a crash when trying to link lld itself.

The testcase is at
https://s3-us-west-2.amazonaws.com/linker-tests/t.tar.xz.

Please take a look and upload a new version of the patch I emailed. That
is: read callgrah from a text file and no dependencies on llvm changes.

The error also happens with --no-threads. The valgrind reported errors
are attached.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: err.xz
Type: application/x-xz
Size: 3040 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180131/43d839ca/attachment.bin>
-------------- next part --------------

Cheers,
Rafael


More information about the llvm-commits mailing list