Skip to main content

Module usage

Module usage 

Source
Expand description

How much stack each function uses, for -fstack-usage.

The number is crate::frame::Frame::usage and what it counts is said there. This file is only somewhere to keep one row per function until the driver, which is the part that knows what a file is, writes them out beside the object the way gcc does.

A row keeps the span of the function’s name rather than a line and a column, because the source map that turns one into the other belongs to the driver’s session and nothing in this crate reads it.

Structs§

StackUsage
Every function a compilation gave a frame, in the order they came through.
Usage
One function’s stack use.