runtime: precisely scan Wasm globals

This commit is contained in:
Jake Bailey
2026-08-07 10:32:00 -07:00
committed by Ron Evans
parent a7360d5ad3
commit 829fe514cc
11 changed files with 345 additions and 5 deletions
+7
View File
@@ -13,3 +13,10 @@ func TestMakeGCStackSlots(t *testing.T) {
transform.MakeGCStackSlots(mod)
})
}
func TestMakeGCGlobalRootsAVR(t *testing.T) {
t.Parallel()
testTransform(t, "testdata/gc-globals-avr", func(mod llvm.Module) {
transform.MakeGCStackSlots(mod)
})
}