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