]> granicus.if.org Git - clang/commitdiff
make these tests pass with the stack canary stuff even on targets where they default...
authorChris Lattner <sabre@nondot.org>
Sun, 28 Jun 2009 19:49:49 +0000 (19:49 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 28 Jun 2009 19:49:49 +0000 (19:49 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74412 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/attributes.c
test/CodeGen/unwind-attr.c

index a5de4f4b42a2a1bf7f5225c815b8625fc54e5a8b..8f157f3d314b1fbc535b6f949da9504bc66e0ac5 100644 (file)
@@ -60,7 +60,7 @@ int t17() {
 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;
index b2890c4c10de80eae7bb2cc4eef4267563127223..4954a0b59ce45afd605ba03cc2f68c52ca830cca 100644 (file)
@@ -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) {
 }