Skip to content

Commit b0e288d

Browse files
committed
Fix check for __msan_keep_going in sanitizer-recover test
Match `@__msan_keep_going = weak_odr constant i32 1`.
1 parent 52c5f2a commit b0e288d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/codegen/sanitizer-recover.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
//[MSAN-RECOVER-LTO] compile-flags: -Zsanitizer=memory -Zsanitizer-recover=memory -C lto=fat
1515
//
1616
// MSAN-NOT: @__msan_keep_going
17-
// MSAN-RECOVER: @__msan_keep_going = weak_odr {{.*}} constant i32 1
18-
// MSAN-RECOVER-LTO: @__msan_keep_going = weak_odr {{.*}} constant i32 1
17+
// MSAN-RECOVER: @__msan_keep_going = weak_odr {{.*}}constant i32 1
18+
// MSAN-RECOVER-LTO: @__msan_keep_going = weak_odr {{.*}}constant i32 1
1919

2020
// ASAN-LABEL: define i32 @penguin(
2121
// ASAN: call void @__asan_report_load4(i64 %0)

0 commit comments

Comments
 (0)