commit | a8ba163695f605c72156c90de97a06b3e40566ff | [log] [tgz] |
---|---|---|
author | qmuntal <quimmuntal@gmail.com> | Wed Apr 24 09:36:22 2024 +0200 |
committer | Quim Muntal <quimmuntal@gmail.com> | Thu Apr 25 18:50:21 2024 +0000 |
tree | c0f8f4f861b7fdae3dd25ab3f25e3f12d73c9cff | |
parent | fd99157f9d9c22eb35ea9c70f32908f0980d47ed [diff] |
runtime: fix mcall unwinding on Windows The Windows native stack unwinder incorrectly classifies the next instruction after the mcall callback call as being part of the function epilogue, producing a wrong call stack. Add a NOP after the callback call to work around this issue. Fixes #67007. Change-Id: I6017635da895b272b1852391db9a255ca69e335d Reviewed-on: https://go-review.googlesource.com/c/go/+/581335 TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Michael Knyszek <mknyszek@google.com> Reviewed-by: Cherry Mui <cherryyz@google.com> Run-TryBot: Quim Muntal <quimmuntal@gmail.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Go is an open source programming language that makes it easy to build simple, reliable, and efficient software.
Gopher image by Renee French, licensed under Creative Commons 4.0 Attributions license.
Our canonical Git repository is located at https://go.googlesource.com/go. There is a mirror of the repository at https://github.com/golang/go.
Unless otherwise noted, the Go source files are distributed under the BSD-style license found in the LICENSE file.
Official binary distributions are available at https://go.dev/dl/.
After downloading a binary release, visit https://go.dev/doc/install for installation instructions.
If a binary distribution is not available for your combination of operating system and architecture, visit https://go.dev/doc/install/source for source installation instructions.
Go is the work of thousands of contributors. We appreciate your help!
To contribute, please read the contribution guidelines at https://go.dev/doc/contribute.
Note that the Go project uses the issue tracker for bug reports and proposals only. See https://go.dev/wiki/Questions for a list of places to ask questions about the Go language.