]> Cypherpunks repositories - gostls13.git/commit
runtime/internal/sys: make Len64 nosplit
authorMichael Anthony Knyszek <mknyszek@google.com>
Sat, 17 Sep 2022 02:21:12 +0000 (02:21 +0000)
committerGopher Robot <gobot@golang.org>
Sat, 17 Sep 2022 02:56:51 +0000 (02:56 +0000)
commitcc1b20e8adf83865a1dbffa259c7a04ef0699b43
tree69dcee61895e9225cfe4e452476f2bc2003b9c14
parent1c19c5602bc5d5f54463b1a0133965fa25ebcd56
runtime/internal/sys: make Len64 nosplit

CL 427615 causes failures when Len64 can't be inlined. It's unclear to
me why this wasn't a problem before, but it is used in sensitive
contexts and therefore really should be marked. Confirmed that the
failures in question reproduce without this change, and don't reproduce
with it.

Fixes #55117.

Change-Id: Ic3aa96af1420cc0c39551908d83f954725c712f5
Reviewed-on: https://go-review.googlesource.com/c/go/+/431058
Reviewed-by: Cherry Mui <cherryyz@google.com>
Run-TryBot: Michael Knyszek <mknyszek@google.com>
Auto-Submit: Michael Knyszek <mknyszek@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
src/runtime/internal/sys/intrinsics_common.go