ghc-heap-8.6.2: Functions for walking GHC's heap

Safe HaskellSafe
LanguageHaskell2010

GHC.Exts.Heap.InfoTable

Synopsis

Documentation

itblSize :: Int Source #

Size in bytes of a standard InfoTable

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.