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

Portabilityportable
Stabilityexperimental
Maintainertamar@zhox.com
Safe HaskellNone

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
 

Instances

Read MemAlloc 
Show MemAlloc 

data Caller Source

Identifier which shows which function was invoked to do allocations

Constructors

Malloc 
Alloc 
ReAlloc 
Other 
Record 

Instances

Read Caller 
Show Caller 

fileName :: IO StringSource

The file to write the results too

writeMemAlloc :: MemAlloc -> IO ()Source

Write out a single allocation structure out to file.