]> Cypherpunks repositories - gostls13.git/commit
internal/bytealg: specify argmaps for exported functions
authorKeith Randall <khr@google.com>
Mon, 9 Jul 2018 18:09:42 +0000 (11:09 -0700)
committerKeith Randall <khr@golang.org>
Tue, 10 Jul 2018 17:13:53 +0000 (17:13 +0000)
commitbe9c994609eace4ef26966e86374685dce4b3413
treedf3c00f45d8f35fef8c0e7e156236348198cad02
parentdeefcb26233c8acd089e9ae1d247c13891b6c55c
internal/bytealg: specify argmaps for exported functions

Functions exported on behalf of other packages need to have their
argument stack maps specified explicitly.  They don't get an implicit
map because they are not in the local package, and if they get defer'd
they need argument maps.

Fixes #24419

Change-Id: I35b7d8b4a03d4770ba88699e1007cb3fcb5397a9
Reviewed-on: https://go-review.googlesource.com/122676
Run-TryBot: Keith Randall <khr@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
30 files changed:
src/internal/bytealg/compare_386.s
src/internal/bytealg/compare_amd64.s
src/internal/bytealg/compare_amd64p32.s
src/internal/bytealg/compare_arm.s
src/internal/bytealg/compare_arm64.s
src/internal/bytealg/compare_mipsx.s
src/internal/bytealg/compare_ppc64x.s
src/internal/bytealg/compare_s390x.s
src/internal/bytealg/compare_wasm.s
src/internal/bytealg/equal_386.s
src/internal/bytealg/equal_amd64.s
src/internal/bytealg/equal_amd64p32.s
src/internal/bytealg/equal_arm.s
src/internal/bytealg/equal_arm64.s
src/internal/bytealg/equal_mips64x.s
src/internal/bytealg/equal_mipsx.s
src/internal/bytealg/equal_ppc64x.s
src/internal/bytealg/equal_s390x.s
src/internal/bytealg/equal_wasm.s
src/internal/bytealg/indexbyte_386.s
src/internal/bytealg/indexbyte_amd64.s
src/internal/bytealg/indexbyte_amd64p32.s
src/internal/bytealg/indexbyte_arm.s
src/internal/bytealg/indexbyte_arm64.s
src/internal/bytealg/indexbyte_mips64x.s
src/internal/bytealg/indexbyte_mipsx.s
src/internal/bytealg/indexbyte_ppc64x.s
src/internal/bytealg/indexbyte_s390x.s
src/internal/bytealg/indexbyte_wasm.s
test/fixedbugs/issue24419.go [new file with mode: 0644]