From a01fc7108f68b6e5098f97f837f7f7b91edf91df Mon Sep 17 00:00:00 2001 From: Howard Zhang Date: Thu, 25 Mar 2021 17:06:44 +0800 Subject: Fix nogo test error Signed-off-by: Howard Zhang --- pkg/sentry/arch/fpu/fpu_arm64.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pkg/sentry/arch') diff --git a/pkg/sentry/arch/fpu/fpu_arm64.go b/pkg/sentry/arch/fpu/fpu_arm64.go index d2f62631d..46634661f 100644 --- a/pkg/sentry/arch/fpu/fpu_arm64.go +++ b/pkg/sentry/arch/fpu/fpu_arm64.go @@ -58,6 +58,8 @@ func (s *State) Fork() State { } // BytePointer returns a pointer to the first byte of the state. +// +//go:nosplit func (s *State) BytePointer() *byte { return &(*s)[0] } -- cgit v1.2.3