reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
    1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
; PR25902: gold plugin crash.
; RUN: opt -mtriple=i686-pc -S -lowertypetests < %s

define void @f(void ()* %p) {
entry:
  %a = bitcast void ()* %p to i8*, !nosanitize !1
  %b = call i1 @llvm.type.test(i8* %a, metadata !"_ZTSFvvE"), !nosanitize !1
  ret void
}

define void @g() !type !0 {
entry:
  ret void
}

declare i1 @llvm.type.test(i8*, metadata)

!0 = !{i64 0, !"_ZTSFvvE"}
!1 = !{}