From: Evgeniy Stepanov Date: Tue, 12 Apr 2016 17:51:59 +0000 (+0000) Subject: Stricter checks in the stack-protector codegen test. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c170702abde5d2ffe15dcdc8eb699f26a95c17d9;p=clang Stricter checks in the stack-protector codegen test. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@266095 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGen/stack-protector.c b/test/CodeGen/stack-protector.c index b97d814272..7a45a2f4ac 100644 --- a/test/CodeGen/stack-protector.c +++ b/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