mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
GH-96572: fix use after free in trace refs build mode (GH-96618)
(cherry picked from commit 67444902a0
)
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
This commit is contained in:
parent
26dc4dfac3
commit
a389fdb095
2 changed files with 2 additions and 1 deletions
|
@ -44,7 +44,7 @@
|
|||
# error "ceval.c must be build with Py_BUILD_CORE define for best performance"
|
||||
#endif
|
||||
|
||||
#ifndef Py_DEBUG
|
||||
#if !defined(Py_DEBUG) && !defined(Py_TRACE_REFS)
|
||||
// GH-89279: The MSVC compiler does not inline these static inline functions
|
||||
// in PGO build in _PyEval_EvalFrameDefault(), because this function is over
|
||||
// the limit of PGO, and that limit cannot be configured.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue