Skip to content

Commit 5fabb95

Browse files
committed
Merge branch 'stable_ssp' of https://github.com/cezarbbb/rust into stable_ssp
2 parents 6acf262 + 2dd3008 commit 5fabb95

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -310,6 +310,8 @@ pub fn test16() {
310310
// CHECK-LABEL: test18{{:|\[}}
311311
#[no_mangle]
312312
pub unsafe extern "C" fn test18() -> i32 {
313+
// CHECK-DAG: .seh_endprologue
314+
313315
let mut a: i32 = 0;
314316

315317
except(&mut a as *mut i32);
@@ -322,11 +324,15 @@ pub unsafe extern "C" fn test18() -> i32 {
322324
// strong-NOT: __security_check_cookie
323325
// none-NOT: __security_check_cookie
324326
// missing-NOT: __security_check_cookie
327+
328+
// CHECK-DAG: .seh_endproc
325329
}
326330

327331
// CHECK-LABEL: test19{{:|\[}}
328332
#[no_mangle]
329333
pub unsafe extern "C" fn test19() -> i32 {
334+
// CHECK-DAG: .seh_endprologue
335+
330336
let mut c = Pair { a: 0, b: 0 };
331337

332338
except(&mut c.a as *mut i32);
@@ -339,6 +345,8 @@ pub unsafe extern "C" fn test19() -> i32 {
339345
// strong-NOT: __security_check_cookie
340346
// none-NOT: __security_check_cookie
341347
// missing-NOT: __security_check_cookie
348+
349+
// CHECK-DAG: .seh_endproc
342350
}
343351

344352
// CHECK-LABEL: test20{{:|\[}}

0 commit comments

Comments
 (0)