Storing optimization choices in an ELF section

Florian Weimer fweimer@gapps.redhat.com
Sat Jun 3 09:45:00 GMT 2017


On Thu, Jun 1, 2017 at 2:45 PM, Ludovic Courtès <ludo@gnu.org> wrote:
> A proprietary compiler stores information about optimizations it has
> made (loop unrolling, vectorization, etc.) in a ‘.debug_opt_report’ ELF
> section.  This information can later be exploited by performance
> analysis tools, which can help understand performance.
>
> Has there been any thought on implementing something similar in GCC?

Yes: https://fedoraproject.org/wiki/Toolchain/Watermark

Nick Clifton has been working on the binutils side of the implementation.

Thanks,
Florian



More information about the Gcc-help mailing list