Home | History | Annotate | Download | only in Linker
      1 ; This file is for use with unnamed-addr1-a.ll
      2 ; RUN: true
      3 
      4 @global-c = common unnamed_addr global i32 0
      5 @global-d = unnamed_addr global i32 42
      6 @global-e = unnamed_addr global i32 42
      7 @global-f = unnamed_addr global i32 42
      8 
      9 @alias-a =  unnamed_addr alias i32, i32* @global-f
     10 @alias-b =  unnamed_addr alias i32, i32* @global-f
     11 
     12 define weak void @func-c() unnamed_addr { ret void }
     13 define weak void @func-d() unnamed_addr { ret void }
     14 define weak void @func-e() unnamed_addr { ret void }
     15 
     16 @global-g = common global i32 0
     17 @global-h = global i32 42
     18 @global-i = global i32 42
     19 @global-j = global i32 42
     20 
     21 @alias-c =  alias i32, i32* @global-f
     22 @alias-d =  alias i32, i32* @global-f
     23 
     24 define weak void @func-g() { ret void }
     25 define weak void @func-h() { ret void }
     26 define weak void @func-i() { ret void }
     27