Requesting Compiler Reports with the xi* Tools
The compiler options
[Q]opt-report(Windows*) generate optimization reports with different levels of detail. Related compiler options, listed under Optimization Report Options, allow you to specify the phase, direct output to a file (instead of
stderr), and request reports from all routines with names containing a specific string as part of their name.
The xi* tools are used with inter-procedural optimization (IPO) during the final stage of IPO compilation. You can request compiler reports to be generated during the final IPO compilation by using certain options. The supported xi* tools are:
- Linker tools:xilink(Windows*) andxild(Linux* and)macOS*
- Library tools:xilib(Windows*),xiar(Linux* and),macOS*xilibtool()macOS*
The following tables lists the compiler report options that can be used with the xi* tools during the final IPO compilation.
Optimization Report Option
n] (Linux* and
Enables optimization report generation with different levels of detail. Valid values for
nare 0 through 5. By default, when you specify this option without passing a value the compiler will generate a report with a medium level of detail. Higher numbers give greater levels of detail.