]> Cypherpunks.ru repositories - gostls13.git/commit
runtime: fix windows/arm CONTEXT_CONTROL
authorRuss Cox <rsc@golang.org>
Wed, 27 Jan 2021 16:02:33 +0000 (11:02 -0500)
committerRuss Cox <rsc@golang.org>
Fri, 19 Feb 2021 00:03:36 +0000 (00:03 +0000)
commit75e273fc2c183896a11bf23f0688c38059933336
tree25a68f8a2400f322337ea3d840547aff0a54d90c
parent76ab626bfc52fad9ce8c12fac56177ce68ff744b
runtime: fix windows/arm CONTEXT_CONTROL

The constant was wrong, and the “right” constant doesn't work either.
But with the actually-right constant (and possibly earlier fixes in this
stack as well), profiling now works.

Change-Id: If8caff1da556826db40961fb9bcfe2b1f31ea9f9
Reviewed-on: https://go-review.googlesource.com/c/go/+/288808
Trust: Russ Cox <rsc@golang.org>
Trust: Jason A. Donenfeld <Jason@zx2c4.com>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
Reviewed-by: Jason A. Donenfeld <Jason@zx2c4.com>
src/runtime/defs_windows_arm.go
src/runtime/pprof/pprof_test.go