From 4467d79ad4e477b6aec02b9886b4434affa7de2a Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Wed, 20 Feb 2013 19:30:01 +0000 Subject: Attempt to clean up tests for non-X86 platforms. llvm-svn: 175652 --- clang/test/CodeGen/stack-protector.c | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'clang/test/CodeGen/stack-protector.c') 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{{.*}} } -- cgit v1.2.3