diff options
author | Ivan Maidanski <ivmai@mail.ru> | 2023-01-31 22:54:45 +0300 |
---|---|---|
committer | Ivan Maidanski <ivmai@mail.ru> | 2023-01-31 23:02:42 +0300 |
commit | 31fa843270a83e5e93c8dee16a3654eb93a98833 (patch) | |
tree | 67f17e4e375f0d2b2c1ee2dc39b86f207c7fe6de /dbg_mlc.c | |
parent | f6befb64d1d366f18f6d72569e179bfe7d36f4c8 (diff) | |
download | bdwgc-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.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 { |