Documentation ¶
Index ¶
- Constants
- Variables
- type AMD64ABI
- func (self *AMD64ABI) DumpLayouts() map[int]*FunctionLayout
- func (self *AMD64ABI) GetLayout(id int) (layout *FunctionLayout)
- func (self *AMD64ABI) LayoutFunc(id int, ft reflect.Type) *FunctionLayout
- func (self *AMD64ABI) RegisterFunction(id int, fn interface{}) (fp unsafe.Pointer)
- func (self *AMD64ABI) RegisterMethod(id int, mt rt.Method) int
- func (self *AMD64ABI) Reserved() map[x86_64.Register64]int32
- func (self *AMD64ABI) SetLayout(id int, layout *FunctionLayout)
- type AbstractABI
- type FunctionLayout
- type Parameter
Constants ¶
View Source
const (
PtrAlign = 8 // pointer alignment
)
View Source
const (
PtrSize = 8 // pointer size
)
Variables ¶
View Source
var (
ABI = ArchCreateABI()
)
Functions ¶
This section is empty.
Types ¶
type AMD64ABI ¶
type AMD64ABI struct {
// contains filtered or unexported fields
}
func ArchCreateABI ¶
func ArchCreateABI() *AMD64ABI
func (*AMD64ABI) DumpLayouts ¶
func (self *AMD64ABI) DumpLayouts() map[int]*FunctionLayout
func (*AMD64ABI) GetLayout ¶
func (self *AMD64ABI) GetLayout(id int) (layout *FunctionLayout)
func (*AMD64ABI) LayoutFunc ¶
func (self *AMD64ABI) LayoutFunc(id int, ft reflect.Type) *FunctionLayout
func (*AMD64ABI) RegisterFunction ¶
func (*AMD64ABI) SetLayout ¶
func (self *AMD64ABI) SetLayout(id int, layout *FunctionLayout)
type AbstractABI ¶
type FunctionLayout ¶
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.