Black Lives Matter. Support the Equal Justice Initiative.

Source file src/runtime/stubs_amd64.go

Documentation: runtime

     1  // Copyright 2018 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 runtime
     6  
     7  // Called from compiled code; declared for vet; do NOT call from Go.
     8  func gcWriteBarrierCX()
     9  func gcWriteBarrierDX()
    10  func gcWriteBarrierBX()
    11  func gcWriteBarrierBP()
    12  func gcWriteBarrierSI()
    13  func gcWriteBarrierR8()
    14  func gcWriteBarrierR9()
    15  
    16  // stackcheck checks that SP is in range [g->stack.lo, g->stack.hi).
    17  func stackcheck()
    18  
    19  // Called from assembly only; declared for go vet.
    20  func settls() // argument in DI
    21  
    22  // Retpolines, used by -spectre=ret flag in cmd/asm, cmd/compile.
    23  func retpolineAX()
    24  func retpolineCX()
    25  func retpolineDX()
    26  func retpolineBX()
    27  func retpolineBP()
    28  func retpolineSI()
    29  func retpolineDI()
    30  func retpolineR8()
    31  func retpolineR9()
    32  func retpolineR10()
    33  func retpolineR11()
    34  func retpolineR12()
    35  func retpolineR13()
    36  func retpolineR14()
    37  func retpolineR15()
    38  

View as plain text