go/src/cmd
Cherry Zhang 498eaee461 cmd/internal/obj/x86: mark 2-instruction TLS access nonpreemptible
The 2-instruction TLS access sequence
	MOVQ TLS, BX
	MOVQ 0(BX)(TLS*1), BX
is not async preemptible, as if it is preempted and resumed on a
different thread, the TLS address may become invalid.

May fix #35349. (This is a rare failure and I haven't been able
to reproduce it.)

Change-Id: Ie1a366fd0d7d73627dc62ee2de01c0aa09365f2b
Reviewed-on: https://go-review.googlesource.com/c/go/+/206903
Run-TryBot: Cherry Zhang <cherryyz@google.com>
Reviewed-by: Austin Clements <austin@google.com>
2019-11-15 02:31:58 +00:00
..
addr2line internal/testenv: remove SetModVendor 2019-03-08 23:40:24 +00:00
api cmd/api: read std package info once, not per goos-goarch-cgo 2019-05-21 18:14:40 +00:00
asm Merge "cmd: merge branch 'dev.link' into master" 2019-11-08 20:24:43 +00:00
buildid
cgo go/build: recognize '.sx' as equivalent of '.S' 2019-10-20 21:15:11 +00:00
compile cmd/compile: update comments to refer to Order methods 2019-11-13 15:52:21 +00:00
cover syscall: respect permission bits on file opening on Windows 2019-10-22 10:09:39 +00:00
dist doc: convert remaining bash tests to Go 2019-11-14 21:33:00 +00:00
doc cmd/doc: show the package clause always 2019-11-12 05:24:00 +00:00
fix cmd/fix, cmd/go, cmd/gofmt: refactor common code into new internal diff package 2019-10-28 23:59:10 +00:00
go cmd/go: include module path and version in cache key with -trimpath 2019-11-14 22:55:12 +00:00
gofmt cmd/fix, cmd/go, cmd/gofmt: refactor common code into new internal diff package 2019-10-28 23:59:10 +00:00
internal cmd/internal/obj/x86: mark 2-instruction TLS access nonpreemptible 2019-11-15 02:31:58 +00:00
link cmd/link/internal/ld,misc/cgo/testcshared: don't -fuse-ld=gold on Android 2019-11-14 17:43:48 +00:00
nm [dev.link] all: reenable cgo internal linking tests 2019-11-02 19:21:24 +00:00
objdump Revert "cmd/go: fail if a test binary exits with no output" 2019-10-09 20:30:46 +00:00
pack all: shorten some tests 2019-05-22 12:54:00 +00:00
pprof all: use "reports whether" consistently instead of "returns whether" 2018-12-02 15:12:26 +00:00
test2json
trace all: simplify code using "gofmt -s -w" 2019-05-06 22:19:22 +00:00
vendor cmd: sync github.com/google/pprof@v0.0.0-20191105193234-27840fff0d09 2019-11-12 21:27:38 +00:00
vet cmd/vet: add test for loading complex values with a single instruction 2019-11-05 01:01:31 +00:00
README.vendor all: document vendoring in the standard library 2019-05-09 17:11:16 +00:00
go.mod cmd: sync github.com/google/pprof@v0.0.0-20191105193234-27840fff0d09 2019-11-12 21:27:38 +00:00
go.sum cmd: sync github.com/google/pprof@v0.0.0-20191105193234-27840fff0d09 2019-11-12 21:27:38 +00:00

README.vendor

See src/README.vendor for information on loading vendored packages
and updating the vendor directory.