Source file src/runtime/internal/startlinetest/func_amd64.go

     1  // Copyright 2022 The Go Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  // Package startlinetest contains helpers for runtime_test.TestStartLineAsm.
     6  package startlinetest
     7  
     8  // Defined in func_amd64.s, this is a trivial assembly function that calls
     9  // runtime_test.callerStartLine.
    10  func AsmFunc() int
    11  
    12  // Provided by runtime_test.
    13  var CallerStartLine func(bool) int
    14  

View as plain text