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

GHC.Debug.Strings

Synopsis

Documentation

stringProgram :: Debuggee -> IO () Source #

Find all the strings and then print out how many duplicates there are

arrWordsAnalysis :: [ClosurePtr] -> DebugM (Map ByteString (Set ClosurePtr)) Source #

Find how many distinct ArrWords there are

stringAnalysis :: [ClosurePtr] -> DebugM (Map String (Set ClosurePtr)) Source #

Find the parents of Bin nodes