1
0
mirror of https://github.com/golang/go synced 2024-11-19 14:04:46 -07:00
go/src/runtime/internal
Cherry Zhang 633b38c5d2 runtime/internal/atomic: add early nil check on ARM
If nil, fault before taking the lock or calling into the kernel.

Change-Id: I013d78a5f9233c2a9197660025f679940655d384
Reviewed-on: https://go-review.googlesource.com/93636
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Austin Clements <austin@google.com>
2018-02-14 17:09:05 +00:00
..
atomic runtime/internal/atomic: add early nil check on ARM 2018-02-14 17:09:05 +00:00
sys all: use Fatalf instead of Fatal if format is given 2018-01-10 01:35:45 +00:00