You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.207
Former-commit-id: 3b152f462918d427ce18620a2cbe4f8b79650449
This commit is contained in:
parent
8e12397d70
commit
eb85e2fc17
@ -1,20 +0,0 @@
|
||||
; @f and @g are lazily linked. @f requires @g - ensure @g is correctly linked.
|
||||
|
||||
; RUN: echo "declare i32 @f(i32)" > %t.1.ll
|
||||
; RUN: echo "define i32 @h(i32 %x) {" >> %t.1.ll
|
||||
; RUN: echo " %1 = call i32 @f(i32 %x)" >> %t.1.ll
|
||||
; RUN: echo " ret i32 %1" >> %t.1.ll
|
||||
; RUN: echo "}" >> %t.1.ll
|
||||
; RUN: llvm-as < %t.1.ll > %t.1.bc
|
||||
; RUN: llvm-as < %s > %t.2.bc
|
||||
; RUN: llvm-link %t.1.bc %t.2.bc
|
||||
|
||||
define available_externally i32 @f(i32 %x) {
|
||||
%1 = call i32 @g(i32 %x)
|
||||
ret i32 %1
|
||||
}
|
||||
|
||||
define available_externally i32 @g(i32 %x) {
|
||||
ret i32 5
|
||||
}
|
||||
|
Reference in New Issue
Block a user