]> Cypherpunks repositories - gostls13.git/commit
runtime: fix -d=checkptr failure for testing/quick
authorMatthew Dempsky <mdempsky@google.com>
Tue, 22 Oct 2019 18:59:00 +0000 (11:59 -0700)
committerMatthew Dempsky <mdempsky@google.com>
Tue, 22 Oct 2019 23:14:03 +0000 (23:14 +0000)
commit5a5854c2d1a0eed6d48734ab2cc674c25aa670cb
tree9fbc1306a8b81fddb292a527c5250d9d921ce707
parent7d84245a9cd41489984e36c5a01876fc4da5d5ec
runtime: fix -d=checkptr failure for testing/quick

This CL extends checkptrBase to recognize pointers into the stack and
data/bss sections. I was meaning to do this eventually anyway, but
it's also an easy way to workaround #35068.

Updates #35068.

Change-Id: Ib47f0aa800473a4fbc249da52ff03bec32c3ebe2
Reviewed-on: https://go-review.googlesource.com/c/go/+/202639
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Austin Clements <austin@google.com>
src/runtime/checkptr.go