Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(13)

Unified Diff: include/libyuv/compare_row.h

Issue 1805683003: disable assembly in header for msan=1 (Closed) Base URL: https://chromium.googlesource.com/libyuv/libyuv@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « README.chromium ('k') | include/libyuv/planar_functions.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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__) && \
« no previous file with comments | « README.chromium ('k') | include/libyuv/planar_functions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698