cabal-version:  3.0
name:           ghc-heap
version:        9.0.2
license:        BSD-3-Clause
license-file:   LICENSE
maintainer:     libraries@haskell.org
bug-reports:    https://gitlab.haskell.org/ghc/ghc/issues/new
synopsis:       Functions for walking GHC's heap
category:       GHC
description:
    This package provides functions for walking the GHC heap data structures
    and retrieving information about those data structures.

build-type:     Simple
tested-with:    GHC==7.11

source-repository head
  type:     git
  location: https://gitlab.haskell.org/ghc/ghc.git
  subdir:   libraries/ghc-heap

library
  default-language: Haskell2010

  build-depends:    base             >= 4.9.0 && < 5.0
                  , ghc-prim         > 0.2 && < 0.8
                  , rts              == 1.0.*

  ghc-options:      -Wall
  cmm-sources:      cbits/HeapPrim.cmm

  default-extensions: NoImplicitPrelude

  exposed-modules:  GHC.Exts.Heap
                    GHC.Exts.Heap.Closures
                    GHC.Exts.Heap.ClosureTypes
                    GHC.Exts.Heap.Constants
                    GHC.Exts.Heap.InfoTable
                    GHC.Exts.Heap.InfoTable.Types
                    GHC.Exts.Heap.InfoTableProf
                    GHC.Exts.Heap.Utils
