]> Cypherpunks repositories - gostls13.git/commit
[dev.typeparams] cmd/compile/internal/ir: more position details in dump
authorMatthew Dempsky <mdempsky@google.com>
Tue, 18 May 2021 23:34:44 +0000 (16:34 -0700)
committerMatthew Dempsky <mdempsky@google.com>
Wed, 19 May 2021 06:33:22 +0000 (06:33 +0000)
commitc2966ae272b7ddd44ee6f93beb32da925e8336df
treeb7f182c34fda4c5e3bda16ddd78c4e418b917e60
parentfb79f6955e8d13fd6c98f6bd036819d7cc6dfad6
[dev.typeparams] cmd/compile/internal/ir: more position details in dump

When dumping node positions, include column position and the full
inlining tree. These details are helpful for diagnosing "toolstash
-cmp" failures due to subtly changing positions.

Change-Id: I953292d6c01899fd98e2f315bafaa123c4d98ffd
Reviewed-on: https://go-review.googlesource.com/c/go/+/321089
Trust: Matthew Dempsky <mdempsky@google.com>
Trust: Dan Scales <danscales@google.com>
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Dan Scales <danscales@google.com>
src/cmd/compile/internal/ir/fmt.go