Documentation ¶
Index ¶
- Constants
- Variables
- func CallC(addr uintptr, fr Frame, maxStack uintptr) []byte
- func ReservedRegs(callc bool) []Register
- type Frame
- func (self *Frame) ArgPtrs() *rt.StackMap
- func (self *Frame) GrowStackTextSize() uint32
- func (self *Frame) LocalPtrs() *rt.StackMap
- func (self *Frame) Offs() uint32
- func (self *Frame) Prev() uint32
- func (self *Frame) Size() uint32
- func (self *Frame) StackCheckTextSize() uint32
- func (self *Frame) String() string
- type FunctionLayout
- type Parameter
Constants ¶
View Source
const ( PtrSize = 8 // pointer size PtrAlign = 8 // pointer alignment )
Variables ¶
View Source
var (
F_morestack_noctxt = uintptr(rt.FuncAddr(morestack_noctxt))
)
Functions ¶
func ReservedRegs ¶
func ReservedRegs(callc bool) []Register
Types ¶
type Frame ¶
type Frame struct {
// contains filtered or unexported fields
}
func (*Frame) GrowStackTextSize ¶
func (*Frame) StackCheckTextSize ¶
type FunctionLayout ¶
func NewFunctionLayout ¶
func NewFunctionLayout(ft reflect.Type) FunctionLayout
func (FunctionLayout) ArgSize ¶
func (self FunctionLayout) ArgSize() uint32
func (FunctionLayout) StackMap ¶
func (self FunctionLayout) StackMap() *rt.StackMap
func (FunctionLayout) String ¶
func (self FunctionLayout) String() string
Click to show internal directories.
Click to hide internal directories.