Skip to content

Commit 80a9124

Browse files
authored
Merge pull request #4007 from RussKeldorph/patch-1
Update ltcg-link-time-code-generation.md
2 parents b3decc0 + bfedc2f commit 80a9124

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/build/reference/ltcg-link-time-code-generation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ These options are deprecated starting in Visual Studio 2015:
2727
(Optional) Specifies whether the linker displays a progress indicator that shows what percentage of the link is complete. By default, this status information isn't displayed.
2828

2929
**`OFF`**<br/>
30-
(Optional) Disables link-time code generation. This behavior is the same as when **`/LTCG`** isn't specified on the command line.
30+
(Optional) Disables link-time code generation. The linker treats all modules compiled with **`/GL`** as if they're compiled without that option, and any MSIL modules cause the link to fail.
3131

3232
**`PGINSTRUMENT`**<br/>
3333
(Optional) This option is deprecated starting in Visual Studio 2015. Instead, use **`/LTCG`** and [`/GENPROFILE` or `/FASTGENPROFILE`](genprofile-fastgenprofile-generate-profiling-instrumented-build.md) to generate an instrumented build for profile-guided optimization. The data that is collected from instrumented runs is used to create an optimized image. For more information, see [Profile-Guided Optimizations](../profile-guided-optimizations.md). The short form of this option is **`/LTCG:PGI`**.

0 commit comments

Comments
 (0)