Documentation ¶
Index ¶
- type Build
- func (b *Build) BindFunctions(entryName string) error
- func (b *Build) Close() error
- func (b *Build) CodeConfig(mapper compile.ObjectMapper) *compile.CodeConfig
- func (b *Build) DataConfig() *compile.DataConfig
- func (b *Build) FinishImageText() error
- func (b *Build) FinishInstanceImage(prog *image.Program) (*image.Instance, error)
- func (b *Build) FinishProgramImage() (*image.Program, error)
- func (b *Build) InstallEarlySnapshotLoaders()
- func (b *Build) InstallLateSnapshotLoaders()
- func (b *Build) InstallSnapshotDataLoaders()
- func (b *Build) ModuleConfig() *compile.ModuleConfig
- func (b *Build) SetMaxMemorySize(maxMemorySize int) error
- func (b *Build) VerifyBreakpoints() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Build ¶
type Build struct { Image *image.Build SectionMap image.SectionMap Loaders map[string]section.CustomContentLoader Config compile.Config Module compile.Module StackSize int Snapshot *snapshot.Snapshot Buffers *snapshot.Buffers // contains filtered or unexported fields }
func (*Build) BindFunctions ¶
BindFunctions (imports and entry function) after initial module sections have been loaded.
func (*Build) CodeConfig ¶
func (b *Build) CodeConfig(mapper compile.ObjectMapper) *compile.CodeConfig
func (*Build) DataConfig ¶
func (b *Build) DataConfig() *compile.DataConfig
DataConfig is valid after FinishText.
func (*Build) FinishImageText ¶
FinishImageText after code and snapshot sections have been loaded.
func (*Build) FinishInstanceImage ¶
FinishInstanceImage after program image has been finished.
func (*Build) FinishProgramImage ¶
FinishProgramImage after module, stack, globals and memory have been populated.
func (*Build) InstallEarlySnapshotLoaders ¶
func (b *Build) InstallEarlySnapshotLoaders()
func (*Build) InstallLateSnapshotLoaders ¶
func (b *Build) InstallLateSnapshotLoaders()
func (*Build) InstallSnapshotDataLoaders ¶
func (b *Build) InstallSnapshotDataLoaders()
func (*Build) ModuleConfig ¶
func (b *Build) ModuleConfig() *compile.ModuleConfig
func (*Build) SetMaxMemorySize ¶
SetMaxMemorySize after initial module sections have been loaded.
func (*Build) VerifyBreakpoints ¶
Click to show internal directories.
Click to hide internal directories.