patch

package
v1.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 15, 2025 License: MIT Imports: 16 Imported by: 0

README

patch

This directory contains code to patch the go runtime and compiler:

Documentation

Index

Constants

View Source
const XgoLinkSetTrap = "__xgo_link_set_trap"
View Source
const XgoLinkSetTrapVar = "__xgo_link_set_trap_var"
View Source
const XgoTrapForGenerated = "__xgo_trap_for_generated"
View Source
const XgoTrapVarForGenerated = "__xgo_trap_var_for_generated"

Variables

This section is empty.

Functions

func CanInsertTrapOrLink(fn *ir.Func) (string, bool)

func InsertTrapForFunc

func InsertTrapForFunc(fn *ir.Func, forGeneric bool) bool

func NewBoolLit

func NewBoolLit(pos src.XPos, b bool) ir.Node

func NewInt64Lit

func NewInt64Lit(pos src.XPos, i int64) ir.Node

func NewIntLit

func NewIntLit(pos src.XPos, i int) ir.Node

func NewStringLit

func NewStringLit(pos src.XPos, s string) ir.Node

func Patch

func Patch()

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL