DescriptionSupport Visual C++ PGO in Ninja generator
This CL teaches msvs_emulation.py about following settings so that ninja ganarate can handle Progile-Guided Optiomization (PGO) settings for Visual C++.
- VCLinkerTool.LinkTimeCodeGeneration
-- 2: /LTCG:PGINSTRUMENT
-- 3: /LTCG:PGOPTIMIZE
-- 4: /LTCG:PGUPDATE
- VCLinkerTool.ProfileGuidedDatabase
Note that LinkTimeCodeGenerationOption.LinkTimeCodeGenerationOptionUse is partially supported for LTCG (Link-Time Code Generator). This CL also adds unittests for LTCG in addition to unittests for PGO.
BUG=gyp:385
TEST=gyptest.py test/win/gyptest-link-ltcg.py test/win/gyptest-link-pgo.py
R=scottmg@chromium.org
Committed: https://code.google.com/p/gyp/source/detail?r=1803
Patch Set 1 #
Total comments: 4
Patch Set 2 : #
Total comments: 2
Patch Set 3 : #Patch Set 4 : #
Messages
Total messages: 6 (0 generated)
|