summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2008-09-09 14:51:22 +0000
committerSimon Marlow <marlowsd@gmail.com>2008-09-09 14:51:22 +0000
commit43a120b706a5eece6624ca4907af89fc9a480c5e (patch)
tree62d0b792c19ec86e089b032d5c13f6e3d3710a47 /includes
parentccb958030d8e3afcef8ef905372f9586e5ada2a3 (diff)
downloadhaskell-43a120b706a5eece6624ca4907af89fc9a480c5e.tar.gz
when a memory leak is detected, report which blocks are unreachable
Diffstat (limited to 'includes')
-rw-r--r--includes/Block.h3
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 -------------------------- */