-
Notifications
You must be signed in to change notification settings - Fork 18.8k
Closed
Labels
FrozenDueToAgeSoonThis needs action soon. (recent regressions, service outages, unusual time-sensitive situations)This needs action soon. (recent regressions, service outages, unusual time-sensitive situations)
Milestone
Description
After CL 174617, the longtest builder is failing on TestNexting/gdb-opt-hist.
Here's a sample of the log:
--- FAIL: TestNexting (13.35s)
--- FAIL: TestNexting/gdb-opt-hist (2.98s)
debug_test.go:245: step/next histories differ, diff=
--- testdata/hist.gdb-opt.nexts 2019-04-30 21:30:30.000000000 +0000
+++ /workdir/tmp/debug_test382328161/test-hist.gdb-opt.nexts 2019-04-30 22:37:43.423960976 +0000
@@ -28,8 +28,6 @@
i = 1
81: hist = ensure(int(i), hist)
82: hist[int(i)]++
-74: for scanner.Scan() { //gdb-opt=(scanner/A)
-scanner = (bufio.Scanner *) <A>
75: s := scanner.Text()
76: i, err := strconv.ParseInt(s, 10, 64)
77: if err != nil { //gdb-dbg=(i) //gdb-opt=(err,hist,i)
@@ -38,8 +36,6 @@
i = 1
81: hist = ensure(int(i), hist)
82: hist[int(i)]++
-74: for scanner.Scan() { //gdb-opt=(scanner/A)
-scanner = (bufio.Scanner *) <A>
75: s := scanner.Text()
76: i, err := strconv.ParseInt(s, 10, 64)
77: if err != nil { //gdb-dbg=(i) //gdb-opt=(err,hist,i)
@@ -48,8 +44,6 @@
i = 1
81: hist = ensure(int(i), hist)
82: hist[int(i)]++
-74: for scanner.Scan() { //gdb-opt=(scanner/A)
-scanner = (bufio.Scanner *) <A>
75: s := scanner.Text()
When I compile src/cmd/compile/internal/ssa/testdata/hist.go both before and after this change, with both -S and -S=2, I don't see any line number differences. This is the extent of the difference of the -S output:
$ diff old new
1611c1611
< 0x0020 02 07 01 0e 02 12 01 6e 02 06 01 1c 02 08 01 04 .......n........
---
> 0x0020 02 07 01 0e 02 12 01 6e 02 02 01 20 02 08 01 04 .......n... ....
This difference is part of the go.isstmt."".test SDWARFMISC size=0 symbol.
So somehow my change messed up the statement marks? Is there a way to display those differences?
@dr2chase , any ideas?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
FrozenDueToAgeSoonThis needs action soon. (recent regressions, service outages, unusual time-sensitive situations)This needs action soon. (recent regressions, service outages, unusual time-sensitive situations)