]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: enable -d=checkptr when -race or -msan is specified
authorMatthew Dempsky <mdempsky@google.com>
Thu, 17 Oct 2019 20:24:34 +0000 (13:24 -0700)
committerMatthew Dempsky <mdempsky@google.com>
Tue, 22 Oct 2019 23:28:20 +0000 (23:28 +0000)
commitdded58760d3e97907d9ee2d5c7b0252970508044
tree13151aeec696786c0d503eefca0f43dbe42002ca
parent5a5854c2d1a0eed6d48734ab2cc674c25aa670cb
cmd/compile: enable -d=checkptr when -race or -msan is specified

It can still be manually disabled again using -d=checkptr=0.

It's also still disabled by default for GOOS=windows, because the
Windows standard library code has a lot of unsafe pointer conversions
that need updating.

Updates #34964.

Change-Id: Ie0b8b4fdf9761565e0dcb00d69997ad896ac233d
Reviewed-on: https://go-review.googlesource.com/c/go/+/201783
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/cmd/compile/internal/gc/main.go