ghc-9.12.1: The GHC API
Safe HaskellNone
LanguageGHC2021

GHC.HsToCore.Breakpoints

Synopsis

Documentation

mkModBreaks :: Interp -> Module -> SizedSeq Tick -> IO ModBreaks Source #

Initialize memory for breakpoint data that is shared between the bytecode generator and the interpreter.

Since GHCi and the RTS need to interact with breakpoint data and the bytecode generator needs to encode this information for each expression, the data is allocated remotely in GHCi's address space and passed to the codegen as foreign pointers.