Does GCC record optimization information into binary file?

Siddhesh Poyarekar siddhesh@gotplt.org
Wed Jan 28 22:53:13 GMT 2026


On 2026-01-28 10:41, Qing Zhao via Gcc wrote:
> Does GCC provide any option to record optimization information, such as inlining, loop transformation,
>   profiling consistency, etc into specific sections of binary code?

I may be misremembering this, but I think David had some ideas about 
doing something like this in SARIF.

Sid


More information about the Gcc mailing list