Index: include/libyuv/compare_row.h |
diff --git a/include/libyuv/compare_row.h b/include/libyuv/compare_row.h |
index f5836da11da69d5d8539a5ec43d7d4b6959c11ea..38a957b2ce331f8ff659ffe0a3b8dd8b67e2e535 100644 |
--- a/include/libyuv/compare_row.h |
+++ b/include/libyuv/compare_row.h |
@@ -22,6 +22,12 @@ extern "C" { |
(defined(__i386__) && !defined(__SSE2__)) |
#define LIBYUV_DISABLE_X86 |
#endif |
+// MemorySanitizer does not support assembly code yet. http://crbug.com/344505 |
wtc1
2016/03/16 17:24:55
Frank: do you know whether it's just inline assemb
|
+#if defined(__has_feature) |
+#if __has_feature(memory_sanitizer) |
+#define LIBYUV_DISABLE_X86 |
+#endif |
+#endif |
// Visual C 2012 required for AVX2. |
#if defined(_M_IX86) && !defined(__clang__) && \ |