aboutsummaryrefslogtreecommitdiff
path: root/none
diff options
context:
space:
mode:
authorrhyskidd <rhyskidd@a5019735-40e9-0310-863c-91ae7b9d1cf9>2015-08-15 11:40:27 +0000
committerrhyskidd <rhyskidd@a5019735-40e9-0310-863c-91ae7b9d1cf9>2015-08-15 11:40:27 +0000
commit917ca31cf6b0d1f92c7168f5557b1dba8fd25253 (patch)
treef4c3166df9ff34101a7e28070a237b2adc7e67fa /none
parent07d0c9e54b7fed470ab3363bdf3ba0a8ffec9cb7 (diff)
downloadvalgrind-917ca31cf6b0d1f92c7168f5557b1dba8fd25253.tar.gz
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 a5019735-40e9-0310-863c-91ae7b9d1cf9
Diffstat (limited to 'none')
-rw-r--r--none/tests/amd64/avx2-1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/none/tests/amd64/avx2-1.c b/none/tests/amd64/avx2-1.c
index c9509d666..b04d05b58 100644
--- a/none/tests/amd64/avx2-1.c
+++ b/none/tests/amd64/avx2-1.c
@@ -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); \