...

Text file src/cmd/compile/internal/ssa/testdata/scopes.dlv-opt.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++ {
    1631:		fmt.Println(x, y)
    1730:		y = x + y //gdb-dbg=(x,y)//gdb-opt=(x,y)
    1831:		fmt.Println(x, y)
    1933:		for x := 0; x <= 1; x++ { // From delve scopetest.go
    2035:			f1(a)
    2138:				f2(b)
    2239:				if gretbool() {
    2341:					f3(c)
    2446:				f5(b)
    2548:			f6(a)
    2633:		for x := 0; x <= 1; x++ { // From delve scopetest.go
    2735:			f1(a)
    2838:				f2(b)
    2939:				if gretbool() {
    3044:					f4(int(c))
    3146:				f5(b)
    3248:			f6(a)
    3333:		for x := 0; x <= 1; x++ { // From delve scopetest.go
    3453:				j = id(1)
    3554:				f = id(2)
    3656:			for i := 0; i <= 5; i++ {
    3758:				if i == f {
    3862:				sleepytime()
    3956:			for i := 0; i <= 5; i++ {
    4058:				if i == f {
    4162:				sleepytime()
    4256:			for i := 0; i <= 5; i++ {
    4358:				if i == f {
    4459:					fmt.Println("foo")
    4564:			helloworld()
    4615:	}

View as plain text