]> Cypherpunks.ru repositories - gostls13.git/commit
cmd/compile: fix pointer maps for morestack
authorDavid Chase <drchase@google.com>
Fri, 19 Feb 2021 23:00:48 +0000 (18:00 -0500)
committerDavid Chase <drchase@google.com>
Thu, 4 Mar 2021 16:21:10 +0000 (16:21 +0000)
commit3778f8e07d06cabfccd1508295ad67270af078cd
tree81b1273462ea0c5751571072c47fb3303985b4fc
parenta2d92b5143ad6ed1b55b71032c5c1f468ba76fd4
cmd/compile: fix pointer maps for morestack

Verified with test and with single step watching changes to register
values across morestack calls, after reload.

Also added stack-growth test with pointer parameters of varying lifetime.

For #40724.

Change-Id: Idb5fe27786ac5c6665a734d41e68d3d39de2f4da
Reviewed-on: https://go-review.googlesource.com/c/go/+/294429
Trust: David Chase <drchase@google.com>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
Reviewed-by: Jeremy Faller <jeremy@golang.org>
src/cmd/compile/internal/liveness/plive.go
src/cmd/compile/internal/ssa/value.go
test/abi/uglyfib.go [new file with mode: 0644]
test/abi/uglyfib.out [new file with mode: 0644]