diff options
| author | Cuong Manh Le <cuong.manhle.vn@gmail.com> | 2022-09-16 10:41:15 +0700 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2022-09-19 13:55:28 +0000 |
| commit | 00bee6d9a4c3ed6168350fc6551043ff7a1895f2 (patch) | |
| tree | b821d922790d06980ce2b388dad6d47f4a2f8490 /src/runtime/testdata | |
| parent | 638c9aad5f88f96d9aa525bbe403c8a5d3b743e8 (diff) | |
| download | go-00bee6d9a4c3ed6168350fc6551043ff7a1895f2.tar.xz | |
cmd/compile/internal/typebits: relax alignment check
Now we have 8-byte alignment types on 32-bit system, so in some rare
case, e.g, generated wrapper for embedded interface, the function
argument may need more than 4 byte alignment. We could pad somehow, but
this is a rare case which makes it hard to ensure that we've got it right.
So relaxing the check for argument and return value region of the stack.
Fixes #54991
Change-Id: I34986e17a920254392a39439ad3dcb323da2ea8d
Reviewed-on: https://go-review.googlesource.com/c/go/+/431098
Reviewed-by: Keith Randall <khr@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Run-TryBot: Cuong Manh Le <cuong.manhle.vn@gmail.com>
Auto-Submit: Keith Randall <khr@golang.org>
Reviewed-by: Keith Randall <khr@google.com>
Diffstat (limited to 'src/runtime/testdata')
0 files changed, 0 insertions, 0 deletions
