Debian Codegraph @

llvm/test/tools/gold/X86/Inputs/comdat.ll

raw
1 target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
2 target 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)
12 define weak_odr protected i32 @f1(ptr %this) comdat($c2) {
13 bb20:
14 store ptr %this, ptr null
15 br label %bb21
16 bb21:
17 ret i32 41
18 }
19
20 @r21 = global ptr @v1
21 @r22 = global ptr @f1
22
23 @a21 = alias i32, ptr @v1
24 @a22 = alias i16, ptr @v1
25
26 @a23 = alias i32(ptr), ptr @f1
27 @a24 = alias i16, ptr @f1
28 @a25 = alias i16, ptr @a24