]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: fix failure to communicate between ABIinfo producer&consumer
authorDavid Chase <drchase@google.com>
Sun, 7 Mar 2021 19:00:10 +0000 (14:00 -0500)
committerDavid Chase <drchase@google.com>
Tue, 9 Mar 2021 18:45:05 +0000 (18:45 +0000)
commit382851c1fd135a99efbe128a3be0ce466d42506f
tree63e138e97306bfdaffc642677aaffc595d87602f
parent9f5298ca6e7fc9c46c0a82bd7be39450ec48dcb5
cmd/compile: fix failure to communicate between ABIinfo producer&consumer

ABI info producer and consumer had different ideas for register
order for parameters.

Includes a test, includes improvements to debugging output.

Updates #44816.

Change-Id: I4812976f7a6c08d6fc02aac1ec0544b1f141cca6
Reviewed-on: https://go-review.googlesource.com/c/go/+/299570
Trust: David Chase <drchase@google.com>
Reviewed-by: Than McIntosh <thanm@google.com>
src/cmd/compile/internal/abi/abiutils.go
src/cmd/compile/internal/ssa/expand_calls.go
src/cmd/compile/internal/ssa/value.go
src/cmd/compile/internal/test/abiutils_test.go
src/cmd/internal/obj/x86/asm6.go
test/abi/s_sif_sif.go [new file with mode: 0644]