]> Cypherpunks repositories - gostls13.git/commit
runtime: handle all windows exception (second attempt)
authorAlex Brainman <alex.brainman@gmail.com>
Wed, 15 Oct 2014 00:11:11 +0000 (11:11 +1100)
committerAlex Brainman <alex.brainman@gmail.com>
Wed, 15 Oct 2014 00:11:11 +0000 (11:11 +1100)
commite9ecd4aec51f06cb0834fe3bbd8c4b88d5fd94b5
treebe828615f1dbf7cf319e19f7450108aa4e40ee06
parent96d1e4ab5938d263457a9c18fdf6fdf0581c6ec6
runtime: handle all windows exception (second attempt)

includes undo of 22318cd31d7d and also:
- always use SetUnhandledExceptionFilter on windows-386;
- crash when receive EXCEPTION_BREAKPOINT in exception handler.

Fixes #8006.

LGTM=rsc
R=golang-codereviews, rsc
CC=golang-codereviews
https://golang.org/cl/155360043
src/runtime/defs_windows.go
src/runtime/defs_windows_386.h
src/runtime/defs_windows_amd64.h
src/runtime/os_windows.c
src/runtime/os_windows_386.c
src/runtime/os_windows_amd64.c
src/runtime/sys_windows_386.s
src/runtime/sys_windows_amd64.s
src/runtime/syscall_windows_test.go