From b0c887762a898e72db6b0a768a7599b1fa36dc67 Mon Sep 17 00:00:00 2001 From: Evgeniy Stepanov Date: Tue, 12 Apr 2016 17:51:59 +0000 Subject: [PATCH] Stricter checks in the stack-protector codegen test. llvm-svn: 266095 --- clang/test/CodeGen/stack-protector.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clang/test/CodeGen/stack-protector.c b/clang/test/CodeGen/stack-protector.c index b97d814..7a45a2f 100644 --- a/clang/test/CodeGen/stack-protector.c +++ b/clang/test/CodeGen/stack-protector.c @@ -23,13 +23,13 @@ void test1(const char *msg) { } // NOSSP-NOT: attributes #[[A]] = {{.*}} ssp -// SSP: attributes #[[A]] = {{.*}} ssp +// SSP: attributes #[[A]] = {{.*}} ssp{{ }} // SSPSTRONG: attributes #[[A]] = {{.*}} sspstrong // SSPREQ: attributes #[[A]] = {{.*}} sspreq // SAFESTACK-NOSSP: attributes #[[A]] = {{.*}} safestack // SAFESTACK-NOSSP-NOT: ssp -// SAFESTACK-SSP: attributes #[[A]] = {{.*}} safestack ssp +// SAFESTACK-SSP: attributes #[[A]] = {{.*}} safestack ssp{{ }} // SAFESTACK-SSPSTRONG: attributes #[[A]] = {{.*}} safestack sspstrong // SAFESTACK-SSPREQ: attributes #[[A]] = {{.*}} safestack sspreq -- 2.7.4