view llvm/test/Instrumentation/AddressSanitizer/twice.ll @ 221:79ff65ed7e25

LLVM12 Original
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Tue, 15 Jun 2021 19:15:29 +0900
parents 1d019706d866
children c4bab56944e8
line wrap: on
line source

; Check that the address sanitizer pass can be reused
; RUN: opt < %s -S -run-twice -asan -enable-new-pm=0
; RUN: opt < %s -S -run-twice -passes='asan-function-pipeline'

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