When debugging, have the allocator help us a bit
authorIan Lynagh <igloo@earth.li>
Mon, 11 Dec 2006 12:49:50 +0000 (12:49 +0000)
committerIan Lynagh <igloo@earth.li>
Mon, 11 Dec 2006 12:49:50 +0000 (12:49 +0000)
commitd526504719676871376324858fe2073aa2011424
treea879addf6cf10eb1f4e4c55902ea9e4b673e8cac
parent2423c249f5ca7785d0ec89eb33e72662da7561c1
When debugging, have the allocator help us a bit
We now check for freeing memory that isn't allocated, and overwrite memory
we are about to free with 0xaa.
It might be nice to also have a flag to control whether the memory
actually gets free'd.
rts/RtsStartup.c
rts/RtsUtils.c
rts/RtsUtils.h