Support gdbjit for CPython
オープン
まだ誰も着手していません。
topic-JIT
triaged
type-feature
- 主要言語
- Python
- スター
- 77.2k
- フォーク
- 35.9k
- PR マージ指標
- PR 指標を取得中
説明
Feature or enhancement
Proposal:
The GDB support a special interface for JIT. The developer can inject some debug info into the JITed code. Both of the LuaJIT and V8 are support GDBJIT
FYI:
- https://sourceware.org/gdb/current/onlinedocs/gdb.html/JIT-Interface.html
- https://v8.dev/docs/gdb-jit
- https://github.com/v8/v8/blob/main/src/diagnostics/gdb-jit.cc
- https://github.com/LuaJIT/LuaJIT/blob/v2.1/src/lj_gdbjit.c
Has this already been discussed elsewhere?
No response given
Links to previous discussion of this feature:
No response
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず GDB JIT Interface のドキュメントを読み、V8 の src/diagnostics/gdb-jit.cc と LuaJIT の src/lj_gdbjit.c を比較します。提案されているサポートを CPython にどのように組み込めるか、またどのデバッグ情報と JIT エントリポイントが必要かを判断します。完了とするには、合意された実装範囲と検証アプローチが必要ですが、issue では現時点でそれらが指定されていません。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- compilers, devtools
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100