llvm.org GIT mirror llvm / release_32 test / CodeGen / X86 / extern_weak.ll
release_32

Tree @release_32 (Download .tar.gz)

extern_weak.ll @release_32

36a0947
0eb5f94
33eefff
0eb5f94
33eefff
 
 
 
 
0eb5f94
 
33eefff
 
; RUN: llc < %s -mtriple=i686-apple-darwin | grep weak_reference | count 2

@Y = global i32 (i8*)* @X               ; <i32 (i8*)**> [#uses=0]

declare extern_weak i32 @X(i8*)

define void @bar() {
        tail call void (...)* @foo( )
        ret void
}

declare extern_weak void @foo(...)