diff options
author | Simon Marlow <marlowsd@gmail.com> | 2008-09-09 14:51:22 +0000 |
---|---|---|
committer | Simon Marlow <marlowsd@gmail.com> | 2008-09-09 14:51:22 +0000 |
commit | 43a120b706a5eece6624ca4907af89fc9a480c5e (patch) | |
tree | 62d0b792c19ec86e089b032d5c13f6e3d3710a47 /includes | |
parent | ccb958030d8e3afcef8ef905372f9586e5ada2a3 (diff) | |
download | haskell-43a120b706a5eece6624ca4907af89fc9a480c5e.tar.gz |
when a memory leak is detected, report which blocks are unreachable
Diffstat (limited to 'includes')
-rw-r--r-- | includes/Block.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/includes/Block.h b/includes/Block.h index 3d7a5c8a86..28e0374492 100644 --- a/includes/Block.h +++ b/includes/Block.h @@ -92,7 +92,8 @@ typedef struct bdescr_ { #define BF_EXEC 32 /* Block contains only a small amount of live data */ #define BF_FRAGMENTED 64 - +/* we know about this block (for finding leaks) */ +#define BF_KNOWN 128 /* Finding the block descriptor for a given block -------------------------- */ |