Display counter `value` and `backoff` when disassembling `CACHE` opcode
オープン
まだ誰も着手していません。
stdlib
type-feature
- 主要言語
- Python
- スター
- 77.2k
- フォーク
- 35.9k
- PR マージ指標
- PR 指標を取得中
説明
Feature or enhancement
Proposal:
When disassembling code object with --show-caches argument its hard to tell right away what is 1st cache entry (counter) value which is useful while debugging. Proposing to add this info to the disassembly of this opcode.
Example:
Instead of current disassembly:
CACHE 0 (counter: 99)
display:
CACHE 0 (counter: 99 (value: 6, backoff: 3))
Has this already been discussed elsewhere?
No response given
Links to previous discussion of this feature:
No response
Linked PRs
- gh-128296
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
--show-caches 引数を使用するコードオブジェクト向けの Python の逆アセンブルパスから始め、CACHE オペコードが現在そのカウンターをどのように表示しているかに注目してください。カウンター値とバックオフがどこでフォーマットされているかを特定し、続いて逆アセンブル結果に提案された文言で両方の値が表示されることを確認してください。この issue では PR gh-128296 にリンクしているため、開始する前にその作業を確認してください。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- compilers
- issue の種類
- 機能追加
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 20/100