package escape
import "cmd/compile/internal/escape"
Index ¶
- func Batch(fns []*ir.Func, recursive bool)
- func Fmt(n ir.Node) string
- func Funcs(all []*ir.Func)
- func HeapAllocReason(n ir.Node) string
Functions ¶
func Batch ¶
Batch performs escape analysis on a minimal batch of functions.
func Fmt ¶
Fmt is called from node printing to print information about escape analysis results.
func Funcs ¶
func HeapAllocReason ¶
HeapAllocReason returns the reason the given Node must be heap allocated, or the empty string if it doesn't.
Source Files ¶
assign.go call.go escape.go expr.go graph.go leaks.go solve.go stmt.go utils.go
- Version
- v1.24.0 (latest)
- Published
- Feb 10, 2025
- Platform
- linux/amd64
- Imports
- 9 packages
- Last checked
- 54 seconds ago –
Tools for package owners.