summaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2009-11-25 14:17:39 -0800
committerKaz Kylheku <kaz@kylheku.com>2009-11-25 14:17:39 -0800
commit52ae14f4f4f788947c3b5ec3b7b2892b50499690 (patch)
treea6c60cf34656caf2204c36b64a4573e1579bdabb /ChangeLog
parentf95e76d93a4dbf27e15ca01f4e8b0ab7d3132a81 (diff)
downloadtxr-52ae14f4f4f788947c3b5ec3b7b2892b50499690.tar.gz
txr-52ae14f4f4f788947c3b5ec3b7b2892b50499690.tar.bz2
txr-52ae14f4f4f788947c3b5ec3b7b2892b50499690.zip
More valgrind integration. Vector objects keep displaced pointers
to vector data; they point to element 0 which is actually the third element of the vector. If an object is only referenced by interior pointers, Valgrind reports it as possibly leaked. This change conditionally adds a pointer to the true start of the vector, if Valgrind support is enabled.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog13
1 files changed, 13 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 12d02a11..2f51b4c9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,18 @@
2009-11-25 Kaz Kylheku <kkylheku@gmail.com>
+ More valgrind integration. Vector objects keep displaced pointers
+ to vector data; they point to element 0 which is actually the third
+ element of the vector. If an object is only referenced by interior
+ pointers, Valgrind reports it as possibly leaked. This change
+ conditionally adds a pointer to the true start of the vector,
+ if Valgrind support is enabled.
+
+ * lib.h (struct vec): vec_true_start, new member.
+
+ * lib.c (vector, vec_set_fill): Maintain vec_true_start.
+
+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.