[PATCH] D26763: [compiler-rt] [asan] Use __SSE2__ (rather than __i686__...) for SSE2 test
Michał Górny via cfe-commits
cfe-commits at lists.llvm.org
Thu Nov 17 10:51:41 PST 2016
This revision was automatically updated to reflect the committed changes.
Closed by commit rL287245: [tests] Use __SSE2__ (rather than __i686__...) for SSE2 ASAN test (authored by mgorny).
Changed prior to commit:
https://reviews.llvm.org/D26763?vs=78245&id=78391#toc
Repository:
rL LLVM
https://reviews.llvm.org/D26763
Files:
compiler-rt/trunk/lib/asan/tests/asan_test.cc
Index: compiler-rt/trunk/lib/asan/tests/asan_test.cc
===================================================================
--- compiler-rt/trunk/lib/asan/tests/asan_test.cc
+++ compiler-rt/trunk/lib/asan/tests/asan_test.cc
@@ -692,7 +692,7 @@
PTHREAD_JOIN(t, 0);
}
-#if defined(__i686__) || defined(__x86_64__)
+#if defined(__SSE2__)
#include <emmintrin.h>
TEST(AddressSanitizer, Store128Test) {
char *a = Ident((char*)malloc(Ident(12)));
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D26763.78391.patch
Type: text/x-patch
Size: 448 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20161117/4042174e/attachment.bin>
More information about the cfe-commits
mailing list