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