• 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
.github Loading commit data...
api Loading commit data...
doc Loading commit data...
lib/time Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...