[cfe-commits] r74412 - in /cfe/trunk/test/CodeGen: attributes.c unwind-attr.c
Chris Lattner
sabre at nondot.org
Sun Jun 28 12:49:51 PDT 2009
Author: lattner
Date: Sun Jun 28 14:49:49 2009
New Revision: 74412
URL: http://llvm.org/viewvc/llvm-project?rev=74412&view=rev
Log:
make these tests pass with the stack canary stuff even on targets where they default to on.
Modified:
cfe/trunk/test/CodeGen/attributes.c
cfe/trunk/test/CodeGen/unwind-attr.c
Modified: cfe/trunk/test/CodeGen/attributes.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/attributes.c?rev=74412&r1=74411&r2=74412&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/attributes.c (original)
+++ cfe/trunk/test/CodeGen/attributes.c Sun Jun 28 14:49:49 2009
@@ -60,7 +60,7 @@
extern int t18 __attribute__((weak_import));
int t18 = 1;
-// RUN: grep 'define i[0-9]* @t19() nounwind {' %t &&
+// RUN: grep 'define i[0-9]* @t19()' %t &&
extern int t19(void) __attribute__((weak_import));
int t19(void) {
return 10;
Modified: cfe/trunk/test/CodeGen/unwind-attr.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/unwind-attr.c?rev=74412&r1=74411&r2=74412&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/unwind-attr.c (original)
+++ cfe/trunk/test/CodeGen/unwind-attr.c Sun Jun 28 14:49:49 2009
@@ -1,5 +1,5 @@
-// RUN: clang-cc -fexceptions -emit-llvm -o - %s | grep "@foo() {" | count 1 &&
-// RUN: clang-cc -emit-llvm -o - %s | grep "@foo() nounwind {" | count 1
+// RUN: clang-cc -fexceptions -emit-llvm -o - %s | grep "@foo()" | not grep nounwind &&
+// RUN: clang-cc -emit-llvm -o - %s | grep "@foo()" | grep nounwind
int foo(void) {
}
More information about the cfe-commits
mailing list