aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/sys_libc.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/sys_libc.go')
-rw-r--r--src/runtime/sys_libc.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/runtime/sys_libc.go b/src/runtime/sys_libc.go
index 7012b4167e..0c6f13ca9f 100644
--- a/src/runtime/sys_libc.go
+++ b/src/runtime/sys_libc.go
@@ -12,6 +12,7 @@ import "unsafe"
// fn is the raw pc value of the entry point of the desired function.
// Switches to the system stack, if not already there.
// Preserves the calling point as the location where a profiler traceback will begin.
+//
//go:nosplit
func libcCall(fn, arg unsafe.Pointer) int32 {
// Leave caller's PC/SP/G around for traceback.