From: Rhys Kidd Date: Sat, 15 Aug 2015 11:40:27 +0000 (+0000) Subject: Preliminary OS X memalign() shim work, although this specific regression test remains... X-Git-Tag: svn/VALGRIND_3_11_0~105 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=74d7f1cdfadd00a7a81b668a349ec24a26d0051e;p=thirdparty%2Fvalgrind.git Preliminary OS X memalign() shim work, although this specific regression test remains guarded due to clang build issues with _randArray. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15552 --- diff --git a/none/tests/amd64/avx2-1.c b/none/tests/amd64/avx2-1.c index c9509d666f..b04d05b58d 100644 --- a/none/tests/amd64/avx2-1.c +++ b/none/tests/amd64/avx2-1.c @@ -2,7 +2,7 @@ #include #include #include -#include +#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); \