llvm-project/llvm/test/ExecutionEngine/MCJIT/remote/cross-module-a.ll

13 lines
311 B
LLVM

; RUN: %lli -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
}