aboutsummaryrefslogtreecommitdiff
path: root/test/Instrumentation/AddressSanitizer/twice.ll
blob: 9f7826f739521ee9ad5abca2d54150226e4fff22 (plain) (blame)
1
2
3
4
5
6
7
8
; Check that the address sanitizer pass can be reused
; RUN: opt < %s -S -run-twice -asan

define void @foo(i64* %b) nounwind uwtable sanitize_address {
  entry:
  store i64 0, i64* %b, align 1
  ret void
}