Enables the annotated source listing feature and specifies its format.
Linux and macOS:
- Specifies the format for the annotated source listing. You can specify one of the following:
- Indicates that the listing should be in text format. This is the default if you do not specifykeyword.
- Indicates that the listing should be in html format.
- No annotated source listing is generated
This option enables the annotated source listing feature and specifies its format. The feature annotates source files with compiler optimization reports.
By default, one annotated source file is output per object. The annotated file is written to the same directory where the object files are generated. If the object file is a temporary file and an executable is generated, annotated files are placed in the directory where the executable is placed. You cannot generate annotated files to a directory of your choosing.
However, you can output annotated listings to stdout, stderr, or to a file if you also specify option
[q or Q]opt-report-file.
By default, this option sets option
[q or Q]opt-reportwith default level 2.
The following shows