From: Martin Willi Date: Mon, 6 May 2013 13:15:58 +0000 (+0200) Subject: Merge branch 'leak-detective-dlsym' X-Git-Tag: 5.1.0dr1~155 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b4e9f74e428ab0f3026df4175d133b81b16c9d56;p=thirdparty%2Fstrongswan.git Merge branch 'leak-detective-dlsym' Replaces the use of deprecated glibc malloc hooks by overloading malloc calls and find the originals using dlsym(RTLD_NEXT). On OS X, we now support the use of leak detective by changing the default malloc zone functions, backtraces get resolved using atos. It seems that the performance bottleneck now is stack unwinding. Unfortunately a new libunwind based backtrace() is not much faster than the libc variant; we keep that option nonetheless for platforms without backtrace(). --- b4e9f74e428ab0f3026df4175d133b81b16c9d56