]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Preliminary OS X memalign() shim work, although this specific regression test remains...
authorRhys Kidd <rhyskidd@gmail.com>
Sat, 15 Aug 2015 11:40:27 +0000 (11:40 +0000)
committerRhys Kidd <rhyskidd@gmail.com>
Sat, 15 Aug 2015 11:40:27 +0000 (11:40 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15552

none/tests/amd64/avx2-1.c

index c9509d666f08d7905185bc5628b1a37748bf3066..b04d05b58d9e81371f0487f818873b270daafb4d 100644 (file)
@@ -2,7 +2,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <assert.h>
-#include <malloc.h>
+#include "tests/malloc.h"
 
 typedef  unsigned char           UChar;
 typedef  unsigned int            UInt;
@@ -65,7 +65,7 @@ void randBlock ( Block* b )
     \
     __attribute__ ((noinline)) static void test_##_name ( void )   \
     { \
-       Block* b = memalign(32, sizeof(Block)); \
+       Block* b = memalign32(sizeof(Block)); \
        randBlock(b); \
        printf("%s(reg)\n", #_name); \
        showBlock("before", b); \