]> Cypherpunks.ru repositories - gostls13.git/commit
cmd/link: add debug print in deadcode
authorRuss Cox <rsc@golang.org>
Fri, 22 Jan 2021 16:13:32 +0000 (11:13 -0500)
committerRuss Cox <rsc@golang.org>
Fri, 19 Feb 2021 00:04:49 +0000 (00:04 +0000)
commita1222b75350a098e70106bf95d4e6a962c37f373
treea23504d92bea55a9900c2f4bf736018cbc2ef0b9
parent1c659f25257f29003b7012d90072b63f88d12f8b
cmd/link: add debug print in deadcode

This matches the prints that deadcode prints later
as the algorithm progresses under -v=2.
It helps to see the initial conditions with -v=2 as well.

Change-Id: I06ae86fe9bd8314d003148f3d941832c9b10aef1
Reviewed-on: https://go-review.googlesource.com/c/go/+/288817
Trust: Russ Cox <rsc@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
src/cmd/link/internal/ld/deadcode.go