Hs2lib-0.5.0: A Library and Preprocessor that makes it easier to create shared libs from Haskell programs.

Portabilityportable
Stabilityexperimental
Maintainertamar@zhox.com

WinDll.Debug.Records

Description

Contains the structures to hold allocation information used when debugging.

Synopsis

Documentation

data MemAlloc Source

The allocation structure/record that is used to keep track of allocations

Constructors

MemAlloc 

Fields

memFun :: Caller
 
memStack :: Stack
 
memStart :: PtrLocation
 
memStop :: Maybe PtrLocation
 
memSize :: Maybe MemSize
 
memTime :: String
 
MemFree 

Fields

memStack :: Stack
 
memStart :: PtrLocation
 
memSize :: Maybe MemSize
 
memTime :: String
 

data Caller Source

Identifier which shows which function was invoked to do allocations

Constructors

Malloc 
Alloc 
ReAlloc 
Other 
Record 

Instances

fileName :: IO StringSource

The file to write the results too

writeMemAlloc :: MemAlloc -> IO ()Source

Write out a single allocation structure out to file.