ghc-heap-9.4.2: Functions for walking GHC's heap
Safe HaskellSafe-Inferred
LanguageHaskell2010

GHC.Exts.Heap.InfoTableProf

Synopsis

Documentation

peekItbl :: Ptr StgInfoTable -> IO StgInfoTable Source #

Read an InfoTable from the heap into a haskell type. WARNING: This code assumes it is passed a pointer to a "standard" info table. If tables_next_to_code is enabled, it will look 1 byte before the start for the entry field.