[PATCH] D21117: Specify target in lifetime-asan test.

Vitaly Buka via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 7 20:09:11 PDT 2016


vitalybuka created this revision.
vitalybuka added reviewers: pcc, eugenis.
vitalybuka added subscribers: kubabrecka, chapuni, christof, cfe-commits.

Some target platforms -fsanitize=address.

http://reviews.llvm.org/D21117

Files:
  test/CodeGen/lifetime-asan.c

Index: test/CodeGen/lifetime-asan.c
===================================================================
--- test/CodeGen/lifetime-asan.c
+++ 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);
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D21117.59987.patch
Type: text/x-patch
Size: 681 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160608/11f88a1a/attachment.bin>


More information about the cfe-commits mailing list