File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,7 @@ echo. --experimental-jit-off Ditto but off by default (PYTHON_JIT=1 enable
4141echo . --experimental-jit-interpreter Enable the experimental Tier 2 interpreter.
4242echo . --pystats Enable PyStats collection.
4343echo . --tail-call-interp Enable tail-calling interpreter (requires LLVM 19 or higher).
44+ echo . --enable-stackref-debug Enable stackref debugging mode.
4445echo .
4546echo .Available flags to avoid building certain modules.
4647echo .These flags have no effect if '-e' is not given:
@@ -98,6 +99,7 @@ if "%~1"=="--experimental-jit-interpreter-off" (set UseTIER2=6) & shift & goto C
9899if " %~1 " == " --without-remote-debug" (set DisableRemoteDebug=true) & shift & goto CheckOpts
99100if " %~1 " == " --pystats" (set PyStats=1) & shift & goto CheckOpts
100101if " %~1 " == " --tail-call-interp" (set UseTailCallInterp=true) & shift & goto CheckOpts
102+ if " %~1 " == " --enable-stackref-debug" (set StackRefDebug=true) & shift & goto CheckOpts
101103rem These use the actual property names used by MSBuild. We could just let
102104rem them in through the environment, but we specify them on the command line
103105rem anyway for visibility so set defaults after this
@@ -202,6 +204,7 @@ echo on
202204 /p:PyStats=%PyStats% ^
203205 /p:UseTailCallInterp=%UseTailCallInterp% ^
204206 /p:DisableRemoteDebug=%DisableRemoteDebug% ^
207+ /p:StackRefDebug=%StackRefDebug% ^
205208 %1 %2 %3 %4 %5 %6 %7 %8 %9
206209
207210@ echo off
Original file line number Diff line number Diff line change 110110 <PreprocessorDefinitions Condition =" '$(UseTailCallInterp)' == 'true'" >_Py_TAIL_CALL_INTERP=1;%(PreprocessorDefinitions)</PreprocessorDefinitions >
111111 <PreprocessorDefinitions Condition =" '$(WITH_COMPUTED_GOTOS)' != ''" >HAVE_COMPUTED_GOTOS;%(PreprocessorDefinitions)</PreprocessorDefinitions >
112112 <PreprocessorDefinitions Condition =" '$(DisableRemoteDebug)' != 'true'" >Py_REMOTE_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions >
113+ <PreprocessorDefinitions Condition =" '$(StackRefDebug)' == 'true'" >Py_STACKREF_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions >
113114 </ClCompile >
114115 <Link >
115116 <AdditionalDependencies >version.lib;ws2_32.lib;pathcch.lib;bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies >
You can’t perform that action at this time.
0 commit comments