]> Cypherpunks repositories - gostls13.git/commit
cmd/compile/internal/dwarfgen: make scope test less sensitive to changes in escape...
authorthepudds <thepudds1460@gmail.com>
Thu, 31 Aug 2023 14:16:01 +0000 (10:16 -0400)
committerGopher Robot <gobot@golang.org>
Thu, 7 Sep 2023 00:29:59 +0000 (00:29 +0000)
commitfbaf71f36bda00fc9eba71720a3c903d15988046
treeba8257e9b48112a298724b7548c77fc41c116722
parent729f214e3afd61afd924b946745798a8d144aad6
cmd/compile/internal/dwarfgen: make scope test less sensitive to changes in escape analysis

The test function fi is used in TestEscape, and the intent of fi
seems to be to leak its argument, but fi is currently
sensitive to changes in escape analysis regarding interface receivers.

Make fi less sensitive by directly leaking its argument.

Change-Id: I16cc3d3a6bd7b08a08c8fc292b0b99c9a54d68d7
Reviewed-on: https://go-review.googlesource.com/c/go/+/524943
Run-TryBot: t hepudds <thepudds1460@gmail.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
Auto-Submit: Matthew Dempsky <mdempsky@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
src/cmd/compile/internal/dwarfgen/scope_test.go