mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
runtime: tell race detector about reflectOffs.lock
Fixes #15832 Change-Id: I6f3f45e3c21edd0e093ecb1d8a067907863478f5 Reviewed-on: https://go-review.googlesource.com/23441 Reviewed-by: Dmitry Vyukov <dvyukov@google.com>
This commit is contained in:
parent
6247ca2dbb
commit
56e5e0b69c
4 changed files with 41 additions and 8 deletions
|
|
@ -109,3 +109,7 @@ func IsExported(t Type) bool {
|
|||
n := typ.nameOff(typ.str)
|
||||
return n.isExported()
|
||||
}
|
||||
|
||||
func ResolveReflectName(s string) {
|
||||
resolveReflectName(newName(s, "", "", false))
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue