compiler: a test program may hold a phase handler - the test runner called @rt_init whenever the program had systems, and a handler alone makes none (LLVM: use of undefined value '@rt_init'); it calls it only when it exists, as an entry program's main does; a ludic test case with a handler (added, not run); reseeded, bootstrap-cfree fixpoint holds
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
eaeadc6a52
commit
9a0011c38f
5 changed files with 3187 additions and 3150 deletions
6
changes/test-handler-rt-init.md
Normal file
6
changes/test-handler-rt-init.md
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
bump: patch
|
||||
type: fix
|
||||
**A test program may hold a phase handler.** A program with `test` blocks and a `handler ... phase`
|
||||
(its own, or one a module it imports declares) failed to compile with LLVM's "use of undefined value
|
||||
'@rt_init'": the test runner called the runtime's `rt_init` whenever the program had systems, and a
|
||||
handler alone makes none. It now calls it only when it exists, as an `entry` program's `main` does.
|
||||
Loading…
Add table
Add a link
Reference in a new issue