diff options
| author | Than McIntosh <thanm@google.com> | 2021-04-13 13:49:55 -0400 |
|---|---|---|
| committer | Than McIntosh <thanm@google.com> | 2021-04-14 16:59:24 +0000 |
| commit | 4480c822ba37ea3795fa4dbb56d13578d7961d88 (patch) | |
| tree | f265036f912bd77299979597b326842724e5b86e /test/codegen | |
| parent | 25b25a9ed7fe8a543fd6c1f79c6a43d33f8eae68 (diff) | |
| download | go-4480c822ba37ea3795fa4dbb56d13578d7961d88.tar.xz | |
cmd/internal/obj: don't emit args_stackmap for ABIInternal asm funcs
The compiler currently emits an "*.args_stackmap" symbol for all
bodyless functions, so that asm functions will have the proper stack
map. At the moment the code in the compiler that emits args_stackmap
assumes ABI0; to avoid misleading stackmaps, turn off args_stackmap
generation for non-ABI0 asm functions.
Updates #40724.
Change-Id: Ia5e3528d56da5fb107e799bd658e52496ba4a331
Reviewed-on: https://go-review.googlesource.com/c/go/+/309790
Trust: Than McIntosh <thanm@google.com>
Run-TryBot: Than McIntosh <thanm@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Austin Clements <austin@google.com>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
Diffstat (limited to 'test/codegen')
0 files changed, 0 insertions, 0 deletions
