Produces an instrumented object file that can be used with the codecov or tselect tool.
Linux and macOS:
- The instrumented object file is not produced.
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.
/Qcov-genshould be used to minimize the instrumentation overhead if you are interested in using the instrumentation only for code coverage. You should use
/Qprof-gen:srcposif you intend to use the collected data for code coverage and profile feedback.