ByteCodeItbls

ghc-7.8.3: The GHC API

Safe Haskell | None
Language | Haskell98

ByteCodeItbls

# Documentation

type ItblEnv = NameEnv (Name, ItblPtr) Source

newtype ItblPtr Source

Constructors

ItblPtr (Ptr ()) |

Instances

Show ItblPtr |

itblCode :: DynFlags -> ItblPtr -> Ptr () Source

mkITbls :: DynFlags -> [TyCon] -> IO ItblEnv Source

peekItbl :: DynFlags -> Ptr StgInfoTable -> IO StgInfoTable Source

data StgInfoTable Source

Constructors

StgInfoTable |
Fields entry :: Maybe (Ptr ()) ptrs :: HalfWord nptrs :: HalfWord tipe :: HalfWord srtlen :: HalfWord code :: Maybe ItblCodes