...
Run Format

Source file src/cmd/internal/objabi/stack.go

Documentation: cmd/internal/objabi

     1  // Copyright 2011 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 objabi
     6  
     7  // For the linkers. Must match Go definitions.
     8  
     9  const (
    10  	STACKSYSTEM = 0
    11  	StackSystem = STACKSYSTEM
    12  	StackBig    = 4096
    13  	StackGuard  = 880*stackGuardMultiplier + StackSystem
    14  	StackSmall  = 128
    15  	StackLimit  = StackGuard - StackSystem - StackSmall
    16  )
    17  
    18  const (
    19  	StackPreempt = -1314 // 0xfff...fade
    20  )
    21  

View as plain text