]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: print readable function name in error message
authordoujiang24 <doujiang24@gmail.com>
Wed, 26 Oct 2022 06:06:43 +0000 (06:06 +0000)
committerGopher Robot <gobot@golang.org>
Wed, 26 Oct 2022 19:11:37 +0000 (19:11 +0000)
commitf9ee56145bd8aa802b91db9465564cae5596966b
tree3065543c56cdf26e44d77765157abb0384a57d4e
parent29674d87e697e10b658d5676a2f547d555c2c534
cmd/compile: print readable function name in error message

i.e.
from "function %!s(*Node=0xc0003b48c0) cannot have ABI wrappers", to "function xxFunctionName cannot have ABI wrappers".

Change-Id: I83cfdf1916e82ab1455db8032153d9cdae85250d
GitHub-Last-Rev: 87b077653f8731be511861d968bd31d58744b386
GitHub-Pull-Request: golang/go#56428
Reviewed-on: https://go-review.googlesource.com/c/go/+/445516
Auto-Submit: Keith Randall <khr@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Keith Randall <khr@golang.org>
Run-TryBot: Keith Randall <khr@golang.org>
Reviewed-by: Heschi Kreinick <heschi@google.com>
Reviewed-by: Than McIntosh <thanm@google.com>
src/cmd/compile/internal/ssagen/abi.go