diff options
| author | Russ Cox <rsc@golang.org> | 2014-09-11 12:08:30 -0400 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2014-09-11 12:08:30 -0400 |
| commit | 1d550b87dbbe711a1bf2e54e0ba065a27165d2c1 (patch) | |
| tree | 154e9e895575bc13f839569b9279cd912a5a86f8 /src/runtime/proc.c | |
| parent | f956740163ad4b46237cea83357b962cada1c2df (diff) | |
| download | go-1d550b87dbbe711a1bf2e54e0ba065a27165d2c1.tar.xz | |
runtime: allow crash from gsignal stack
The uses of onM in dopanic/startpanic are okay even from the signal stack.
Fixes #8666.
LGTM=khr
R=khr
CC=golang-codereviews
https://golang.org/cl/134710043
Diffstat (limited to 'src/runtime/proc.c')
| -rw-r--r-- | src/runtime/proc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/runtime/proc.c b/src/runtime/proc.c index e3f24a7e67..03deb7abb1 100644 --- a/src/runtime/proc.c +++ b/src/runtime/proc.c @@ -2398,6 +2398,7 @@ gfpurge(P *p) runtime·unlock(&runtime·sched.gflock); } +#pragma textflag NOSPLIT void runtime·Breakpoint(void) { |
