go/src/internal
Austin Clements ef7ce57ac2 internal/bytealg, runtime: provide linknames for pushed symbols
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: Keith Randall <khr@golang.org>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
2018-11-12 20:27:16 +00:00
..
bytealg internal/bytealg, runtime: provide linknames for pushed symbols 2018-11-12 20:27:16 +00:00
cpu internal/cpu, runtime: add CPU feature detection support for AIX 2018-10-31 16:11:20 +00:00
fmtsort fmt: print maps in key-sorted order 2018-10-18 21:12:24 +00:00
goroot go/build: move isStandardPackage to new internal/goroot package 2018-09-25 22:07:43 +00:00
nettrace net, net/http: don't trace DNS dials 2016-05-14 00:14:25 +00:00
poll syscall: implement syscalls on Darwin using libSystem 2018-11-07 20:27:01 +00:00
race testing: mark tests and benchmarks failed if a race occurs during execution 2016-11-03 18:19:49 +00:00
singleflight net: don't let cancelation of a DNS lookup affect another lookup 2018-03-16 13:39:38 +00:00
syscall internal/syscall/unix: use libc calls on Darwin 2018-11-08 17:26:22 +00:00
testenv all: skip unsupported tests for js/wasm 2018-04-30 19:39:18 +00:00
testlog cmd/go: invalidate cached test results if env vars or files change 2017-12-11 19:08:32 +00:00
trace all: fix typos detected by github.com/client9/misspell 2018-08-23 15:54:07 +00:00
traceparser internal/traceparser: skip test on iOS 2018-11-07 13:04:50 +00:00