From: Leonard Chan Date: Wed, 20 Feb 2019 05:07:14 +0000 (+0000) Subject: Limit new PM tests to X86 registered targets. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d56b646fb43d65b7141d711b907397fc11dbdbef;p=clang Limit new PM tests to X86 registered targets. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@354435 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Driver/msan.c b/test/Driver/msan.c index 92b47ad4ce..18ef2a96ca 100644 --- a/test/Driver/msan.c +++ b/test/Driver/msan.c @@ -1,3 +1,5 @@ +// REQUIRES: x86-registered-target + // RUN: %clang -target x86_64-unknown-linux -fsanitize=memory %s -S -emit-llvm -o - | FileCheck %s --check-prefix=CHECK-MSAN // RUN: %clang -O1 -target x86_64-unknown-linux -fsanitize=memory %s -S -emit-llvm -o - | FileCheck %s --check-prefix=CHECK-MSAN // RUN: %clang -O2 -target x86_64-unknown-linux -fsanitize=memory %s -S -emit-llvm -o - | FileCheck %s --check-prefix=CHECK-MSAN @@ -22,9 +24,6 @@ // RUN: %clang -O2 -target x86_64-unknown-linux -fexperimental-new-pass-manager -fsanitize=memory %s -S -emit-llvm -o - | FileCheck %s --check-prefix=CHECK-MSAN // RUN: %clang -O3 -target x86_64-unknown-linux -fexperimental-new-pass-manager -fsanitize=memory %s -S -emit-llvm -o - | FileCheck %s --check-prefix=CHECK-MSAN -// RUN: %clang -fexperimental-new-pass-manager -target powerpc64-unknown-linux-gnu -fsanitize=memory %s -S -emit-llvm -o - | FileCheck %s --check-prefix=CHECK-MSAN -// RUN: %clang -fexperimental-new-pass-manager -target powerpc64le-unknown-linux-gnu -fsanitize=memory %s -S -emit-llvm -o - | FileCheck %s --check-prefix=CHECK-MSAN - int foo(int *a) { return *a; } // CHECK-MSAN: __msan_init // CHECK-KMSAN: __msan_get_context_state diff --git a/test/Driver/tsan.c b/test/Driver/tsan.c index 1633752348..ea88f87450 100644 --- a/test/Driver/tsan.c +++ b/test/Driver/tsan.c @@ -1,3 +1,5 @@ +// REQUIRES: x86-registered-target + // RUN: %clang -target x86_64-unknown-linux -fsanitize=thread %s -S -emit-llvm -o - | FileCheck %s // RUN: %clang -O1 -target x86_64-unknown-linux -fsanitize=thread %s -S -emit-llvm -o - | FileCheck %s // RUN: %clang -O2 -target x86_64-unknown-linux -fsanitize=thread %s -S -emit-llvm -o - | FileCheck %s