smokes: add curated LLVM runner; archive legacy smokes; PHI-off unified across Bridge/Builder; LLVM resolver tracing; minimal Throw lowering; config env getters; dev profile and root cleaner; docs updated; CI workflow runs curated LLVM (PHI-on/off)

This commit is contained in:
Selfhosting Dev
2025-09-16 23:49:36 +09:00
parent 97a76c0571
commit 5c9213cd03
104 changed files with 8094 additions and 2930 deletions

View File

@ -0,0 +1,26 @@
// Stage-3 regression smoke: break/continue executes once; with bridge throw/try flags enabled the catch sets 42 and finally runs.
static box Main {
main() {
local break_counter = 0
loop (true) {
break_counter = break_counter + 1
if break_counter == 3 {
break
}
continue
}
local caught = 0
local finally_flag = 0
try {
throw 42
} catch (Error e) {
caught = 42
} finally {
finally_flag = 1
}
print("Result: " + (break_counter + caught + finally_flag))
return 0
}
}

View File

@ -0,0 +1,14 @@
// Stage-3 smoke (LLVM): loop control only (break/continue) — expected Result: 3
static box Main {
main() {
local counter = 0
loop (true) {
counter = counter + 1
if counter == 3 { break }
continue
}
print("Result: " + counter)
return 0
}
}