...

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

Documentation: cmd/compile/internal/ssa/testdata

     1  ./testdata/scopes.go
     222:	func test() {
     323:		x := id(0)
     424:		y := id(0)
     525:		fmt.Println(x)
     626:		for i := x; i < 3; i++ {
     727:			x := i * i
     828:			y += id(x) //gdb-dbg=(x,y)//gdb-opt=(x,y)
     926:		for i := x; i < 3; i++ {
    1027:			x := i * i
    1128:			y += id(x) //gdb-dbg=(x,y)//gdb-opt=(x,y)
    1226:		for i := x; i < 3; i++ {
    1327:			x := i * i
    1428:			y += id(x) //gdb-dbg=(x,y)//gdb-opt=(x,y)
    1526:		for i := x; i < 3; i++ {
    1630:		y = x + y //gdb-dbg=(x,y)//gdb-opt=(x,y)
    1731:		fmt.Println(x, y)
    1833:		for x := 0; x <= 1; x++ { // From delve scopetest.go
    1934:			a := y
    2035:			f1(a)
    2137:				b := 0
    2238:				f2(b)
    2339:				if gretbool() {
    2440:					c := 0
    2541:					f3(c)
    2646:				f5(b)
    2748:			f6(a)
    2833:		for x := 0; x <= 1; x++ { // From delve scopetest.go
    2934:			a := y
    3035:			f1(a)
    3137:				b := 0
    3238:				f2(b)
    3339:				if gretbool() {
    3443:					c := 1.1
    3544:					f4(int(c))
    3646:				f5(b)
    3748:			f6(a)
    3833:		for x := 0; x <= 1; x++ { // From delve scopetest.go
    3953:				j = id(1)
    4054:				f = id(2)
    4156:			for i := 0; i <= 5; i++ {
    4257:				j += j * (j ^ 3) / 100
    4358:				if i == f {
    4462:				sleepytime()
    4556:			for i := 0; i <= 5; i++ {
    4657:				j += j * (j ^ 3) / 100
    4758:				if i == f {
    4862:				sleepytime()
    4956:			for i := 0; i <= 5; i++ {
    5057:				j += j * (j ^ 3) / 100
    5158:				if i == f {
    5259:					fmt.Println("foo")
    5360:					break
    5464:			helloworld()
    5566:	}
    5615:	}

View as plain text