https://github.com/python/cpython
Revision bebaa95fd0f44babf8b6bcffd8f2908c73ca259e authored by Victor Stinner on 01 February 2022, 17:12:26 UTC, committed by GitHub on 01 February 2022, 17:12:26 UTC
Fix test_gdb.test_pycfunction() for Python built with clang -Og.
Tolerate inlined functions in the gdb traceback.

When _testcapimodule.c is built by clang -Og, _null_to_none() is
inlined in meth_varargs() and so gdb returns _null_to_none() as
the frame #1. If it's not inlined, meth_varargs() is the frame #1.
1 parent f78be59
History
Tip revision: bebaa95fd0f44babf8b6bcffd8f2908c73ca259e authored by Victor Stinner on 01 February 2022, 17:12:26 UTC
bpo-46600: Fix test_gdb.test_pycfunction() for clang -Og (GH-31058)
Tip revision: bebaa95
File Mode Size
clinic
deepfreeze
frozen_modules
Python-ast.c -rw-r--r-- 411.8 KB
Python-tokenize.c -rw-r--r-- 4.9 KB
README -rw-r--r-- 62 bytes
_warnings.c -rw-r--r-- 37.5 KB
adaptive.md -rw-r--r-- 5.5 KB
asdl.c -rw-r--r-- 188 bytes
ast.c -rw-r--r-- 35.1 KB
ast_opt.c -rw-r--r-- 35.6 KB
ast_unparse.c -rw-r--r-- 25.9 KB
bltinmodule.c -rw-r--r-- 88.5 KB
bootstrap_hash.c -rw-r--r-- 17.7 KB
ceval.c -rw-r--r-- 247.3 KB
ceval_gil.h -rw-r--r-- 11.6 KB
codecs.c -rw-r--r-- 45.1 KB
compile.c -rw-r--r-- 275.1 KB
condvar.h -rw-r--r-- 8.4 KB
context.c -rw-r--r-- 31.1 KB
dtoa.c -rw-r--r-- 78.3 KB
dup2.c -rw-r--r-- 759 bytes
dynamic_annotations.c -rw-r--r-- 6.6 KB
dynload_hpux.c -rw-r--r-- 2.1 KB
dynload_shlib.c -rw-r--r-- 2.8 KB
dynload_stub.c -rw-r--r-- 186 bytes
dynload_win.c -rw-r--r-- 11.9 KB
errors.c -rw-r--r-- 49.5 KB
fileutils.c -rw-r--r-- 71.7 KB
formatter_unicode.c -rw-r--r-- 51.1 KB
frame.c -rw-r--r-- 3.5 KB
frozen.c -rw-r--r-- 8.2 KB
frozenmain.c -rw-r--r-- 1.9 KB
future.c -rw-r--r-- 4.3 KB
getargs.c -rw-r--r-- 88.6 KB
getcompiler.c -rw-r--r-- 534 bytes
getcopyright.c -rw-r--r-- 511 bytes
getopt.c -rw-r--r-- 4.6 KB
getplatform.c -rw-r--r-- 133 bytes
getversion.c -rw-r--r-- 406 bytes
hamt.c -rw-r--r-- 78.0 KB
hashtable.c -rw-r--r-- 11.2 KB
import.c -rw-r--r-- 71.9 KB
importdl.c -rw-r--r-- 7.3 KB
importdl.h -rw-r--r-- 487 bytes
initconfig.c -rw-r--r-- 86.4 KB
makeopcodetargets.py -rwxr-xr-x 1.8 KB
marshal.c -rw-r--r-- 50.9 KB
modsupport.c -rw-r--r-- 18.1 KB
mysnprintf.c -rw-r--r-- 2.4 KB
mystrtoul.c -rw-r--r-- 8.1 KB
opcode_targets.h -rw-r--r-- 6.9 KB
pathconfig.c -rw-r--r-- 12.2 KB
preconfig.c -rw-r--r-- 25.1 KB
pyarena.c -rw-r--r-- 5.5 KB
pyctype.c -rw-r--r-- 7.7 KB
pyfpe.c -rw-r--r-- 374 bytes
pyhash.c -rw-r--r-- 15.1 KB
pylifecycle.c -rw-r--r-- 83.7 KB
pymath.c -rw-r--r-- 478 bytes
pystate.c -rw-r--r-- 64.4 KB
pystrcmp.c -rw-r--r-- 753 bytes
pystrhex.c -rw-r--r-- 5.3 KB
pystrtod.c -rw-r--r-- 40.1 KB
pythonrun.c -rw-r--r-- 52.1 KB
pytime.c -rw-r--r-- 30.6 KB
specialize.c -rw-r--r-- 60.3 KB
stdlib_module_names.h -rw-r--r-- 3.5 KB
structmember.c -rw-r--r-- 8.8 KB
suggestions.c -rw-r--r-- 8.7 KB
symtable.c -rw-r--r-- 72.9 KB
sysmodule.c -rw-r--r-- 93.8 KB
thread.c -rw-r--r-- 6.0 KB
thread_nt.h -rw-r--r-- 12.8 KB
thread_pthread.h -rw-r--r-- 25.3 KB
traceback.c -rw-r--r-- 37.5 KB
wordcode_helpers.h -rw-r--r-- 1.2 KB

README

back to top