LINK /LTCG

Syntax

/ltcg[:style]

At most one argument is permitted. The argument is a simple keyword. Permitted values are nostatus, pgi, pginstrument, pgo, pgoptimize and status. Anything else is a fatal error (LNK1117), as is the provision of excess arguments.

The pgi and pginstrument keywords are equivalent, as are pgo and pgoptimize.

The /ltcg option is for the command line only. It is not valid as a directive in an object file.