]> Cypherpunks repositories - gostls13.git/commit
[dev.typeparams] runtime: use internal/abi.FuncPCABI0 to reference ABI0 assembly...
authorCherry Mui <cherryyz@google.com>
Fri, 21 May 2021 01:33:01 +0000 (21:33 -0400)
committerCherry Mui <cherryyz@google.com>
Fri, 21 May 2021 22:12:04 +0000 (22:12 +0000)
commit7d928460a183f4efeed97638aa29f5f1fe74e397
tree0ab4e82aa03abc96f1028e73d9a4606453419a83
parent0e0a1f94f3bd6c34b630818ecee2bf1a395e4242
[dev.typeparams] runtime: use internal/abi.FuncPCABI0 to reference ABI0 assembly symbols

Use FuncPCABI0 to reference ABI0 assembly symbols. Currently,
they are referenced using funcPC, which will get the ABI wrapper's
address. They don't seem to affect correctness (either the wrapper
is harmless, or, on non-AMD64 architectures, not enabled). They
should have been converted.

This CL does not yet completely eliminate funcPC. But at this
point we should be able to replace all remaining uses of funcPC
to internal/abi.FuncPCABIInternal.

Change-Id: I383a686e11d570f757f185fe46769a42c856ab77
Reviewed-on: https://go-review.googlesource.com/c/go/+/321952
Trust: Cherry Mui <cherryyz@google.com>
Run-TryBot: Cherry Mui <cherryyz@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
16 files changed:
src/runtime/defs_plan9_386.go
src/runtime/defs_plan9_amd64.go
src/runtime/os3_plan9.go
src/runtime/os_dragonfly.go
src/runtime/os_freebsd.go
src/runtime/os_linux.go
src/runtime/os_netbsd.go
src/runtime/os_netbsd_386.go
src/runtime/os_netbsd_amd64.go
src/runtime/os_netbsd_arm.go
src/runtime/os_netbsd_arm64.go
src/runtime/os_openbsd_syscall.go
src/runtime/proc.go
src/runtime/sys_darwin_arm64.go
src/runtime/sys_plan9_386.s
src/runtime/sys_plan9_amd64.s