package escape

import "cmd/compile/internal/escape"

Index

Functions

func Batch

func Batch(fns []*ir.Func, reassignOracles map[*ir.Func]*ir.ReassignOracle)

Batch performs escape analysis on a minimal batch of functions.

func Fmt

func Fmt(n ir.Node) string

Fmt is called from node printing to print information about escape analysis results.

func Funcs

func Funcs(all []*ir.Func)

func HeapAllocReason

func HeapAllocReason(n ir.Node) string

HeapAllocReason returns the reason the given Node must be heap allocated, or the empty string if it doesn't.

func ParseLeaks

func ParseLeaks(s string) leaks

Source Files

alias.go assign.go call.go escape.go expr.go graph.go leaks.go solve.go stmt.go utils.go

Version
v1.26.0-rc.3
Published
Feb 3, 2026
Platform
linux/amd64
Imports
15 packages
Last checked
21 seconds ago

Tools for package owners.