Package debug contains DebugObjectMapper implementations.
InsnMap is an object map which stores all available function, call, trap and instruction information. The Mapper method must be used to obtain an actual ObjectMapper implementation.
Mapper creates a compile.DebugObjectMapper for the InsnMap.
The source position teller is a special reader which must be used when loading (at least) the code section. See NewReadTeller.
Instruction mapping from machine code to WebAssembly. SourceOffset is zero if ObjectOffset contains non-executable data interleaved with the code.
ReadTeller is a reader which knows how many bytes have been read.
NewReadTeller wraps a reader into one which tracks the read position.
Teller knows the position.
TrapMap implements compile.DebugObjectMapper. It stores function addresses, and all call and trap sites. Instruction information is not stored.