mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-24 06:30:19 +00:00
61abf1550f
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193544 91177308-0d34-0410-b5e6-96231b3b80d8
17 lines
372 B
LLVM
17 lines
372 B
LLVM
; RUN: %lli_mcjit -extra-module=%p/cross-module-b.ir -disable-lazy-compilation=true -remote-mcjit -mcjit-remote-process=lli-child-target %s > /dev/null
|
|
|
|
; This fails because __main is not resolved in remote mcjit.
|
|
; XFAIL: cygwin,mingw32
|
|
|
|
declare i32 @FB()
|
|
|
|
define i32 @FA() {
|
|
ret i32 0
|
|
}
|
|
|
|
define i32 @main() {
|
|
%r = call i32 @FB( ) ; <i32> [#uses=1]
|
|
ret i32 %r
|
|
}
|
|
|