Skip to content

Commit

Permalink
Fix check for __msan_keep_going in sanitizer-recover test
Browse files Browse the repository at this point in the history
Match `@__msan_keep_going = weak_odr constant i32 1`.
  • Loading branch information
tmiasko committed Mar 3, 2020
1 parent 52c5f2a commit b0e288d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/codegen/sanitizer-recover.rs
Expand Up @@ -14,8 +14,8 @@
//[MSAN-RECOVER-LTO] compile-flags: -Zsanitizer=memory -Zsanitizer-recover=memory -C lto=fat
//
// MSAN-NOT: @__msan_keep_going
// MSAN-RECOVER: @__msan_keep_going = weak_odr {{.*}} constant i32 1
// MSAN-RECOVER-LTO: @__msan_keep_going = weak_odr {{.*}} constant i32 1
// MSAN-RECOVER: @__msan_keep_going = weak_odr {{.*}}constant i32 1
// MSAN-RECOVER-LTO: @__msan_keep_going = weak_odr {{.*}}constant i32 1

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

0 comments on commit b0e288d

Please sign in to comment.