]> Cypherpunks repositories - gostls13.git/commit
runtime: fix getgcmask
authorDmitriy Vyukov <dvyukov@google.com>
Fri, 15 Aug 2014 18:36:12 +0000 (22:36 +0400)
committerDmitriy Vyukov <dvyukov@google.com>
Fri, 15 Aug 2014 18:36:12 +0000 (22:36 +0400)
commitc5e648d684312b979e243077f909a798adbf6e5b
tree9f60749bd3f317d5ceaebe57d18807b379e2fc5d
parent7f40e5e6e5b446a83577fa25a6bc0359b86d7c3a
runtime: fix getgcmask
bv.data is an array of uint32s but the code was using
offsets computed for an array of bytes.
Add a test for stack GC info.
Fixes #8531.

LGTM=rsc
R=golang-codereviews
CC=golang-codereviews, khr, rsc
https://golang.org/cl/124450043
src/pkg/runtime/gcinfo_test.go
src/pkg/runtime/mgc0.c