christof created this revision.
christof added reviewers: vitalybuka, chapuni.
christof added a subscriber: cfe-commits.
christof set the repository for this revision to rL LLVM.

The asan tests should only run on builds that have LLVM_USE_SANITIZER set. The 
feature 'asan' reflects this and is required for test/CodeGen/lifetime-asan.c

Repository:
  rL LLVM

http://reviews.llvm.org/D21082

Files:
  test/CodeGen/lifetime-asan.c

Index: test/CodeGen/lifetime-asan.c
===================================================================
--- test/CodeGen/lifetime-asan.c
+++ test/CodeGen/lifetime-asan.c
@@ -2,6 +2,7 @@
 // RUN: %clang -S -emit-llvm -o - -O0 \
 // RUN:     -fsanitize=address -fsanitize-address-use-after-scope %s | \
 // RUN:     FileCheck %s -check-prefix=CHECK-ASAN-USE-AFTER-SCOPE
+// REQUIRES: asan
 // UNSUPPORTED: mingw32
 
 extern int bar(char *A, int n);


Index: test/CodeGen/lifetime-asan.c
===================================================================
--- test/CodeGen/lifetime-asan.c
+++ test/CodeGen/lifetime-asan.c
@@ -2,6 +2,7 @@
 // RUN: %clang -S -emit-llvm -o - -O0 \
 // RUN:     -fsanitize=address -fsanitize-address-use-after-scope %s | \
 // RUN:     FileCheck %s -check-prefix=CHECK-ASAN-USE-AFTER-SCOPE
+// REQUIRES: asan
 // UNSUPPORTED: mingw32
 
 extern int bar(char *A, int n);
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to