go/test/internal/runtime/sys
Michael Pratt 4f881115d4 runtime: move getcallersp to internal/runtime/sys
Moving these intrinsics to a base package enables other internal/runtime
packages to use them.

For #54766.

Change-Id: I45a530422207dd94b5ad4eee51216c9410a84040
Reviewed-on: https://go-review.googlesource.com/c/go/+/613261
Reviewed-by: Cherry Mui <cherryyz@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2024-09-17 17:01:20 +00:00
..
inlinegcpc.go runtime: move getcallersp to internal/runtime/sys 2024-09-17 17:01:20 +00:00
README runtime: move getcallerpc to internal/runtime/sys 2024-09-17 15:14:14 +00:00

// Copyright 2024 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

The internal/runtime/sys directory contains tests that specifically need to be
compiled as-if in the internal/runtime/sys package. For error-check tests,
these require the additional flags -+ and -p=internal/runtime/sys.