GH-139193: Fix dump_stack when PYTHON_LLTRACE=4 (GH-139384)
This commit is contained in:
@@ -296,6 +296,12 @@ PyStackRef_IsError(_PyStackRef ref)
|
||||
return ref.bits == Py_TAG_INVALID;
|
||||
}
|
||||
|
||||
static inline bool
|
||||
PyStackRef_IsMalformed(_PyStackRef ref)
|
||||
{
|
||||
return (ref.bits & Py_TAG_BITS) == Py_TAG_INVALID;
|
||||
}
|
||||
|
||||
static inline bool
|
||||
PyStackRef_IsValid(_PyStackRef ref)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user