Qcov-gen

Produces an instrumented object file that can be used with the codecov or tselect tool.

IDE Equivalent

None

Architectures

IA-32, Intel® 64 architectures

Syntax

Linux and Mac OS X:

None

Windows:

/Qcov-gen

/Qcov-gen-

Arguments

None

Default

/Qcov-gen-

The instrumented object file is not produced.

Description

This option produces an instrumented object file that can be used with the code-coverage tool (codecov) or the test prioritization tool (tselect). The instrumented code is included in the object file in preparation for instrumented execution.

This option also creates a static profile information file (.spi) that can be used with the codecov or tselect tool.

When using the codecov and tselect tools, you must specify option /Qcov-gen, which is the same as the option /Qprof-gen=srcpos.

Alternate Options

None

See Also