diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2009-11-25 13:12:28 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2009-11-25 13:12:28 -0800 |
commit | f95e76d93a4dbf27e15ca01f4e8b0ab7d3132a81 (patch) | |
tree | fc318779ce37ec9b967ecd67a923a7d07c5b0006 /ChangeLog | |
parent | 5355a54c26f6fbf6ac7a6fd74877f9ef71ab53e5 (diff) | |
download | txr-f95e76d93a4dbf27e15ca01f4e8b0ab7d3132a81.tar.gz txr-f95e76d93a4dbf27e15ca01f4e8b0ab7d3132a81.tar.bz2 txr-f95e76d93a4dbf27e15ca01f4e8b0ab7d3132a81.zip |
First stab at Valgrind integration. First goal: eliminate false
positives when gc is accessing uninitialized parts of the stack.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -1,3 +1,21 @@ +2009-11-25 Kaz Kylheku <kkylheku@gmail.com> + + First stab at Valgrind integration. First goal: eliminate false + positives when gc is accessing uninitialized parts of the stack. + + * configure (valgrind): New variable. Defaults to false (do not + build valgrind support). New check for whether the valgrind API + is actually avilable if --valgrind is selected. + (HAVE_VALGRIND): Conditionally added to config.h. + + * gc.c: Conditionally include valgrind memcheck.h header. + (mark_mem_region): After pulling out a value from the stack, + mark that copy as defined memory using VALGRIND_MAKE_MEM_DEFINED. + (mark): Removed check for a registered root variable pointer + being null; this cannot happen, unless someone registers a + null pointer, or the stack is trashed. The comment about a + possible null was misleading. + 2009-11-24 Kaz Kylheku <kkylheku@gmail.com> Fix uninitialized memory locations. |