# in expansion of %t cause the compiler to overwrite .lib and .exp files.
# Test does not complete on Armv7 Thumb build bot
-UNSUPPORTED: target={{.*thumb.*}}
+UNSUPPORTED: target=thumb{{.*}}
RUN: %cpp_compiler -O0 %S/SimpleTest.cpp -o %t-SimpleTest.exe -mllvm -use-unknown-locations=Disable
RUN: %cpp_compiler -O0 %S/ShrinkControlFlowTest.cpp -o %t-ShrinkControlFlowTest.exe
// XFAIL: ubsan
// THUMB starts background thead only for Asan.
-// XFAIL: target={{.*thumb.*}} && !asan
+// XFAIL: target=thumb{{.*}} && !asan
// https://github.com/google/sanitizers/issues/981
// UNSUPPORTED: android-26
// UNSUPPORTED: target=s390x{{.*}}
// Similar to D114934, something is broken with background thread on THUMB and Asan.
-// XFAIL: target={{.*thumb.*}} && asan
+// XFAIL: target=thumb{{.*}} && asan
#include <sanitizer/common_interface_defs.h>
// UNSUPPORTED: target={{.*(freebsd|solaris).*}}, darwin
// THUMB starts background thead only for Asan.
-// XFAIL: target={{.*thumb.*}} && !asan
+// XFAIL: target=thumb{{.*}} && !asan
#include <string.h>
#include <stdio.h>
// Tests trace pc guard coverage collection.
// REQUIRES: has_sancovcc
-// UNSUPPORTED: ubsan,target={{(powerpc64|s390x).*}},target={{.*thumb.*}}
+// UNSUPPORTED: ubsan,target={{(powerpc64|s390x|thumb).*}}
// XFAIL: tsan,darwin
// XFAIL: android && asan
// Tests trace pc guard coverage collection.
// REQUIRES: has_sancovcc
-// UNSUPPORTED: ubsan,i386-darwin,target={{(powerpc64|s390x).*}},target={{.*thumb.*}}
+// UNSUPPORTED: ubsan,i386-darwin,target={{(powerpc64|s390x|thumb).*}}
// XFAIL: tsan
// XFAIL: android && asan
/// Fast unwinder does not work with Thumb code
-// UNSUPPORTED: target={{.*thumb.*}}
+// UNSUPPORTED: target=thumb{{.*}}
// UNSUPPORTED: android
// RUN: %clangxx -fsanitize=return %gmlt -O2 -fno-omit-frame-pointer -fasynchronous-unwind-tables %s -o %t