aboutsummaryrefslogtreecommitdiffstats
path: root/test/ExecutionEngine/OrcMCJIT/remote/cross-module-a.ll
blob: 16553ebd2adefbf7db0a6204040ff8f7b464fe6f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
; RUN: %lli -jit-kind=orc-mcjit -extra-module=%p/Inputs/cross-module-b.ll -disable-lazy-compilation=true -remote-mcjit -mcjit-remote-process=lli-child-target%exeext %s > /dev/null

declare i32 @FB()

define i32 @FA() nounwind {
  ret i32 0
}

define i32 @main() nounwind {
  %r = call i32 @FB( )   ; <i32> [#uses=1]
  ret i32 %r
}