summaryrefslogtreecommitdiff
path: root/dbg_mlc.c
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2023-01-31 22:54:45 +0300
committerIvan Maidanski <ivmai@mail.ru>2023-01-31 23:02:42 +0300
commit31fa843270a83e5e93c8dee16a3654eb93a98833 (patch)
tree67f17e4e375f0d2b2c1ee2dc39b86f207c7fe6de /dbg_mlc.c
parentf6befb64d1d366f18f6d72569e179bfe7d36f4c8 (diff)
downloadbdwgc-31fa843270a83e5e93c8dee16a3654eb93a98833.tar.gz
Better document missing debugging version for aligned allocation routines
* dbg_mlc.c (GC_debug_free): Add TODO item to suppress a GC warning. * include/gc/leak_detector.h (aligned_alloc): Add comment that the debugging version is missing. * mallocx.c (GC_memalign): Add TODO item about the missing debugging version.
Diffstat (limited to 'dbg_mlc.c')
-rw-r--r--dbg_mlc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/dbg_mlc.c b/dbg_mlc.c
index d408e745..46721fa0 100644
--- a/dbg_mlc.c
+++ b/dbg_mlc.c
@@ -779,6 +779,9 @@ GC_API void GC_CALL GC_debug_free(void * p)
/* TODO: Suppress the warning if free() caller is in libpthread */
/* or libdl. */
# endif
+ /* TODO: Suppress the warning for objects allocated by */
+ /* GC_memalign and friends (these ones do not have the debugging */
+ /* counterpart). */
GC_err_printf(
"GC_debug_free called on pointer %p w/o debugging info\n", p);
} else {