Hi all,
But for the below example, if I run the command llvm-goc -S -emit-llvm -enable-gc=1, I expect to add live pointers to go.statepoint intrinsic because there are heap references which are roots to GC(new(emp)).
Can you explain to me why live pointers are not available in go.statepoint intrinsic?
Is go-statepoints pass in gollvm different from llvm RS4GC pass?
package main
type emp struct {
name string
}
func main() {
emp1 := new(emp)
}
Thank you,
Kavindu