diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2012-08-01 09:06:53 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2012-08-01 09:06:53 (GMT) |
commit | d49b323270970bc8579bb59eba65235e9bc31fb3 (patch) | |
tree | ccf9b67e34620c9b691008314ca5fdbe56547a46 | |
parent | b685d19eb395dec1ead39df9770b1f77f332776f (diff) | |
download | cpython-d49b323270970bc8579bb59eba65235e9bc31fb3.zip cpython-d49b323270970bc8579bb59eba65235e9bc31fb3.tar.gz cpython-d49b323270970bc8579bb59eba65235e9bc31fb3.tar.bz2 |
Issue #8847: Disable COMDAT folding in Windows PGO builds.
Patch by Stefan Krah.
-rw-r--r-- | PCbuild/pginstrument.props | 4 | ||||
-rw-r--r-- | PCbuild/pylauncher.vcxproj | 14 | ||||
-rw-r--r-- | PCbuild/pywlauncher.vcxproj | 6 |
3 files changed, 12 insertions, 12 deletions
diff --git a/PCbuild/pginstrument.props b/PCbuild/pginstrument.props index 6da2742..5584995 100644 --- a/PCbuild/pginstrument.props +++ b/PCbuild/pginstrument.props @@ -24,7 +24,7 @@ </ClCompile> <Link> <OptimizeReferences>true</OptimizeReferences> - <EnableCOMDATFolding>true</EnableCOMDATFolding> + <EnableCOMDATFolding>false</EnableCOMDATFolding> <LinkTimeCodeGeneration>PGInstrument</LinkTimeCodeGeneration> <ProfileGuidedDatabase>$(SolutionDir)$(Platform)-pgi\$(TargetName).pgd</ProfileGuidedDatabase> <ImportLibrary>$(OutDirPGI)\$(TargetName).lib</ImportLibrary> @@ -35,4 +35,4 @@ <Value>$(OutDirPGI)</Value> </BuildMacro> </ItemGroup> -</Project>
\ No newline at end of file +</Project> diff --git a/PCbuild/pylauncher.vcxproj b/PCbuild/pylauncher.vcxproj index d1ecdf0..9fa93dd 100644 --- a/PCbuild/pylauncher.vcxproj +++ b/PCbuild/pylauncher.vcxproj @@ -199,7 +199,7 @@ </ClCompile> <Link> <GenerateDebugInformation>true</GenerateDebugInformation> - <EnableCOMDATFolding>true</EnableCOMDATFolding> + <EnableCOMDATFolding>false</EnableCOMDATFolding> <OptimizeReferences>true</OptimizeReferences> <IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries> <AdditionalDependencies>version.lib;%(AdditionalDependencies)</AdditionalDependencies> @@ -216,7 +216,7 @@ </ClCompile> <Link> <GenerateDebugInformation>true</GenerateDebugInformation> - <EnableCOMDATFolding>true</EnableCOMDATFolding> + <EnableCOMDATFolding>false</EnableCOMDATFolding> <OptimizeReferences>true</OptimizeReferences> <IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries> <AdditionalDependencies>version.lib;%(AdditionalDependencies)</AdditionalDependencies> @@ -233,7 +233,7 @@ </ClCompile> <Link> <GenerateDebugInformation>true</GenerateDebugInformation> - <EnableCOMDATFolding>true</EnableCOMDATFolding> + <EnableCOMDATFolding>false</EnableCOMDATFolding> <OptimizeReferences>true</OptimizeReferences> <IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries> <AdditionalDependencies>version.lib;%(AdditionalDependencies)</AdditionalDependencies> @@ -250,7 +250,7 @@ </ClCompile> <Link> <GenerateDebugInformation>true</GenerateDebugInformation> - <EnableCOMDATFolding>true</EnableCOMDATFolding> + <EnableCOMDATFolding>false</EnableCOMDATFolding> <OptimizeReferences>true</OptimizeReferences> <IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries> <AdditionalDependencies>version.lib;%(AdditionalDependencies)</AdditionalDependencies> @@ -267,7 +267,7 @@ </ClCompile> <Link> <GenerateDebugInformation>true</GenerateDebugInformation> - <EnableCOMDATFolding>true</EnableCOMDATFolding> + <EnableCOMDATFolding>false</EnableCOMDATFolding> <OptimizeReferences>true</OptimizeReferences> <IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries> <AdditionalDependencies>version.lib;%(AdditionalDependencies)</AdditionalDependencies> @@ -284,7 +284,7 @@ </ClCompile> <Link> <GenerateDebugInformation>true</GenerateDebugInformation> - <EnableCOMDATFolding>true</EnableCOMDATFolding> + <EnableCOMDATFolding>false</EnableCOMDATFolding> <OptimizeReferences>true</OptimizeReferences> <IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries> <AdditionalDependencies>version.lib;%(AdditionalDependencies)</AdditionalDependencies> @@ -308,4 +308,4 @@ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> <ImportGroup Label="ExtensionTargets"> </ImportGroup> -</Project>
\ No newline at end of file +</Project> diff --git a/PCbuild/pywlauncher.vcxproj b/PCbuild/pywlauncher.vcxproj index ca517da..0ada901 100644 --- a/PCbuild/pywlauncher.vcxproj +++ b/PCbuild/pywlauncher.vcxproj @@ -143,7 +143,7 @@ </ClCompile> <Link> <GenerateDebugInformation>true</GenerateDebugInformation> - <EnableCOMDATFolding>true</EnableCOMDATFolding> + <EnableCOMDATFolding>false</EnableCOMDATFolding> <OptimizeReferences>true</OptimizeReferences> <IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries> <AdditionalDependencies>version.lib;%(AdditionalDependencies)</AdditionalDependencies> @@ -160,7 +160,7 @@ </ClCompile> <Link> <GenerateDebugInformation>true</GenerateDebugInformation> - <EnableCOMDATFolding>true</EnableCOMDATFolding> + <EnableCOMDATFolding>false</EnableCOMDATFolding> <OptimizeReferences>true</OptimizeReferences> <IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries> <AdditionalDependencies>version.lib;%(AdditionalDependencies)</AdditionalDependencies> @@ -199,4 +199,4 @@ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> <ImportGroup Label="ExtensionTargets"> </ImportGroup> -</Project>
\ No newline at end of file +</Project> |