Automatic PGO - Initial implementation (1/N)

Renato Golin renato.golin at linaro.org
Tue Sep 24 13:38:30 PDT 2013


On 24 September 2013 19:38, Eric Christopher <echristo at gmail.com> wrote:

> -gline-tables-only (or -gmlt in gcc parlance). This will give you
> accurate call stack information for each sample. Or at least as
> accurate as I can get it.
>

FWIW, I'm using perf with "-O3 -g" and LLVM has retained the line
information quite well throughout all the inlining and optimizations that
happened.

I assume it's easier to keep line information than variable location ranges
and types. The biggest problem is to separate the two emissions, I guess,
not the quality of the resulting information.

cheers,
--renato
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130924/47d399d3/attachment.html>


More information about the llvm-commits mailing list