aboutsummaryrefslogtreecommitdiff
path: root/src/bytes/buffer_test.go
diff options
context:
space:
mode:
authorqmuntal <quimmuntal@gmail.com>2024-04-24 09:36:22 +0200
committerQuim Muntal <quimmuntal@gmail.com>2024-04-25 18:50:21 +0000
commita8ba163695f605c72156c90de97a06b3e40566ff (patch)
treec0f8f4f861b7fdae3dd25ab3f25e3f12d73c9cff /src/bytes/buffer_test.go
parentfd99157f9d9c22eb35ea9c70f32908f0980d47ed (diff)
downloadgo-a8ba163695f605c72156c90de97a06b3e40566ff.tar.xz
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>
Diffstat (limited to 'src/bytes/buffer_test.go')
0 files changed, 0 insertions, 0 deletions