Files
hakorune/docs/phase-15/cranelift/CRANELIFT_TASKS.md
moe-charm b8bdb867d8 Merge selfhosting-dev into main (Core-13 pure CI/tests + LLVM bridge) (#126)
* WIP: sync before merging origin/main

* fix: unify using/module + build CLI; add missing helper in runner; build passes; core smokes green; jit any.len string now returns 3

* Apply local changes after merging main; keep docs/phase-15 removed per main; add phase-15.1 docs and tests

* Remove legacy docs/phase-15/README.md to align with main

* integration: add Core-13 pure CI, tests, and minimal LLVM execute bridge (no docs) (#125)

Co-authored-by: Tomoaki <tomoaki@example.com>

---------

Co-authored-by: Selfhosting Dev <selfhost@example.invalid>
Co-authored-by: Tomoaki <tomoaki@example.com>
2025-09-07 07:36:15 +09:00

26 lines
1.4 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Cranelift / AOT/JITAOT Tasks (Phase 15)
このドキュメントは Cranelift backendAOT/JITAOT関連の課題・進捗を集約します。
selfhostingdev ブランチでは VM/JIT 中心で開発するため、詳細はこちらへ集約し、`CURRENT_TASK.md` は軽量化しました。
最終更新: 20250906CURRENT_TASK から分離)
参考リンク
- 旧コンテンツ・完全版アーカイブ: `../../archives/CURRENT_TASK-2025-09-06.md`
- フェーズ概要: `../README.md`
現状サマリ(抜粋)
- StringBox.length/len が 0 になるケースの是正Lower 二段フォールバック: string.len_h → any.length_h
- Hostcall registry/extern thunks の追補(`SYM_STRING_LEN_H` 登録)
- AOT でのまれな segfaultDT_TEXTREL 警告の追跡TLS/extern 紐付け順)
優先課題(案)
1) Return 材化の強化JITdirect/JITAOT 共通)
2) Cranelift import シンボル解決の検証(`extern_thunks::nyash_string_len_h` の実呼出し保証)
3) AOT ツールチェーン(リンク・フラグ)の最小安定セット定義
運用メモ
- selfhostingdev では本ファイルの参照のみ(直接の実装変更は Cranelift 専用ブランチで実施)。
- 共有面(ランナー/IR など)に変更が必要な場合は feature gate と互換 API を優先し、両ブランチが同時に衝突しない形へ調整。