aboutsummaryrefslogtreecommitdiff
path: root/src/bytes/buffer.go
diff options
context:
space:
mode:
authorqmuntal <quimmuntal@gmail.com>2023-02-28 19:30:32 +0100
committerGopher Robot <gobot@golang.org>2023-03-13 15:28:25 +0000
commit43f911b0b6c550e6c5b46219d8d0d1ca7ce3f97c (patch)
tree35028d422daeb99062a751e2b28287c33e0f2802 /src/bytes/buffer.go
parentb6f29d23654eba09209db00704ccef1f01a60c71 (diff)
downloadgo-43f911b0b6c550e6c5b46219d8d0d1ca7ce3f97c.tar.xz
runtime: remove NOFRAME from asmcgocall, systemstack and mcall
This CL removes the NOFRAME flag from runtime.asmcgocall, runtime.systemstack and runtime.mcall so the compiler can place the frame pointer on the stack. This will help unwinding cgo stack frames, and might be all what's needed for tools that only use the frame pointer to unwind the stack. That's not the case for gdb, which uses DWARF CFI, and windbg, which uses SEH. Yet, having the frame pointer correctly set lays the foundation for supporting cgo unwinding with DWARF CFI and SEH. Updates #58378 Change-Id: I7655363b3fb619acccd9d5a7f0e3d3dec953cd52 Reviewed-on: https://go-review.googlesource.com/c/go/+/472195 Run-TryBot: Quim Muntal <quimmuntal@gmail.com> Auto-Submit: Michael Pratt <mpratt@google.com> Reviewed-by: Cherry Mui <cherryyz@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Michael Pratt <mpratt@google.com>
Diffstat (limited to 'src/bytes/buffer.go')
0 files changed, 0 insertions, 0 deletions