llvm.org GIT mirror llvm / release_40 test / Linker / unnamed-addr1-b.ll
release_40

Tree @release_40 (Download .tar.gz)

unnamed-addr1-b.ll @release_40

c2a94da
 
 
06a533c
254f750
 
 
ba7c38c
21f77df
 
6fd1b8e
6947f10
 
 
 
06a533c
254f750
 
 
6947f10
21f77df
 
6fd1b8e
6947f10
 
 
; This file is for use with unnamed-addr1-a.ll
; RUN: true

@global-c = common unnamed_addr global i32 0
@global-d = unnamed_addr global i32 42
@global-e = unnamed_addr global i32 42
@global-f = unnamed_addr global i32 42

@alias-a =  unnamed_addr alias i32, i32* @global-f
@alias-b =  unnamed_addr alias i32, i32* @global-f

define weak void @func-c() unnamed_addr { ret void }
define weak void @func-d() unnamed_addr { ret void }
define weak void @func-e() unnamed_addr { ret void }

@global-g = common global i32 0
@global-h = global i32 42
@global-i = global i32 42
@global-j = global i32 42

@alias-c =  alias i32, i32* @global-f
@alias-d =  alias i32, i32* @global-f

define weak void @func-g() { ret void }
define weak void @func-h() { ret void }
define weak void @func-i() { ret void }