]> Cypherpunks.ru repositories - gostls13.git/commit
cmd/compile: flag "-d=dumpptrs" to print Node ptrs in Dump output
authorDan Scales <danscales@google.com>
Thu, 19 Nov 2020 00:42:31 +0000 (16:42 -0800)
committerDan Scales <danscales@google.com>
Thu, 19 Nov 2020 17:28:05 +0000 (17:28 +0000)
commitc31540364c2bc3bdb7800cfc344d85c2c9df3893
tree5fece1baa1a2058cb5bfdce0008c7da8d4003d59
parent4d048194cd0323e1deffce96e88e8a672a08732d
cmd/compile:  flag "-d=dumpptrs" to print Node ptrs in Dump output

The printing of the ptr values can mean that two dump outputs can't easily be
compared for the identical structure, so adding the "-d=dumpptrs" option to make
printing of Node pointer values be an option.

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