|
From: <sv...@va...> - 2015-10-04 09:23:15
|
Author: rhyskidd
Date: Sun Oct 4 10:23:07 2015
New Revision: 15698
Log:
Plumb malloc_zone_memalign() through malloc_zone_t struct on OS X. No regressions.
Modified:
trunk/coregrind/m_replacemalloc/vg_replace_malloc.c
Modified: trunk/coregrind/m_replacemalloc/vg_replace_malloc.c
==============================================================================
--- trunk/coregrind/m_replacemalloc/vg_replace_malloc.c (original)
+++ trunk/coregrind/m_replacemalloc/vg_replace_malloc.c Sun Oct 4 10:23:07 2015
@@ -1181,7 +1181,7 @@
NULL, // batch_free
NULL, // GrP fixme: introspect
2, // version (GrP fixme 3?)
- NULL, /* memalign */ // DDD: this field exists in Mac OS 10.6, but not 10.5.
+ (void*)VG_REPLACE_FUNCTION_EZU(10100,VG_Z_LIBC_SONAME,malloc_zone_memalign), // DDD: this field exists in Mac OS 10.6+
NULL, /* free_definite_size */
NULL, /* pressure_relief */
};
|