...

Text file src/cmd/compile/internal/ssa/testdata/scopes.gdb-dbg.nexts

Documentation: cmd/compile/internal/ssa/testdata

     1  src/cmd/compile/internal/ssa/testdata/scopes.go
     222:	func test() {
     323:		x := id(0)
     424:		y := id(0)
     525:		fmt.Println(x)
     60:
     727:			x := i * i
     828:			y += id(x) //gdb-dbg=(x,y)//gdb-opt=(x,y)
     9x = 0
    10y = 0
    1126:		for i := x; i < 3; i++ {
    1227:			x := i * i
    1328:			y += id(x) //gdb-dbg=(x,y)//gdb-opt=(x,y)
    14x = 1
    15y = 0
    1626:		for i := x; i < 3; i++ {
    1727:			x := i * i
    1828:			y += id(x) //gdb-dbg=(x,y)//gdb-opt=(x,y)
    19x = 4
    20y = 1
    2126:		for i := x; i < 3; i++ {
    2230:		y = x + y //gdb-dbg=(x,y)//gdb-opt=(x,y)
    23x = 0
    24y = 5
    2531:		fmt.Println(x, y)
    260: 5
    2734:			a := y
    2835:			f1(a)
    2937:				b := 0
    3038:				f2(b)
    3139:				if gretbool() {
    3240:					c := 0
    3341:					f3(c)
    3446:				f5(b)
    3548:			f6(a)
    3633:		for x := 0; x <= 1; x++ { // From delve scopetest.go
    3734:			a := y
    3835:			f1(a)
    3937:				b := 0
    4038:				f2(b)
    4139:				if gretbool() {
    4243:					c := 1.1
    4344:					f4(int(c))
    4446:				f5(b)
    4548:			f6(a)
    4633:		for x := 0; x <= 1; x++ { // From delve scopetest.go
    4753:				j = id(1)
    4854:				f = id(2)
    4956:			for i := 0; i <= 5; i++ {
    5057:				j += j * (j ^ 3) / 100
    5158:				if i == f {
    5262:				sleepytime()
    5356:			for i := 0; i <= 5; i++ {
    5457:				j += j * (j ^ 3) / 100
    5558:				if i == f {
    5662:				sleepytime()
    5756:			for i := 0; i <= 5; i++ {
    5857:				j += j * (j ^ 3) / 100
    5958:				if i == f {
    6059:					fmt.Println("foo")
    6160:					break
    6264:			helloworld()
    6366:	}
    6415:	}

View as plain text