Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶ added in v0.5.0
type Config struct {
EntrySymbol string
EntryArgs []uint64
Text compile.CodeBuffer
ROData compile.DataBuffer
RODataAddr uintptr
GlobalsMemory compile.DataBuffer
MemoryAlignment int
}
Config for a single compiler invocation. Zero values are replaced with effective defaults during compilation.
type Object ¶ added in v0.5.0
type Object struct {
FuncTypes []wa.FuncType
InitialMemorySize int
MemorySizeLimit int
Text []byte
ROData []byte
object.CallMap
MemoryOffset int // Threshold between globals and memory.
GlobalsMemory []byte
Names section.NameSection
}
Object code with stack map and debug symbols. The text (machine code), read-only data, initial global values, and initial linear memory contents can be used to execute the program (the details are architecture-specific).
Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
wasys
command
|
|
|
internal
|
|
|
cmd/opcodes
command
|
|
|
cmd/syscalls
command
|
|
|
file
The file package supplies the File type alias, which refers to an OS-dependent implementation.
|
The file package supplies the File type alias, which refers to an OS-dependent implementation. |
Click to show internal directories.
Click to hide internal directories.