Display counter `value` and `backoff` when disassembling `CACHE` opcode
未关闭
还没有人认领这个 Issue。
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 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
从 Python 针对代码对象的反汇编路径开始,使用 --show-caches 参数,重点关注 CACHE 操作码当前如何显示其计数器。确定计数器值和 backoff 在哪里进行格式化,然后验证反汇编是否按照提议的措辞显示这两个值。该 issue 链接到了 PR gh-128296,因此请在开始之前检查这项工作。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- python
- 领域
- compilers
- Issue 类型
- 功能
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 20/100