0xMiden / 0xMiden/compiler

Set `@source_name` for procedures with divergent source/linkage name

未關閉
#1,351 0 則留言 0 個 reaction 已指派 1 人 已被 @mooori 認領 在 GitHub 檢視
codegen debugging
主要語言
Rust
星號
115
分支
84
平均合併
1 天 8 小時
30 天內合併 PR
15

描述

Names in Wasm's name section need not be unique. For debug builds of `examples/` with `panic-abort` rustc produces duplicate names in the Wasm name section, see #1341.

#1342 deduplicates names, which can lead to divergent source/linkage names. In that case, the new `@source_name` attribute should be added to the corresponding procedure. See [vm3716](https://github.com/0xMiden/miden-vm/pull/3716) for details.

Blocked until the compiler uses vm with that feature, probably `>= 0.30`.

貢獻指南

開啟貢獻指南

研究方向

該 issue 引用了 Miden VM 中的一項更改(PR #3716),該更改添加了一個 `@source_name` 屬性。檢查編譯器的程序處理程式碼,可能位於處理 Wasm 名稱節解析或程序中繼資料的模組中。尋找建立程序以及設定其名稱的位置。當來源名稱與連結名稱(去重後)不同時,添加 `@source_name` 屬性。請查看連結的 VM PR 以了解屬性的確切格式和上下文。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
wasm
領域
compilers
Issue 類型
功能
難度
3/5
預估耗時
1-2 天
活躍度
活躍
描述清晰度
基本清楚
新手友好度
55/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。