diff options
author | Victor Stinner <vstinner@python.org> | 2022-02-01 18:12:26 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-01 18:12:26 +0100 |
commit | bebaa95fd0f44babf8b6bcffd8f2908c73ca259e (patch) | |
tree | 8a79ca78d827d5153f8bee5c197fc5d0c147b502 /Python/compile.c | |
parent | f78be59c83c151d94902daef56218530c52e29e7 (diff) | |
download | cpython-bebaa95fd0f44babf8b6bcffd8f2908c73ca259e.tar.gz cpython-bebaa95fd0f44babf8b6bcffd8f2908c73ca259e.zip |
bpo-46600: Fix test_gdb.test_pycfunction() for clang -Og (GH-31058)
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.
Diffstat (limited to 'Python/compile.c')
0 files changed, 0 insertions, 0 deletions