]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1.5] runtime: add GODEBUG for stack barriers at every frame
authorAustin Clements <austin@google.com>
Wed, 26 Aug 2015 17:54:26 +0000 (13:54 -0400)
committerAndrew Gerrand <adg@golang.org>
Tue, 8 Sep 2015 06:04:42 +0000 (06:04 +0000)
commitf7d740377612142c6a08e460b5c542ebe0d758b3
tree52ec066a29a21d09d68902e24f261755f2644e44
parente4e59921f1cc11e60f0096bcb4d54dd683270821
[release-branch.go1.5] runtime: add GODEBUG for stack barriers at every frame

Currently enabling the debugging mode where stack barriers are
installed at every frame requires recompiling the runtime. However,
this is potentially useful for field debugging and for runtime tests,
so make this mode a GODEBUG.

Updates #12238.

Change-Id: I6fb128f598b19568ae723a612e099c0ed96917f5
Reviewed-on: https://go-review.googlesource.com/13947
Reviewed-by: Russ Cox <rsc@golang.org>
Reviewed-on: https://go-review.googlesource.com/14240
Reviewed-by: Austin Clements <austin@google.com>
src/runtime/extern.go
src/runtime/mgc.go
src/runtime/mgcmark.go
src/runtime/runtime1.go