diff options
author | Chris Lattner <sabre@nondot.org> | 2009-06-28 19:49:49 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-06-28 19:49:49 +0000 |
commit | 877a48e67ac4d8ee39f6501d9c9eb2951d719d59 (patch) | |
tree | 171a40569ac874d5ef5a33008ea920eed62dca92 /clang | |
parent | 886448d694f3775c645e84bc85f874d8261fc25d (diff) | |
download | bcm5719-llvm-877a48e67ac4d8ee39f6501d9c9eb2951d719d59.tar.gz bcm5719-llvm-877a48e67ac4d8ee39f6501d9c9eb2951d719d59.zip |
make these tests pass with the stack canary stuff even on targets where they default to on.
llvm-svn: 74412
Diffstat (limited to 'clang')
-rw-r--r-- | clang/test/CodeGen/attributes.c | 2 | ||||
-rw-r--r-- | clang/test/CodeGen/unwind-attr.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/clang/test/CodeGen/attributes.c b/clang/test/CodeGen/attributes.c index a5de4f4b42a..8f157f3d314 100644 --- a/clang/test/CodeGen/attributes.c +++ b/clang/test/CodeGen/attributes.c @@ -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; diff --git a/clang/test/CodeGen/unwind-attr.c b/clang/test/CodeGen/unwind-attr.c index b2890c4c10d..4954a0b59ce 100644 --- a/clang/test/CodeGen/unwind-attr.c +++ b/clang/test/CodeGen/unwind-attr.c @@ -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) { } |