1
0
mirror of https://github.com/golang/go synced 2024-11-14 15:00:27 -07:00
go/src/cmd
Josh Bleecher Snyder 1e69245418 cmd/internal/obj/s390x: make assembler almost concurrency-safe
CL 39922 made the arm assembler concurrency-safe.
This CL does the same, but for s390x.
The approach is similar: introduce ctxtz to hold
function-local state and thread it through
the assembler as necessary.

One race remains after this CL, similar to CL 40252.

That race is conceptually unrelated to this refactoring,
and will be addressed in a separate CL.

Passes toolstash-check -all.

Updates #15756

Change-Id: Iabf17aa242b70c0b078c2e85dae3d93a5e512372
Reviewed-on: https://go-review.googlesource.com/40371
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Michael Munday <munday@ca.ibm.com>
2017-04-11 15:02:28 +00:00
..
addr2line cmd/go: build test binaries with -s in addition to -w 2017-03-29 17:18:16 +00:00
api
asm runtime: use hardware divider to improve performance 2017-04-11 12:25:55 +00:00
cgo cmd/cgo: support floating point #define macros 2017-04-07 21:09:44 +00:00
compile cmd/compile/internal/ssa: remove unused Typ fields 2017-04-11 06:18:36 +00:00
cover
dist cmd/go: allow full flag processing in go vet 2017-04-10 15:10:30 +00:00
doc cmd/doc: implement "go doc struct.field" 2017-03-22 05:37:50 +00:00
fix cmd/fix,cmd/gofmt: flush to disk before diffing 2017-03-30 18:19:57 +00:00
go cmd/go: allow full flag processing in go vet 2017-04-10 15:10:30 +00:00
gofmt cmd/fix,cmd/gofmt: flush to disk before diffing 2017-03-30 18:19:57 +00:00
internal cmd/internal/obj/s390x: make assembler almost concurrency-safe 2017-04-11 15:02:28 +00:00
link Revert "cmd/compile: output DWARF lexical blocks for local variables" 2017-04-07 19:52:26 +00:00
nm all: fix some printf format strings 2017-02-14 02:09:30 +00:00
objdump cmd/objdump: print Go code alongside assembly 2017-04-05 06:20:40 +00:00
pack
pprof cmd/pprof: update README to explain relationship with github.com/google/pprof 2017-04-10 19:51:01 +00:00
trace cmd/trace: traces may end with pending mark assists 2017-03-02 18:33:54 +00:00
vendor cmd/vendor/github.com/google/pprof: refresh from upstream 2017-03-01 21:36:03 +00:00
vet cmd/go: allow full flag processing in go vet 2017-04-10 15:10:30 +00:00