[PATCH] D21082: Do not assume that -fsanitize=address is valid option in clang tests
Christof Douma via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 7 09:37:51 PDT 2016
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);
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D21082.59900.patch
Type: text/x-patch
Size: 447 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160607/5f18f748/attachment.bin>
More information about the cfe-commits
mailing list