Re: Storing optimization choices in an ELF section

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 01/06/17 13:45, Ludovic Courtès 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?

It's all in the -fverbose-asm output.  It would be almost trivial
to output that into a .debug_opt_report section.

-- 
Andrew Haley
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux