Skip to content

Commit 6fc4791

Browse files
committed
cmd/compile: update TestNexting golden file for Delve
This change updates the expected output of the delve debugging session in the TestNexting internal/ssa test, aligning it with the changes introduced in CL 147360 and earlier. Change-Id: I1cc788d02433624a36f4690f24201569d765e5d3 Reviewed-on: https://go-review.googlesource.com/c/147998 Run-TryBot: David Chase <drchase@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Keith Randall <khr@golang.org>
1 parent 7cd2a51 commit 6fc4791

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/cmd/compile/internal/ssa/testdata/hist.dlv-opt.nexts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,23 +58,27 @@
5858
87: if a == 0 { //gdb-opt=(a,n,t)
5959
86: for i, a := range hist {
6060
87: if a == 0 { //gdb-opt=(a,n,t)
61+
92: fmt.Fprintf(os.Stderr, "%d\t%d\t%d\t%d\t%d\n", i, a, n, i*a, t) //gdb-dbg=(n,i,t)
6162
91: n += a
6263
90: t += i * a
6364
92: fmt.Fprintf(os.Stderr, "%d\t%d\t%d\t%d\t%d\n", i, a, n, i*a, t) //gdb-dbg=(n,i,t)
6465
86: for i, a := range hist {
6566
87: if a == 0 { //gdb-opt=(a,n,t)
67+
92: fmt.Fprintf(os.Stderr, "%d\t%d\t%d\t%d\t%d\n", i, a, n, i*a, t) //gdb-dbg=(n,i,t)
6668
91: n += a
6769
90: t += i * a
6870
92: fmt.Fprintf(os.Stderr, "%d\t%d\t%d\t%d\t%d\n", i, a, n, i*a, t) //gdb-dbg=(n,i,t)
6971
86: for i, a := range hist {
7072
87: if a == 0 { //gdb-opt=(a,n,t)
7173
86: for i, a := range hist {
7274
87: if a == 0 { //gdb-opt=(a,n,t)
75+
92: fmt.Fprintf(os.Stderr, "%d\t%d\t%d\t%d\t%d\n", i, a, n, i*a, t) //gdb-dbg=(n,i,t)
7376
91: n += a
7477
90: t += i * a
7578
92: fmt.Fprintf(os.Stderr, "%d\t%d\t%d\t%d\t%d\n", i, a, n, i*a, t) //gdb-dbg=(n,i,t)
7679
86: for i, a := range hist {
7780
87: if a == 0 { //gdb-opt=(a,n,t)
81+
92: fmt.Fprintf(os.Stderr, "%d\t%d\t%d\t%d\t%d\n", i, a, n, i*a, t) //gdb-dbg=(n,i,t)
7882
91: n += a
7983
90: t += i * a
8084
92: fmt.Fprintf(os.Stderr, "%d\t%d\t%d\t%d\t%d\n", i, a, n, i*a, t) //gdb-dbg=(n,i,t)

0 commit comments

Comments
 (0)