escape

package standard library
go1.17.9 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2022 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const UintptrEscapesNote = "uintptr-escapes"

This special tag is applied to uintptr parameters of functions marked go:uintptrescapes.

View Source
const UnsafeUintptrNote = "unsafe-uintptr"

This special tag is applied to uintptr variables that we believe may hold unsafe.Pointers for calls into assembly functions.

Variables

This section is empty.

Functions

func Batch

func Batch(fns []*ir.Func, recursive bool)

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.Node)

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.

Types

This section is empty.

Jump to

Keyboard shortcuts

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