summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>2016-04-12 17:51:59 +0000
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>2016-04-12 17:51:59 +0000
commitb0c887762a898e72db6b0a768a7599b1fa36dc67 (patch)
treed223467cf09e7cd8d2894bd2654d144898572c45 /clang
parentff7ac6a7b979833bd03a07261cc783d3b363c441 (diff)
downloadbcm5719-llvm-b0c887762a898e72db6b0a768a7599b1fa36dc67.tar.gz
bcm5719-llvm-b0c887762a898e72db6b0a768a7599b1fa36dc67.zip
Stricter checks in the stack-protector codegen test.
llvm-svn: 266095
Diffstat (limited to 'clang')
-rw-r--r--clang/test/CodeGen/stack-protector.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/CodeGen/stack-protector.c b/clang/test/CodeGen/stack-protector.c
index b97d8142729..7a45a2f4acf 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
OpenPOWER on IntegriCloud