debug

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 19, 2018 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InsnMap

type InsnMap struct {
	object.CallMap
	FuncInsns [][]InsnMapping
	// contains filtered or unexported fields
}

InsnMap implements compile.ObjectMap. It stores everything.

func (*InsnMap) InitObjectMap

func (m *InsnMap) InitObjectMap(numImportFuncs, numOtherFuncs int)

func (*InsnMap) PutFuncAddr

func (m *InsnMap) PutFuncAddr(pos int32)

func (*InsnMap) PutInsnAddr

func (m *InsnMap) PutInsnAddr(absPos int32)

type InsnMapping

type InsnMapping struct {
	ObjectOffset int32 // Machine code byte position within a function
	SourceIndex  int32 // WebAssembly instruction count within a function
}

Instruction mapping from machine code to WebAssembly.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL