diff options
author | sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> | 2014-10-17 15:07:37 +0000 |
---|---|---|
committer | sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> | 2014-10-17 15:07:37 +0000 |
commit | eb86ddab35602995b31767f72a2babb6a692c3f3 (patch) | |
tree | 916dd1d2323fdc4d4bc9900c88507ea25c192f34 /shared | |
parent | 19e2c940824d7f7524b25f338737d286eda7812b (diff) | |
download | valgrind-eb86ddab35602995b31767f72a2babb6a692c3f3.tar.gz |
Add intercepts on MacOS 10.9 for
libsystem_c.dylib:strrchr
libsystem_platform.dylib:_platform_memmove$VARIANT$Ivybridge
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14635 a5019735-40e9-0310-863c-91ae7b9d1cf9
Diffstat (limited to 'shared')
-rw-r--r-- | shared/vg_replace_strmem.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/shared/vg_replace_strmem.c b/shared/vg_replace_strmem.c index 856ba206e..addf1fae6 100644 --- a/shared/vg_replace_strmem.c +++ b/shared/vg_replace_strmem.c @@ -204,6 +204,9 @@ static inline void my_exit ( int x ) //STRRCHR(VG_Z_DYLD, strrchr) //STRRCHR(VG_Z_DYLD, rindex) STRRCHR(VG_Z_LIBC_SONAME, strrchr) +# if DARWIN_VERS == DARWIN_10_9 + STRRCHR(libsystemZucZddylib, strrchr) +# endif #endif @@ -1115,7 +1118,10 @@ static inline void my_exit ( int x ) # endif MEMMOVE(VG_Z_LIBC_SONAME, memmoveZDVARIANTZDsse3x) /* memmove$VARIANT$sse3x */ MEMMOVE(VG_Z_LIBC_SONAME, memmoveZDVARIANTZDsse42) /* memmove$VARIANT$sse42 */ - +# if DARWIN_VERS == DARWIN_10_9 + /* _platform_memmove$VARIANT$Nehalem */ + MEMMOVE(libsystemZuplatformZddylib, ZuplatformZumemmoveZDVARIANTZDIvybridge) +# endif #endif |