diff options
author | Frank Barchard <fbarchard@google.com> | 2016-03-15 18:45:38 -0700 |
---|---|---|
committer | Frank Barchard <fbarchard@google.com> | 2016-03-15 18:45:38 -0700 |
commit | 837aa1e2af6c3e7c9e1d6bc240052139c71d2b38 (patch) | |
tree | bf70de0aad111efcb48ce1881d18f73ab7e480a0 /include/libyuv/planar_functions.h | |
parent | e336f9941c33e42efdfe0ba2183c78f2e9e4096d (diff) | |
download | libyuv-837aa1e2af6c3e7c9e1d6bc240052139c71d2b38.tar.gz |
disable assembly in header for msan=1
GYP_DEFINES="target_arch=x64 msan=1" ./gyp_libyuv
ninja -j7 -C out/Release
R=impjdi@google.com
BUG=libyuv:575
Review URL: https://codereview.chromium.org/1805683003 .
Diffstat (limited to 'include/libyuv/planar_functions.h')
-rw-r--r-- | include/libyuv/planar_functions.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/libyuv/planar_functions.h b/include/libyuv/planar_functions.h index 95870b9a..9c19a59d 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__)) |