package
1.23.0
Repository: https://github.com/shogo82148/std.git
Documentation: pkg.go.dev

# Functions

DirectCallee takes a function-typed expression and returns the underlying function that it refers to if statically known.
New generates a profile-graph from the profile or pre-processed profile.
NodeLineOffset returns the line offset of n in fn.

# Variables

LookupFunc looks up a function or method in export data.
PostLookupCleanup performs any remaining cleanup operations needed after a series of calls to LookupFunc, specifically reading in the bodies of functions that may have been delayed due being encountered in a stage where the reader's curfn state was not set up.

# Structs

CallSiteInfo captures call-site information and its caller/callee.
IREdge represents a call edge in the IRGraph with source, destination, weight, callsite, and line number information.
IRGraph is a call graph with nodes pointing to IRs of functions and edges carrying weights and callsite information.
IRNode represents a node (function) in the IRGraph.
Profile contains the processed PGO profile and weighted call graph used for PGO optimizations.