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

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