r272185 - Specify target in lifetime-asan test.

Vitaly Buka via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 8 11:18:08 PDT 2016


Author: vitalybuka
Date: Wed Jun  8 13:18:08 2016
New Revision: 272185

URL: http://llvm.org/viewvc/llvm-project?rev=272185&view=rev
Log:
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

Modified:
    cfe/trunk/test/CodeGen/lifetime-asan.c

Modified: cfe/trunk/test/CodeGen/lifetime-asan.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/lifetime-asan.c?rev=272185&r1=272184&r2=272185&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/lifetime-asan.c (original)
+++ cfe/trunk/test/CodeGen/lifetime-asan.c Wed Jun  8 13:18:08 2016
@@ -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);
 




More information about the cfe-commits mailing list