summaryrefslogtreecommitdiffstats
path: root/src/runtime/internal/startlinetest/func_amd64.go
blob: ab7063d615fc37fcf3b3cb7ef634587a18ef6a29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Copyright 2022 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.

// Package startlinetest contains helpers for runtime_test.TestStartLineAsm.
package startlinetest

// Defined in func_amd64.s, this is a trivial assembly function that calls
// runtime_test.callerStartLine.
func AsmFunc() int

// Provided by runtime_test.
var CallerStartLine func(bool) int