ghc-heap-9.10.0.20240413: Functions for walking GHC's heap
Safe HaskellNone
LanguageHaskell2010

GHC.Exts.Stack

Synopsis

Stack inspection

decodeStack :: StackSnapshot -> IO StgStackClosure Source #

Decode StackSnapshot to a StgStackClosure

The return value is the representation of the StgStack itself.

See Note [Decoding the stack].

stackFrameSize :: StackFrame -> Int Source #

Get the size of the StackFrame in words.

Includes header and payload. Does not follow pointers.