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

Michael Spencer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 15 18:18:46 PST 2017


Bigcheese added a comment.

In https://reviews.llvm.org/D36351#957139, @ruiu wrote:

> Then I wonder why you need to pass a profile data to the linker as a text file in the first place. Does the data embedded to an object file lack something, like inter-compilation-unit call frequency?


The text file is a separate way to get the call graph profile into the linker. @rafael wanted to do that as a first pass to simplify the patch, but you wanted to see the full thing.


https://reviews.llvm.org/D36351





More information about the llvm-commits mailing list