1 $c1 = comdat any 2 3 ; Variables 4 @v1 = weak hidden global i32 0 5 @v2 = weak protected global i32 0 6 @v3 = weak hidden global i32 0 7 @v4 = hidden global i32 1, comdat($c1) 8 9 ; Aliases 10 @a1 = weak hidden alias i32, i32* @v1 11 @a2 = weak protected alias i32, i32* @v2 12 @a3 = weak hidden alias i32, i32* @v3 13 14 ; Functions 15 define weak hidden void @f1() { 16 entry: 17 ret void 18 } 19 define weak protected void @f2() { 20 entry: 21 ret void 22 } 23 define weak hidden void @f3() { 24 entry: 25 ret void 26 } 27