import "github.com/tsavola/wag/internal/obj"
const ( Word = 8 // stack entry size )
type DebugObjectMapper interface { ObjectMapper PutTrapSite(addr uint32, stackOffset int32) PutInsnAddr(addr uint32) PutDataBlock(addr uint32, length int32) }
DebugObjectMapper gathers information about positions of (WebAssembly) functions, function calls and instructions within the text (machine code) section.
type DummyDebugMapper struct{ DummyMapper }
func (DummyDebugMapper) PutDataBlock(uint32, int32)
func (DummyDebugMapper) PutInsnAddr(uint32)
func (DummyDebugMapper) PutTrapSite(uint32, int32)
type DummyMapper struct{}
func (DummyMapper) InitObjectMap(int, int)
func (DummyMapper) PutCallSite(uint32, int32)
func (DummyMapper) PutFuncAddr(uint32)
type ObjectMapper interface { InitObjectMap(numImportFuncs, numOtherFuncs int) PutFuncAddr(addr uint32) PutCallSite(returnAddr uint32, stackOffset int32) }
ObjectMapper gathers information about positions of (WebAssembly) functions and function calls within the text (machine code) section.
Package obj is imported by 7 packages. Updated 2020-02-20. Refresh now. Tools for package owners.