//
// FIXME: https://github.com/google/sanitizers/issues/316
// XFAIL: android
+//
+// This test requires the integrated assembler to be the default.
// XFAIL: target-is-mips64
+// XFAIL: target-is-mips64el
//
// RUN: %clangxx_asan -DBUILD_INSTRUMENTED_DSO=1 -fPIC -shared -mllvm -asan-use-private-alias %s -o %t-INSTRUMENTED-SO.so
// RUN: %clangxx -DBUILD_UNINSTRUMENTED_DSO=1 -fPIC -shared %s -o %t-UNINSTRUMENTED-SO.so
// FIXME: https://code.google.com/p/address-sanitizer/issues/detail?id=316
// XFAIL: android
+//
+// This test requires the integrated assembler to be the default.
// XFAIL: target-is-mips64
+// XFAIL: target-is-mips64el
//
// We use fast_unwind_on_malloc=0 to have full unwinding even w/o frame
// pointers. This setting is not on by default because it's too expensive.
// RUN: %clang_dfsan -DSTRICT_DATA_DEPENDENCIES %s -o %t && %run %t
// RUN: %clang_dfsan -DSTRICT_DATA_DEPENDENCIES -mllvm -dfsan-args-abi %s -o %t && %run %t
+// XFAIL: target-is-mips64el
+
// Tests custom implementations of various glibc functions.
#include <sanitizer/dfsan_interface.h>
// UNSUPPORTED: android
+// XFAIL: target-is-mips64el
+
#include <assert.h>
#include <stdio.h>
#include <unistd.h>
// RUN: %clangxx_msan -O0 %s -o %t && %run %t 2>&1
+// XFAIL: target-is-mips64el
+
#include <assert.h>
#include <sys/eventfd.h>
// RUN: %clangxx_msan -std=c++11 -O0 %s -o %t && %run %t
// RUN: %clangxx_msan -std=c++11 -fsanitize-memory-track-origins -O0 %s -o %t && %run %t
+// XFAIL: target-is-mips64el
+
#include <assert.h>
#include <pthread.h>
#include <stdint.h>
// RUN: %clangxx_msan -O0 -g %s -lutil -o %t && %run %t
+
+// XFAIL: target-is-mips64el
+
#include <assert.h>
#include <pty.h>
// RUN: %clangxx_msan -O0 -D_FILE_OFFSET_BITS=64 %s -o %t && %run %t %p 2>&1
// RUN: %clangxx_msan -O3 %s -o %t && %run %t %p 2>&1
+// XFAIL: target-is-mips64el
+
#include <assert.h>
#include <unistd.h>
// RUN: %clangxx_msan -O0 -D_FILE_OFFSET_BITS=64 %s -o %t && %run %t %p 2>&1 | FileCheck %s
// RUN: %clangxx_msan -O3 %s -o %t && %run %t %p 2>&1 | FileCheck %s
+// XFAIL: target-is-mips64el
+
#include <assert.h>
#include <glob.h>
#include <stdio.h>
// RUN: %clangxx_msan -O0 -D_FILE_OFFSET_BITS=64 %s -o %t && %run %t %p 2>&1 | FileCheck %s
// RUN: %clangxx_msan -O3 %s -o %t && %run %t %p 2>&1 | FileCheck %s
+// XFAIL: target-is-mips64el
+
#include <assert.h>
#include <glob.h>
#include <stdio.h>
// RUN: %clangxx_msan -O0 %s -o %t && %run %t %p
// RUN: %clangxx_msan -O3 %s -o %t && %run %t %p
+// XFAIL: target-is-mips64el
+
#include <assert.h>
#include <glob.h>
#include <stdio.h>
// RUN: %clangxx_msan -O0 -g %s -o %t && %run %t
// RUN: %clangxx_msan -O3 -g %s -o %t && %run %t
+// XFAIL: target-is-mips64el
+
#include <assert.h>
#include <fcntl.h>
#include <sound/asound.h>
// RUN: %clangxx_msan -O0 -g %s -o %t && %run %t
// REQUIRES: stable-runtime
+// XFAIL: target-is-mips64el
+
#include <assert.h>
#include <malloc.h>
// RUN: %clangxx_msan -std=c++11 -O0 %s -o %t && %run %t
+// XFAIL: target-is-mips64el
+
#include <assert.h>
#include <unistd.h>
#include <sys/mman.h>
// RUN: %clangxx_msan -O0 -g %s -o %t && %run %t
// RUN: %clangxx_msan -O0 -g -DPOSITIVE %s -o %t && not %run %t |& FileCheck %s
+// XFAIL: target-is-mips64el
+
#include <obstack.h>
#include <sanitizer/msan_interface.h>
#include <stdlib.h>
// RUN: %clangxx_msan -std=c++11 -O0 %s -o %t && %run %t
// RUN: %clangxx_msan -std=c++11 -O0 %s -o %t -DPOSITIVE && not %run %t |& FileCheck %s
+// XFAIL: target-is-mips64el
+
#include <assert.h>
#include <dlfcn.h>
#include <sanitizer/msan_interface.h>
// UNSUPPORTED: android
+// XFAIL: target-is-mips64el
+
#include <assert.h>
#include <stdio.h>
#include <unistd.h>
// RUN: %clangxx_msan -g -O0 -DTYPE=u_quad_t -DFN=xdr_u_longlong_t -DUNINIT=1 %s -o %t && \
// RUN: not %run %t 2>&1 | FileCheck %s
+// XFAIL: target-is-mips64el
+
#include <assert.h>
#include <rpc/xdr.h>
// RUN: %clangxx_msan -g -O0 -DUNINIT=1 %s -o %t && \
// RUN: not %run %t 2>&1 | FileCheck %s
+// XFAIL: target-is-mips64el
+
#include <assert.h>
#include <string.h>
#include <rpc/xdr.h>
// RUN: %clangxx_msan -g -O0 -DUNINIT=1 %s -o %t && \
// RUN: not %run %t 2>&1 | FileCheck %s
+// XFAIL: target-is-mips64el
+
#include <assert.h>
#include <string.h>
#include <rpc/xdr.h>