Index: include/libyuv/planar_functions.h |
diff --git a/include/libyuv/planar_functions.h b/include/libyuv/planar_functions.h |
index 95870b9aea6114fed3e8b288edb7c92c229ec26b..9c19a59dfefb04aaf133409f418adeb4285aa9b0 100644 |
--- a/include/libyuv/planar_functions.h |
+++ b/include/libyuv/planar_functions.h |
@@ -447,6 +447,12 @@ int I420Interpolate(const uint8* src0_y, int src0_stride_y, |
(defined(__i386__) && !defined(__SSE2__)) |
#define LIBYUV_DISABLE_X86 |
#endif |
+// MemorySanitizer does not support assembly code yet. http://crbug.com/344505 |
+#if defined(__has_feature) |
+#if __has_feature(memory_sanitizer) |
+#define LIBYUV_DISABLE_X86 |
+#endif |
+#endif |
// The following are available on all x86 platforms: |
#if !defined(LIBYUV_DISABLE_X86) && \ |
(defined(_M_IX86) || defined(__x86_64__) || defined(__i386__)) |