-
- Downloads
runtime: factor out windows sigtramp
This CL factors out part of the Windows sigtramp implementation, which was duplicated in all four architectures. The new common code is implemented in Go rather than in assembly, which will make Windows error handling easier to reason and maintain. While here, implement the control flow guard workaround on windows/386, which almost comes for free. Change-Id: I0bf38c28c54793225126e161bd95527a62de05e0 Reviewed-on: https://go-review.googlesource.com/c/go/+/458135 Run-TryBot: Quim Muntal <quimmuntal@gmail.com> Reviewed-by:Cherry Mui <cherryyz@google.com> Reviewed-by:
Alex Brainman <alex.brainman@gmail.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by:
Bryan Mills <bcmills@google.com> Reviewed-by:
Michael Pratt <mpratt@google.com>
Showing
- src/runtime/defs_windows.go 5 additions, 0 deletionssrc/runtime/defs_windows.go
- src/runtime/defs_windows_386.go 5 additions, 0 deletionssrc/runtime/defs_windows_386.go
- src/runtime/defs_windows_amd64.go 5 additions, 0 deletionssrc/runtime/defs_windows_amd64.go
- src/runtime/defs_windows_arm.go 5 additions, 0 deletionssrc/runtime/defs_windows_arm.go
- src/runtime/defs_windows_arm64.go 5 additions, 0 deletionssrc/runtime/defs_windows_arm64.go
- src/runtime/signal_windows.go 97 additions, 4 deletionssrc/runtime/signal_windows.go
- src/runtime/sys_windows_386.s 28 additions, 57 deletionssrc/runtime/sys_windows_386.s
- src/runtime/sys_windows_amd64.s 33 additions, 104 deletionssrc/runtime/sys_windows_amd64.s
- src/runtime/sys_windows_arm.s 18 additions, 103 deletionssrc/runtime/sys_windows_arm.s
- src/runtime/sys_windows_arm64.s 20 additions, 125 deletionssrc/runtime/sys_windows_arm64.s
Loading
Please register or sign in to comment