Update sanitizer test

This commit is contained in:
Nathan Corbyn 2020-06-15 11:12:19 +01:00
parent babda9470e
commit e8e0a0e4e2

View file

@ -13,7 +13,7 @@
#![feature(no_sanitize)]
// ASAN-LABEL: define void @test
// ASAN: tail call fastcc
// ASAN: call {{.*}} @random_inline
// ASAN: }
//
// LSAN-LABEL: define void @test
@ -26,6 +26,7 @@ pub fn test(n: &mut u32) {
#[no_sanitize(address)]
#[inline]
#[no_mangle]
pub fn random_inline(n: &mut u32) {
*n = 42;
}