]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-113655: Increase stack reserve size on Windows for when running PGO (GH-115770)
authorSteve Dower <steve.dower@python.org>
Wed, 21 Feb 2024 19:46:46 +0000 (19:46 +0000)
committerGitHub <noreply@github.com>
Wed, 21 Feb 2024 19:46:46 +0000 (19:46 +0000)
PCbuild/python.vcxproj
PCbuild/pythonw.vcxproj

index f4640454a73070f6940efd24184504898b3b7802..846c87fd1ac1404e966d248e0d4b6c6f762b1ce6 100644 (file)
@@ -96,6 +96,7 @@
       <SubSystem>Console</SubSystem>
       <StackReserveSize Condition="$(Configuration) != 'Debug'">2000000</StackReserveSize>
       <StackReserveSize Condition="$(Configuration) == 'Debug'">8000000</StackReserveSize>
+      <StackReserveSize Condition="$(Configuration) == 'PGInstrument'">8000000</StackReserveSize>
     </Link>
   </ItemDefinitionGroup>
   <ItemGroup>
index e23635e5ea9411bfb8bd48b2692aa17beeccddba..f485352f642fa2e73d15d64c5e57c86959076957 100644 (file)
@@ -91,6 +91,7 @@
     <Link>
       <StackReserveSize Condition="$(Configuration) != 'Debug'">2000000</StackReserveSize>
       <StackReserveSize Condition="$(Configuration) == 'Debug'">8000000</StackReserveSize>
+      <StackReserveSize Condition="$(Configuration) == 'PGInstrument'">8000000</StackReserveSize>
     </Link>
   </ItemDefinitionGroup>
   <ItemGroup>