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
InitMemorySize wa.MemorySize
GrowMemoryLimit wa.MemorySize
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
|
|
|
wasys/internal/cmd/syscalls
command
|
|
|
internal
|
|
|
gen/codegen/cmd/opcodes
command
|
|
Click to show internal directories.
Click to hide internal directories.