Documentation ¶ Index ¶ type InsnMap func (im *InsnMap) Init(numFuncs int) func (im *InsnMap) PutFunc(pos int32) func (im *InsnMap) PutInsn(absPos int32) type Mapping Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type InsnMap ¶ type InsnMap struct { Funcs [][]Mapping // contains filtered or unexported fields } func (*InsnMap) Init ¶ func (im *InsnMap) Init(numFuncs int) func (*InsnMap) PutFunc ¶ func (im *InsnMap) PutFunc(pos int32) func (*InsnMap) PutInsn ¶ func (im *InsnMap) PutInsn(absPos int32) type Mapping ¶ type Mapping struct { ObjectOffset int32 // Machine code byte position within a function SourceIndex int32 // WebAssembly instruction count within a function } Mapping from machine code instruction to WebAssembly instruction. Source Files ¶ View all Source files insnmap.go Click to show internal directories. Click to hide internal directories.