summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/stack-protector.c
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2013-02-20 19:30:01 +0000
committerBill Wendling <isanbard@gmail.com>2013-02-20 19:30:01 +0000
commit4467d79ad4e477b6aec02b9886b4434affa7de2a (patch)
treeba3f7dda0de168d4202e50953d27253532ab81c7 /clang/test/CodeGen/stack-protector.c
parentf857cd7518ddde3e74aa9eb37b69c8fc248807c5 (diff)
downloadbcm5719-llvm-4467d79ad4e477b6aec02b9886b4434affa7de2a.tar.gz
bcm5719-llvm-4467d79ad4e477b6aec02b9886b4434affa7de2a.zip
Attempt to clean up tests for non-X86 platforms.
llvm-svn: 175652
Diffstat (limited to 'clang/test/CodeGen/stack-protector.c')
-rw-r--r--clang/test/CodeGen/stack-protector.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/clang/test/CodeGen/stack-protector.c b/clang/test/CodeGen/stack-protector.c
index b4e20cd15df..e47e5b321b6 100644
--- a/clang/test/CodeGen/stack-protector.c
+++ b/clang/test/CodeGen/stack-protector.c
@@ -17,14 +17,8 @@ void test1(const char *msg) {
printf("%s\n", a);
}
-// NOSSP: attributes #0 = { nounwind "target-features"={{.*}} }
-// NOSSP: attributes #1 = { "target-features"={{.*}} }
-// NOSSP: attributes #2 = { nounwind }
+// NOSSP: attributes #{{.*}} = { nounwind{{.*}} }
-// WITHSSP: attributes #0 = { nounwind ssp "target-features"={{.*}} }
-// WITHSSP: attributes #1 = { "target-features"={{.*}} }
-// WITHSSP: attributes #2 = { nounwind }
+// WITHSSP: attributes #{{.*}} = { nounwind ssp{{.*}} }
-// SSPREQ: attributes #0 = { nounwind sspreq "target-features"={{.*}} }
-// SSPREQ: attributes #1 = { "target-features"={{.*}} }
-// SSPREQ: attributes #2 = { nounwind }
+// SSPREQ: attributes #{{.*}} = { nounwind sspreq{{.*}} }
OpenPOWER on IntegriCloud