1; Check that the address sanitizer pass can be reused
2; RUN: opt < %s -S -run-twice -asan -enable-new-pm=0
3; RUN: opt < %s -S -run-twice -passes='asan-function-pipeline'
4
5define void @foo(i64* %b) nounwind uwtable sanitize_address {
6 entry:
7 store i64 0, i64* %b, align 1
8 ret void
9}
10