]> Cypherpunks.ru repositories - gostls13.git/commit
cmd/compile: preserve/translate names for parameters
authorDavid Chase <drchase@google.com>
Tue, 20 Apr 2021 03:00:24 +0000 (23:00 -0400)
committerDavid Chase <drchase@google.com>
Tue, 4 May 2021 13:37:39 +0000 (13:37 +0000)
commit0921211403731b5a8a38e2d2c647c288240e5b29
tree6fa8e866ee676ba030b915080f5cc8399fb48156
parent830e63a7a330577bfb51404f38beb1b47ceae6b6
cmd/compile: preserve/translate names for parameters

This is part of getting debugging into good shape
with the register ABI.  (This may generate a backport
for 1.16, there was some regression there as well.)

This is not necessarily fully-baked yet; my goal is to
make it work "well enough" for actual debugging, then
revisit the metrics, which are currently ignorant
of registers used for passing parameters (currently,
rejects them as a valid option).

Updates #40724.

Change-Id: Ib649adf39f947b7b54895c5bf181cf48ca4d38a0
Reviewed-on: https://go-review.googlesource.com/c/go/+/311689
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/ssa/expand_calls.go