1
0
mirror of https://github.com/golang/go synced 2024-11-14 19:50:21 -07:00
go/src/internal
Matthew Dempsky 5059aed9dd [dev.typeparams] internal/buildcfg: allow regabiwrappers on all GOARCH
There's nothing GOARCH-specific about ABI wrappers, so allow enabling
them on all architectures.

For unified IR, I want to have a testing mode where we add dictionary
parameters even to non-generic functions, as a way to help stress test
that they're handled correctly. This requires callers to know to
supply the appropriate dictionary arguments when calling them. Calls
generated by the Go compiler know to do this, but calls written in
assembly won't.

Reusing the regabi wrappers is a convenient choke-point for inserting
dictionary arguments for assembly calls.

Change-Id: Ic2c06b7626730289c5405829b61653d1daec430b
Reviewed-on: https://go-review.googlesource.com/c/go/+/333453
Trust: Matthew Dempsky <mdempsky@google.com>
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Than McIntosh <thanm@google.com>
2021-07-10 00:13:05 +00:00
..
abi [dev.typeparams] reflect: support big endian architectures in callMethod 2021-06-17 21:30:24 +00:00
buildcfg [dev.typeparams] internal/buildcfg: allow regabiwrappers on all GOARCH 2021-07-10 00:13:05 +00:00
bytealg [dev.typeparams] all: merge master (785a8f6) into dev.typeparams 2021-06-16 14:59:13 +07:00
cfg
cpu all: add //go:build lines to assembly files 2021-05-13 09:12:17 +00:00
execabs
fmtsort
goarch [dev.typeparams] internal/goarch,internal/goos: rename Goos and Goarch constants 2021-06-17 21:28:55 +00:00
goexperiment [dev.typeparams] all: add GOEXPERIMENT=unified knob 2021-06-17 09:09:02 +00:00
goos [dev.typeparams] internal/goarch,internal/goos: rename Goos and Goarch constants 2021-06-17 21:28:55 +00:00
goroot
goversion [dev.typeparams] all: merge master (fdab5be) into dev.typeparams 2021-06-14 13:24:47 -07:00
itoa
lazyregexp
lazytemplate
nettrace
obscuretestdata
oserror
poll
profile
race
reflectlite [dev.typeparams] all: merge master (296ddf2) into dev.typeparams 2021-07-08 13:11:32 -07:00
singleflight
syscall
sysinfo
testenv
testlog
trace
unsafeheader
xcoff