ghc-debug-client-0.6.0.0: Useful functions for writing heap analysis tools which use ghc-debug.
Safe HaskellSafe-Inferred
LanguageHaskell2010

GHC.Debug.Retainers

Description

Functions for computing retainers

Synopsis

Documentation

findRetainers :: Maybe Int -> ClosureFilter -> [ClosurePtr] -> DebugM [[ClosurePtr]] Source #

From the given roots, find any path to one of the given pointers. Note: This function can be quite slow! The first argument is a limit to how many paths to find. You should normally set this to a small number such as 10.

data EraRange Source #

Constructors

EraRange 

Fields

Instances

Instances details
Show EraRange Source # 
Instance details

Defined in GHC.Debug.Retainers

Eq EraRange Source # 
Instance details

Defined in GHC.Debug.Retainers

Ord EraRange Source # 
Instance details

Defined in GHC.Debug.Retainers