Skip to content

Commit 4ea0011

Browse files
committed
modified: tests/assembly-llvm/stack-protector/stack-protector-heuristics-effect-windows-32bit-2.rs
modified: tests/assembly-llvm/stack-protector/stack-protector-heuristics-effect-windows-64bit-2.rs
1 parent 7407eb1 commit 4ea0011

File tree

2 files changed

+16
-8
lines changed

2 files changed

+16
-8
lines changed

tests/assembly-llvm/stack-protector/stack-protector-heuristics-effect-windows-32bit-2.rs

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -317,8 +317,10 @@ pub unsafe extern "C" fn test18() -> i32 {
317317

318318
0
319319

320-
// all: __security_check_cookie
321-
// strong: __security_check_cookie
320+
// stack protector does not generated by LLVM because of Windows SEH.
321+
322+
// all-NOT: __security_check_cookie
323+
// strong-NOT: __security_check_cookie
322324
// none-NOT: __security_check_cookie
323325
// missing-NOT: __security_check_cookie
324326
}
@@ -332,8 +334,10 @@ pub unsafe extern "C" fn test19() -> i32 {
332334

333335
0
334336

335-
// all: __security_check_cookie
336-
// strong: __security_check_cookie
337+
// stack protector does not generated by LLVM because of Windows SEH.
338+
339+
// all-NOT: __security_check_cookie
340+
// strong-NOT: __security_check_cookie
337341
// none-NOT: __security_check_cookie
338342
// missing-NOT: __security_check_cookie
339343
}

tests/assembly-llvm/stack-protector/stack-protector-heuristics-effect-windows-64bit-2.rs

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -316,8 +316,10 @@ pub unsafe extern "C" fn test18() -> i32 {
316316

317317
0
318318

319-
// all: __security_check_cookie
320-
// strong: __security_check_cookie
319+
// stack protector does not generated by LLVM because of Windows SEH.
320+
321+
// all-NOT: __security_check_cookie
322+
// strong-NOT: __security_check_cookie
321323
// none-NOT: __security_check_cookie
322324
// missing-NOT: __security_check_cookie
323325
}
@@ -331,8 +333,10 @@ pub unsafe extern "C" fn test19() -> i32 {
331333

332334
0
333335

334-
// all: __security_check_cookie
335-
// strong: __security_check_cookie
336+
// stack protector does not generated by LLVM because of Windows SEH.
337+
338+
// all-NOT: __security_check_cookie
339+
// strong-NOT: __security_check_cookie
336340
// none-NOT: __security_check_cookie
337341
// missing-NOT: __security_check_cookie
338342
}

0 commit comments

Comments
 (0)