]> granicus.if.org Git - clang/commitdiff
[PM] Require a registered x86 target for this test which uses the x86
authorChandler Carruth <chandlerc@gmail.com>
Tue, 14 Nov 2017 05:20:03 +0000 (05:20 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Tue, 14 Nov 2017 05:20:03 +0000 (05:20 +0000)
triple.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@318137 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/bounds-checking.c

index 410afd2fba2058c11c3dbc0c0912765a3b10af04..2e6a08650dd974a147e522201a3dbaf2f0723537 100644 (file)
@@ -2,6 +2,8 @@
 // RUN: %clang_cc1 -fsanitize=local-bounds -fexperimental-new-pass-manager -emit-llvm -triple x86_64-apple-darwin10 %s -o - | FileCheck %s
 // RUN: %clang_cc1 -fsanitize=array-bounds -O -fsanitize-trap=array-bounds -emit-llvm -triple x86_64-apple-darwin10 -DNO_DYNAMIC %s -o - | FileCheck %s
 // RUN: %clang_cc1 -fsanitize=array-bounds -O -fsanitize-trap=array-bounds -fexperimental-new-pass-manager -emit-llvm -triple x86_64-apple-darwin10 -DNO_DYNAMIC %s -o - | FileCheck %s
+//
+// REQUIRES: x86-registered-target
 
 // CHECK-LABEL: @f
 double f(int b, int i) {