From 5451f0dc82f67d2779144850291b733cd2b61871 Mon Sep 17 00:00:00 2001 From: Ayush Ranjan Date: Mon, 29 Jul 2024 12:09:27 -0700 Subject: [PATCH] Remove go:nosplit from IncrementUnimplementedSyscallCounter This enables the runsc binary to be build with `-c dbg`. PiperOrigin-RevId: 657283482 --- pkg/sentry/kernel/syscalls.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkg/sentry/kernel/syscalls.go b/pkg/sentry/kernel/syscalls.go index 680b15c68..259890fd5 100644 --- a/pkg/sentry/kernel/syscalls.go +++ b/pkg/sentry/kernel/syscalls.go @@ -500,8 +500,6 @@ type SyscallInfo struct { // FIXME(gvisor.dev/issue/10556): checkescape can't distinguish between this // file and files named syscalls.go in other directories, resulting in false // positives, so this function cannot be +checkescape:all. -// -//go:nosplit func IncrementUnimplementedSyscallCounter(sysno uintptr) { s, found := unimplementedSyscallNumbers[sysno] if !found {