]> granicus.if.org Git - clang/commitdiff
Specify target in lifetime-asan test.
authorVitaly Buka <vitalybuka@google.com>
Wed, 8 Jun 2016 18:18:08 +0000 (18:18 +0000)
committerVitaly Buka <vitalybuka@google.com>
Wed, 8 Jun 2016 18:18:08 +0000 (18:18 +0000)
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

test/CodeGen/lifetime-asan.c

index 2b26b4dc4619779c20b8950c61a18d31b4f276b4..5f0c66d513de66ca1a172ca9d5d6d1e399b13d39 100644 (file)
@@ -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);