Storing optimization choices in an ELF section

Ludovic Courtès ludo@gnu.org
Thu Jun 1 12:45:00 GMT 2017


Hello,

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?

Thanks,
Ludo’.



More information about the Gcc-help mailing list