Intel® C++ Compiler 16.0 User and Reference Guide

Qcov-gen

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

Architecture Restrictions

Not available on Intel® 64 architecture targeting the Intel® Xeon Phi™ coprocessor x100 product family (formerly code name Knights Corner), on IA-32 architecture targeting Intel® Graphics Technology, or on Intel® 64 architecture targeting Intel® Graphics Technology

Syntax

Linux and 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.

Option /Qcov-gen should be used to minimize the instrumentation overhead if you are interested in using the instrumentation only for code coverage. You should use /Qprof-gen:srcpos if you intend to use the collected data for code coverage and profile feedback.

IDE Equivalent

Visual Studio: General > Code Coverage Build Options

Eclipse: None

Xcode: None

Alternate Options

None

See Also