Re: [Valgrind-users] [exim-dev] [Bug 1050] [PATCH] Portability fixes for memcheck.h.

2011-01-11 Thread David Woodhouse
On Tue, 2011-01-11 at 15:12 +, Tony Finch wrote: Exim doesn't compile with Sun or HP CC since Valgrind support was added. Although valgrind.h protects against usage on unsupported platforms, memcheck.h uses the __extension__() macro without checking. Remove all uses since

Re: [Valgrind-users] Slowness using Valgrind mempool macros

2010-10-28 Thread David Woodhouse
. But then I concluded that the mempool tracking is broken anyway, so stopped bothering with it. (Bug 254420) -- David WoodhouseOpen Source Technology Centre david.woodho...@intel.com Intel Corporation

[Valgrind-users] Mempool annotation for glib/gslice

2010-10-12 Thread David Woodhouse
The glib library has a memory pool / slab allocator of its own. Mostly when running glib programs under Valgrind, we bypass it completely by setting GSLICE=always_malloc. However, that's not optimal -- partly because it papers over the cases where a program allocates using g_slice and then