runtime: print debuglog before sighandler crash

Change-Id: I48e8c314258a033fa0dc5e533e2c5bd06c529a7c
Reviewed-on: https://go-review.googlesource.com/c/go/+/501977
Auto-Submit: Michael Pratt <mpratt@google.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Run-TryBot: Michael Pratt <mpratt@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
This commit is contained in:
Michael Pratt 2023-06-07 12:04:44 -04:00 committed by Gopher Robot
parent ad943066f6
commit 9ceba95008

View file

@ -768,6 +768,7 @@ func sighandler(sig uint32, info *siginfo, ctxt unsafe.Pointer, gp *g) {
raiseproc(_SIGQUIT)
usleep(5 * 1000 * 1000)
}
printDebugLog()
crash()
}