; RUN: opt < %s -passes=dfsan -S | FileCheck %s
target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; CHECK: module asm ".symver f1.dfsan,f.dfsan@@version1"
module asm ".symver f1,f@@version1"
; CHECK: @f2.dfsan = alias {{.*}} @f1.dfsan
@f2 = alias void (), ptr @f1
; CHECK: @g2.dfsan = alias {{.*}} @g1.dfsan
@g2 = alias void (ptr), ptr @g1
; CHECK: define void @f1.dfsan
define void @f1() {
ret void
}
; CHECK: define void @g1.dfsan
define void @g1(ptr) {
ret void
}