]> Cypherpunks repositories - gostls13.git/commit
runtime: add missing race and msan checks to reflect functions
authorIan Lance Taylor <iant@golang.org>
Wed, 6 Jul 2016 22:30:33 +0000 (15:30 -0700)
committerIan Lance Taylor <iant@golang.org>
Tue, 23 Aug 2016 13:12:15 +0000 (13:12 +0000)
commitdc9755c2a2b561af6c990399938980ab044406ba
treebf510060a8dfdfb371dea6b282136bca628e6784
parentd9504d4623556467f023da5c33236ec0cf4520cb
runtime: add missing race and msan checks to reflect functions

Add missing race and msan checks to reflect.typedmmemove and
reflect.typedslicecopy. Missing these checks caused the race detector
to miss races and caused msan to issue false positive errors.

Fixes #16281.

Change-Id: I500b5f92bd68dc99dd5d6f297827fd5d2609e88b
Reviewed-on: https://go-review.googlesource.com/24760
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Dmitry Vyukov <dvyukov@google.com>
misc/cgo/testsanitizers/msan5.go [new file with mode: 0644]
misc/cgo/testsanitizers/test.bash
src/runtime/mbarrier.go
src/runtime/race/testdata/reflect_test.go [new file with mode: 0644]