mirror of
https://github.com/golang/go.git
synced 2026-01-29 07:02:05 +03:00
runtime: mark getfp as nosplit
When compiling with -l, we can't take a stack split here. Fixes #76702 Change-Id: Ieab1225c6259c7f16bb5188aa84bff615d9db2e5 Reviewed-on: https://go-review.googlesource.com/c/go/+/728060 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Keith Randall <khr@golang.org> Reviewed-by: Cherry Mui <cherryyz@google.com> Reviewed-by: Keith Randall <khr@google.com>
This commit is contained in:
committed by
Gopher Robot
parent
0d0d5c9a82
commit
d4972f6295
@@ -142,6 +142,8 @@ func preemptM(mp *m) {
|
||||
|
||||
// getfp returns the frame pointer register of its caller or 0 if not implemented.
|
||||
// TODO: Make this a compiler intrinsic
|
||||
//
|
||||
//go:nosplit
|
||||
func getfp() uintptr { return 0 }
|
||||
|
||||
func setProcessCPUProfiler(hz int32) {}
|
||||
|
||||
@@ -21,4 +21,6 @@ func asmcgocall_no_g(fn, arg unsafe.Pointer)
|
||||
|
||||
// getfp returns the frame pointer register of its caller or 0 if not implemented.
|
||||
// TODO: Make this a compiler intrinsic
|
||||
//
|
||||
//go:nosplit
|
||||
func getfp() uintptr { return 0 }
|
||||
|
||||
@@ -26,4 +26,6 @@ func asmcgocall_no_g(fn, arg unsafe.Pointer)
|
||||
|
||||
// getfp returns the frame pointer register of its caller or 0 if not implemented.
|
||||
// TODO: Make this a compiler intrinsic
|
||||
//
|
||||
//go:nosplit
|
||||
func getfp() uintptr { return 0 }
|
||||
|
||||
@@ -19,4 +19,6 @@ func unspillArgs()
|
||||
|
||||
// getfp returns the frame pointer register of its caller or 0 if not implemented.
|
||||
// TODO: Make this a compiler intrinsic
|
||||
//
|
||||
//go:nosplit
|
||||
func getfp() uintptr { return 0 }
|
||||
|
||||
@@ -17,4 +17,6 @@ func asmcgocall_no_g(fn, arg unsafe.Pointer)
|
||||
|
||||
// getfp returns the frame pointer register of its caller or 0 if not implemented.
|
||||
// TODO: Make this a compiler intrinsic
|
||||
//
|
||||
//go:nosplit
|
||||
func getfp() uintptr { return 0 }
|
||||
|
||||
@@ -12,4 +12,6 @@ func save_g()
|
||||
|
||||
// getfp returns the frame pointer register of its caller or 0 if not implemented.
|
||||
// TODO: Make this a compiler intrinsic
|
||||
//
|
||||
//go:nosplit
|
||||
func getfp() uintptr { return 0 }
|
||||
|
||||
@@ -23,4 +23,6 @@ func unspillArgs()
|
||||
|
||||
// getfp returns the frame pointer register of its caller or 0 if not implemented.
|
||||
// TODO: Make this a compiler intrinsic
|
||||
//
|
||||
//go:nosplit
|
||||
func getfp() uintptr { return 0 }
|
||||
|
||||
@@ -22,4 +22,6 @@ func unspillArgs()
|
||||
|
||||
// getfp returns the frame pointer register of its caller or 0 if not implemented.
|
||||
// TODO: Make this a compiler intrinsic
|
||||
//
|
||||
//go:nosplit
|
||||
func getfp() uintptr { return 0 }
|
||||
|
||||
@@ -17,4 +17,6 @@ func unspillArgs()
|
||||
|
||||
// getfp returns the frame pointer register of its caller or 0 if not implemented.
|
||||
// TODO: Make this a compiler intrinsic
|
||||
//
|
||||
//go:nosplit
|
||||
func getfp() uintptr { return 0 }
|
||||
|
||||
Reference in New Issue
Block a user