[valgrind-variant] r136 committed - Fix http://code.google.com/p/valgrind-variant/issues/detail?id=5 by di...

3 views
Skip to first unread message

valgrind...@googlecode.com

unread,
Feb 3, 2012, 10:06:07 AM2/3/12
to valgrind-var...@googlegroups.com
Revision: 136
Author: ramosia...@gmail.com
Date: Fri Feb 3 07:05:12 2012
Log: Fix http://code.google.com/p/valgrind-variant/issues/detail?id=5
by disabling the memcpy/memmove wrappers on Lion.

http://code.google.com/p/valgrind-variant/source/detail?r=136

Modified:
/trunk/valgrind/memcheck/mc_replace_strmem.c

=======================================
--- /trunk/valgrind/memcheck/mc_replace_strmem.c Mon Dec 12 00:02:05 2011
+++ /trunk/valgrind/memcheck/mc_replace_strmem.c Fri Feb 3 07:05:12 2012
@@ -849,9 +849,12 @@
MEMCPY(NONE, ZuintelZufastZumemcpy)

#elif defined(VGO_darwin)
+#if DARWIN_VERS < DARWIN_10_7
// glider: see https://bugs.kde.org/show_bug.cgi?id=285662
+ // and http://code.google.com/p/valgrind-variant/issues/detail?id=5
MEMCPY(VG_Z_LIBC_SONAME, memcpy)
MEMCPY(VG_Z_DYLD, memcpy)
+#endif
MEMCPY(VG_Z_LIBC_SONAME, memcpyZDVARIANTZDsse3x) /* memcpy$VARIANT$sse3x
*/
MEMCPY(VG_Z_LIBC_SONAME, memcpyZDVARIANTZDsse42) /* memcpy$VARIANT$sse42
*/

@@ -982,9 +985,12 @@
MEMMOVE(VG_Z_LIBC_SONAME, memmove)

#elif defined(VGO_darwin)
+#if DARWIN_VERS < DARWIN_10_7
// glider: see https://bugs.kde.org/show_bug.cgi?id=285662
+ // and http://code.google.com/p/valgrind-variant/issues/detail?id=5
MEMMOVE(VG_Z_LIBC_SONAME, memmove)
MEMMOVE(VG_Z_DYLD, memmove)
+#endif
MEMMOVE(VG_Z_LIBC_SONAME, memmoveZDVARIANTZDsse3x) /*
memmove$VARIANT$sse3x */
MEMMOVE(VG_Z_LIBC_SONAME, memmoveZDVARIANTZDsse42) /*
memmove$VARIANT$sse42 */

Reply all
Reply to author
Forward
0 new messages