-
Notifications
You must be signed in to change notification settings - Fork 18k
cmd/compile: longtest builder failing on TestNexting/gdb-opt-hist #31786
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Dup of #31263? |
Working on it...
produces
Redo good and bad compilations prepending GOSSAFUNC=test to both of them. Also compare dwarfdump -debug-line for both, search forward for testdata:
"bad"
It works okay with delve, I am still searching through the ssa output to see where the difference appears. It's in blocks 17 and 19, v264 and v275. edit: The problem is in the original assignment of statement marks (numberlines). |
Change https://golang.org/cl/174948 mentions this issue: |
This does not repair #31786, and in fact also unfixes the revert of CL 174617. We were just getting lucky when it looked like it was working. And unfortunately for the bug, there does not appear to be any particular problems with the line numbers; if anything they're a couple of extras, i.e., stepping might repeat, rather than skip. Delve works fine either way. Updates #31786. Change-Id: I5c2fdc2a0265bb99773b3a85492a3db557dffee4 Reviewed-on: https://go-review.googlesource.com/c/go/+/174948 Run-TryBot: David Chase <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: Keith Randall <[email protected]>
If the fix isn't going to land today, please add a skip so that the longtest builder will be able to proceed past |
How do you feel about me changing it to use Delve instead? |
@dr2chase, you're asking the wrong people. We don't know what this is testing. We just know it's red & harmful to people trying to get a useful regression signal out of this builder, and making people get used to broken builds. |
Should have a fix (switch to delve, tested for 100+ repetitions on Linux and Mac) later today. |
Change https://golang.org/cl/176058 mentions this issue: |
After CL 174617, the longtest builder is failing on TestNexting/gdb-opt-hist.
Here's a sample of the log:
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:
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?
The text was updated successfully, but these errors were encountered: