]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: add flag for debugging PC-value tables
authorDavid Lazar <lazard@golang.org>
Fri, 17 Feb 2017 21:55:40 +0000 (16:55 -0500)
committerDavid Lazar <lazard@golang.org>
Fri, 3 Mar 2017 21:29:38 +0000 (21:29 +0000)
commit0824ae6dc1e867c327bdcae54be51a8a179c0f7d
treeddac4ec2d1fde57a444ff643653a70489bdcfdcb
parent301149b9e4f9e1256e80e76b0d8f6beace103731
cmd/compile: add flag for debugging PC-value tables

For example, `-d pctab=pctoinline` prints the PC-inline table and
inlining tree for every function.

Change-Id: Ia6b9ce4d83eed0b494318d40ffe06481ec5d58ab
Reviewed-on: https://go-review.googlesource.com/37235
Run-TryBot: David Lazar <lazard@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Austin Clements <austin@google.com>
src/cmd/compile/internal/gc/main.go
src/cmd/internal/obj/inl.go
src/cmd/internal/obj/link.go
src/cmd/internal/obj/pcln.go