]> Cypherpunks.ru repositories - gostls13.git/commit
cmd/compile: extend GOSSAFUNC match to well-formed package suffix match.
authorDavid Chase <drchase@google.com>
Wed, 21 Apr 2021 14:30:25 +0000 (10:30 -0400)
committerDavid Chase <drchase@google.com>
Sat, 24 Apr 2021 20:08:46 +0000 (20:08 +0000)
commit70deaa33ebd91944484526ab368fa19c499ff29f
tree1c53e2d4ec0961fb50021691cc657a418879a968
parente7db792fc539603a61b89ae27104730a0a92c1e6
cmd/compile: extend GOSSAFUNC match to well-formed package suffix match.

e.g., LeadingZeros, bits.LeadingZeros, math/bits.LeadingZeros
but not its.LeadingZeros

Change-Id: Ib9a57e4db0af03c55bf5b5027aa6f8a5a84f2134
Reviewed-on: https://go-review.googlesource.com/c/go/+/312291
Trust: David Chase <drchase@google.com>
Run-TryBot: David Chase <drchase@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
src/cmd/compile/internal/ssagen/ssa.go