about summary refs log tree commit diff
path: root/tests/assembly/stack-protector
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2023-08-08 11:34:07 +0200
committerNikita Popov <npopov@redhat.com>2023-10-02 10:37:56 +0200
commitebbc68769d1207e8036cfbff00e5b8016e9a16b7 (patch)
tree793addb5435ba4f030c3354de5b7492c79e955c8 /tests/assembly/stack-protector
parent0608fca3adec23ad95e49eec2e17a4377c7c634a (diff)
downloadrust-ebbc68769d1207e8036cfbff00e5b8016e9a16b7.tar.gz
rust-ebbc68769d1207e8036cfbff00e5b8016e9a16b7.zip
Update stack protector test
We no longer generate a protector for the strong case in this test,
which is actually the expected behavior per the test comment.
Diffstat (limited to 'tests/assembly/stack-protector')
-rw-r--r--tests/assembly/stack-protector/stack-protector-heuristics-effect.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/assembly/stack-protector/stack-protector-heuristics-effect.rs b/tests/assembly/stack-protector/stack-protector-heuristics-effect.rs
index a7c9e4845c7..91b218c7a3c 100644
--- a/tests/assembly/stack-protector/stack-protector-heuristics-effect.rs
+++ b/tests/assembly/stack-protector/stack-protector-heuristics-effect.rs
@@ -371,7 +371,7 @@ pub fn unsized_fn_param(s: [u8], l: bool, f: fn([u8])) {
 
 
     // all: __stack_chk_fail
-    // strong: __stack_chk_fail
+    // strong-NOT: __stack_chk_fail
     // basic-NOT: __stack_chk_fail
     // none-NOT: __stack_chk_fail
     // missing-NOT: __stack_chk_fail