Skip to content

GH-126910: Add GNU backtrace support for unwinding JIT frames#149104

Open
diegorusso wants to merge 3 commits intopython:mainfrom
diegorusso:jit-backtrace-support
Open

GH-126910: Add GNU backtrace support for unwinding JIT frames#149104
diegorusso wants to merge 3 commits intopython:mainfrom
diegorusso:jit-backtrace-support

Conversation

@diegorusso
Copy link
Copy Markdown
Contributor

@diegorusso diegorusso commented Apr 28, 2026

@diegorusso
Copy link
Copy Markdown
Contributor Author

Performance wise, I didn't see any hit. Numbers are in the noise.

@read-the-docs-community
Copy link
Copy Markdown

read-the-docs-community Bot commented Apr 28, 2026

Documentation build overview

📚 cpython-previews | 🛠️ Build #32510646 | 📁 Comparing e8de85d against main (2b6a137)

  🔍 Preview build  

41 files changed · ± 41 modified

± Modified

@diegorusso diegorusso force-pushed the jit-backtrace-support branch from abc1072 to db967dc Compare May 2, 2026 17:59
@diegorusso
Copy link
Copy Markdown
Contributor Author

Apologies.. I had to force push.

Comment thread Include/internal/pycore_jit_unwind.h Outdated

#if defined(_Py_JIT) && defined(__linux__) && defined(__ELF__)
# define PY_HAVE_JIT_GDB_UNWIND
# define PY_HAVE_JIT_GNU_BACKTRACE_UNWIND
Copy link
Copy Markdown
Contributor Author

@diegorusso diegorusso May 2, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure if we want to keep these two macros or merge them into one PY_HAVE_JIT_UNWIND

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants