Bounded call-graph annotation captured on IRCommit.callGraph by the exporter when ExportModelOptions.captureCallGraph is true (default).

Frames are recorded in caller-to-callee order, outermost frame at index 0. The depth bound is D = 32 per SPEC.md §16.2.1.3 granularity decisions; deeper frames are dropped and the truncatedDeeper flag is set so consumers can distinguish "the stack was exactly this deep" from "the stack was deeper, we cut it off".

interface IRCallGraph {
    frames: readonly IRCallFrame[];
    truncatedDeeper: boolean;
}

Properties

frames: readonly IRCallFrame[]

Frames in caller-to-callee order, capped at D = 32. Empty when the runtime stack-trace API was unavailable.

truncatedDeeper: boolean

Set when the application's true call stack at commit time was deeper than the configured bound and frames beyond it were dropped.