Sun Studio 12 Update 1: Fortran User's Guide

3.4.109 -xannotate[={yes|no}]

(Solaris Only) Instructs the compiler to create binaries that can later be transformed by binary modification tools like binopt(1).

Future binary analysis, code coverage and memory error detection tools will also work with binaries built with this option.

Use the -xannotate=no option to prevent the modification of the binary file by these tools. The -xannotate=yes option must be used with optimization level -xO1 or higher to be effective, and it is only effective on systems with the new linker support library interface - ld_open(). If the compiler is used on a system without this linker interface (for example Solaris 9 and early versions of Solaris 10), it silently will revert to -xannotate=no.

The default is -xannotate=yes, but if either of the above conditions is not met, the default reverts to -xannotate=no.

This option is not available on Linux systems.