]> Cypherpunks repositories - gostls13.git/commit
[dev.typeparams] cmd/link: take function address in assembly in TestFuncAlign
authorCherry Mui <cherryyz@google.com>
Tue, 1 Jun 2021 23:16:33 +0000 (19:16 -0400)
committerCherry Mui <cherryyz@google.com>
Thu, 3 Jun 2021 14:27:08 +0000 (14:27 +0000)
commit9c054f413751fdec62aa33df19ec1249426767ee
treea187e9b24d8e2e675baa38867e183d3340df762d
parent95c618e99a3f733543fd36ef19e833d04acc8710
[dev.typeparams] cmd/link: take function address in assembly in TestFuncAlign

In TestFuncAlign we want to get the address of an assembly
function. Take the address in assembly, so we get the actual
function's address, not the wrapper's.

Change-Id: Idc1fe2c8426562c70f8f7d6e489584ef059bc556
Reviewed-on: https://go-review.googlesource.com/c/go/+/324249
Trust: Cherry Mui <cherryyz@google.com>
Run-TryBot: Cherry Mui <cherryyz@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Than McIntosh <thanm@google.com>
src/cmd/link/link_test.go