This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Storing optimization choices in an ELF section
Florian Weimer <fweimer@gapps.redhat.com> skribis:
> 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.
Awesome, thanks.
Ludo’.