this fixes x86_64 valgrind memcheck

This commit is contained in:
its-pointless 2019-05-09 09:41:26 +10:00 committed by Leonid Pliushch
parent d45e6079d8
commit 8862ca6771
1 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,12 @@
--- ./coregrind/vg_preloaded.c.orig 2019-05-08 23:37:08.483459377 +0000
+++ ./coregrind/vg_preloaded.c 2019-05-08 23:37:43.340001515 +0000
@@ -61,7 +61,8 @@
&& !defined(VGPV_arm_linux_android) \
&& !defined(VGPV_x86_linux_android) \
&& !defined(VGPV_mips32_linux_android) \
- && !defined(VGPV_arm64_linux_android)
+ && !defined(VGPV_arm64_linux_android) \
+ && !defined(VGPV_amd64_linux_android)
/* g++ mangled __gnu_cxx::__freeres yields -> _ZN9__gnu_cxx9__freeresEv */
extern void _ZN9__gnu_cxx9__freeresEv(void) __attribute__((weak));