Home | History | Annotate | Download | only in Inputs
      1 $c2 = comdat any
      2 $c1 = comdat any
      3 
      4 ; This is only present in this file. The linker will keep $c1 from the first
      5 ; file and this will be undefined.
      6 @will_be_undefined = global i32 1, comdat($c1)
      7 
      8 @v1 = weak_odr global i32 41, comdat($c2)
      9 define weak_odr protected i32 @f1(i8* %this) comdat($c2) {
     10 bb20:
     11   store i8* %this, i8** null
     12   br label %bb21
     13 bb21:
     14   ret i32 41
     15 }
     16 
     17 @r21 = global i32* @v1
     18 @r22 = global i32(i8*)* @f1
     19 
     20 @a21 = alias i32, i32* @v1
     21 @a22 = alias i16, bitcast (i32* @v1 to i16*)
     22 
     23 @a23 = alias i32(i8*), i32(i8*)* @f1
     24 @a24 = alias i16, bitcast (i32(i8*)* @f1 to i16*)
     25 @a25 = alias i16, i16* @a24
     26