...
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++ {
2231: fmt.Println(x, y)
2330: y = x + y //gdb-dbg=(x,y)//gdb-opt=(x,y)
24x = 0
25y = 5
2631: fmt.Println(x, y)
270: 5
2835: f1(a)
2938: f2(b)
3039: if gretbool() {
3141: f3(c)
3246: f5(b)
3348: f6(a)
3433: for x := 0; x <= 1; x++ { // From delve scopetest.go
3535: f1(a)
3638: f2(b)
3739: if gretbool() {
3844: f4(int(c))
3946: f5(b)
4048: f6(a)
4133: for x := 0; x <= 1; x++ { // From delve scopetest.go
4253: j = id(1)
4354: f = id(2)
4456: for i := 0; i <= 5; i++ {
4558: if i == f {
4662: sleepytime()
4756: for i := 0; i <= 5; i++ {
4858: if i == f {
4962: sleepytime()
5056: for i := 0; i <= 5; i++ {
5158: if i == f {
5259: fmt.Println("foo")
5364: helloworld()
5466: }
5515: }
View as plain text