]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: change the "bogus line" to be 1
authorDavid Chase <drchase@google.com>
Fri, 17 Jan 2020 17:03:55 +0000 (12:03 -0500)
committerDavid Chase <drchase@google.com>
Fri, 17 Jan 2020 23:14:48 +0000 (23:14 +0000)
commitc112289ee4141ebc31db50328c355b01278b987b
tree4dd6f258129a4c09e2ea63270b5dbf1826c519a5
parent316fd8cc4a7fab2e1bb45848bc30ea8b8a0b231a
cmd/compile: change the "bogus line" to be 1

The previous value was "too bogus" and caused objdump to crash.
Updated infinite loop test results (only run if -args -f) in ssa/debug_test.go
Probably also fixes #36621 but that bug needs more info to tell for certain.

Fixes #36570

Change-Id: I51144641d25d559308a98d726d87806bd340cc5a
Reviewed-on: https://go-review.googlesource.com/c/go/+/215297
Run-TryBot: David Chase <drchase@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
src/cmd/compile/internal/ssa/testdata/infloop.dlv-opt.nexts
src/cmd/internal/src/pos.go
src/cmd/objdump/testdata/fmthello.go