• Austin Clements's avatar
    internal/bytealg, runtime: provide linknames for pushed symbols · ef7ce57a
    Austin Clements authored
    The internal/bytealg package defines several symbols in the runtime,
    bytes, and strings packages in assembly, and the runtime package
    defines symbols in reflect and sync/atomic. Currently, there's no
    corresponding Go prototype for these symbols in the defining package.
    
    We're going to start depending on Go prototypes in the same package as
    their assembly definitions in order to provide ABI wrappers. Plus,
    these are good documentation and colocate type information with
    definitions, which could be useful for vet if it learned a little
    about linkname.
    
    This CL adds linknamed Go prototypes for all pushed symbols in
    internal/bytealg and runtime.
    
    For #27539.
    
    Change-Id: I9b0c12d935a75bb6af46b6761180d451c00f11b8
    Reviewed-on: https://go-review.googlesource.com/c/146820
    Run-TryBot: Austin Clements <austin@google.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarKeith Randall <khr@golang.org>
    Reviewed-by: 's avatarMichael Knyszek <mknyszek@google.com>
    ef7ce57a
Name
Last commit
Last update
..
bytealg.go Loading commit data...
compare_386.s Loading commit data...
compare_amd64.s Loading commit data...
compare_amd64p32.s Loading commit data...
compare_arm.s Loading commit data...
compare_arm64.s Loading commit data...
compare_generic.go Loading commit data...
compare_mipsx.s Loading commit data...
compare_native.go Loading commit data...
compare_ppc64x.s Loading commit data...
compare_s390x.s Loading commit data...
compare_wasm.s Loading commit data...
count_amd64.s Loading commit data...
count_arm64.s Loading commit data...
count_generic.go Loading commit data...
count_native.go Loading commit data...
count_ppc64x.s Loading commit data...
equal_386.s Loading commit data...
equal_amd64.s Loading commit data...
equal_amd64p32.s Loading commit data...
equal_arm.s Loading commit data...
equal_arm64.s Loading commit data...
equal_mips64x.s Loading commit data...
equal_mipsx.s Loading commit data...
equal_native.go Loading commit data...
equal_ppc64x.s Loading commit data...
equal_s390x.s Loading commit data...
equal_wasm.s Loading commit data...
index_amd64.go Loading commit data...
index_amd64.s Loading commit data...
index_arm64.go Loading commit data...
index_arm64.s Loading commit data...
index_generic.go Loading commit data...
index_native.go Loading commit data...
index_s390x.go Loading commit data...
index_s390x.s Loading commit data...
indexbyte_386.s Loading commit data...
indexbyte_amd64.s Loading commit data...
indexbyte_amd64p32.s Loading commit data...
indexbyte_arm.s Loading commit data...
indexbyte_arm64.s Loading commit data...
indexbyte_generic.go Loading commit data...
indexbyte_mips64x.s Loading commit data...
indexbyte_mipsx.s Loading commit data...
indexbyte_native.go Loading commit data...
indexbyte_ppc64x.s Loading commit data...
indexbyte_s390x.s Loading commit data...
indexbyte_wasm.s Loading commit data...