summaryrefslogtreecommitdiff
path: root/test/CodeGen/lifetime-asan.c
diff options
context:
space:
mode:
authorVitaly Buka <vitalybuka@google.com>2016-06-08 18:18:08 +0000
committerVitaly Buka <vitalybuka@google.com>2016-06-08 18:18:08 +0000
commitc44ae68dfe353153b2f5553472f316c50f9d9f9c (patch)
tree8b5e4ba3c196beb8da0713ad096e52495a5154ee /test/CodeGen/lifetime-asan.c
parentf43f12278dd660b88a77ce56098204f133de8ec9 (diff)
downloadclang-c44ae68dfe353153b2f5553472f316c50f9d9f9c.tar.gz
Specify target in lifetime-asan test.
Summary: Some target platforms -fsanitize=address. Reviewers: pcc, eugenis Subscribers: cfe-commits, christof, chapuni, kubabrecka Differential Revision: http://reviews.llvm.org/D21117 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@272185 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/lifetime-asan.c')
-rw-r--r--test/CodeGen/lifetime-asan.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/CodeGen/lifetime-asan.c b/test/CodeGen/lifetime-asan.c
index 2b26b4dc46..5f0c66d513 100644
--- a/test/CodeGen/lifetime-asan.c
+++ b/test/CodeGen/lifetime-asan.c
@@ -1,8 +1,7 @@
-// RUN: %clang -S -emit-llvm -o - -O0 %s | FileCheck %s -check-prefix=CHECK-O0
-// RUN: %clang -S -emit-llvm -o - -O0 \
+// RUN: %clang -target x86_64-linux-gnu -S -emit-llvm -o - -O0 %s | FileCheck %s -check-prefix=CHECK-O0
+// RUN: %clang -target x86_64-linux-gnu -S -emit-llvm -o - -O0 \
// RUN: -fsanitize=address -fsanitize-address-use-after-scope %s | \
// RUN: FileCheck %s -check-prefix=CHECK-ASAN-USE-AFTER-SCOPE
-// UNSUPPORTED: mingw32
extern int bar(char *A, int n);